參數(shù)資料
型號: X24C01
英文描述: Serial EEPROM(二線接口串行EEPROM(128×8))
中文描述: 串行EEPROM(二線接口串行EEPROM中(128 × 8))
文件頁數(shù): 2/6頁
文件大?。?/td> 24K
代理商: X24C01
Xicor Application Note
AN33
AN33-2
******************************************************************************
* THIS CODE WAS DESIGNED TO DEMONSTRATE HOW THE XICOR X24C01 COULD *
* BE INTERFACED TO THE 68HC11 MICROCONTROLLER. THE INTERFACE USES 2 LINES *
* FROM PORT D (PD0 AND PD1) TO COMMUNICATE. *
* *
* THE CODE SHOWN DEMONSTRATES A 'RANDOM READ' AND 'BYTE WRITE'. THE OTHER *
* MODES OF OPERATION CAN BE CREATED BY EXPANDING UPON THESE ROUTINES. *
* ACKNOWLEDGE POLLING IS USED TO DETERMINE WHEN THE WRITE CYCLE FINISHES. *
* *
* THE MAINLINE OF THIS PROGRAM READS THE DATA LOCATED AT ADDRESS 002DH AND *
* THEN WRITES THAT DATA BACK TO ADDRESS 0041H. THIS PROGRAM HAS BEEN TESTED *
* USING THE X24C01.
* REVISED: JANUARY 1997 *
******************************************************************************
*
SCLBIT
SDABIT
SDAOUT
SDAIN
DMASK
PORTD
DDRD
ADDR
DATA
COUNT
PDDATA
COUNT2
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
$02
$01
$03
$02
$80
$08
$09
$80
$82
$83
$84
$85
MASK INDICATING PORTD SCL POSITION
MASK INDICATING PORTD SDA POSITION
MAKES SDA AN OUTPUT IF STORED IN DDRD
MAKES SDA AN INPUT IF STORED IN DDRD
USED TO MASK BIT TO SEND TO DUT
PORT D OFFSET IN 'PAGE' $1000
PORT D DIRECTION REGISTER OFFSET
LOCATION FOR X24C01 ADDRESS TO ACCESS
LOCATION FOR X24C01 DATA TRANSFERED
COUNTER LOCATION FOR LOOPING
TEMP REGISTER FOR DATA STORAGE
COUNTER FOR ACK POLLING
****************************
* RESET VECTOR ENTRY POINT *
****************************
ORG
FDB
$FFFE
$E000
RESET VECTOR ADDRESS TO PROGRAM ENTRY
JUMP TO BEGINNING OF EXECUTABLE CODE
***********************
* PROGRAM ENTRY POINT *
***********************
ORG
$E000
BEGINNING OF EXECUTABLE CODE
BEGIN:
LDS
LDX
LDAA
STAA
LDAA
STAA
LDAA
STAA
JSR
LDAA
STAA
JSR
#$00FF
#$1000
#$FF
PORTD,X
#$03
DDRD,X
#$2D
ADDR
RDBYT
#$41
ADDR
WRBYT
INITIALIZE STACK POINTER
INITIALIZE PAGE OFFSET LOCATION
MAKE PORTD ALL ONES
MAKE SDA AND SCL OUTPUTS
READ DATA FROM ADDRESS 002DH
WRITE DATA BACK TO ADDRESS 0041H
相關(guān)PDF資料
PDF描述
X24C02(中文) Serial EEPROM(寫保護引腳,串行EEPROM)
X24C02 Serial EEPROM(寫保護引腳,串行EEPROM)
X24C04P-2.7 Circular Connector; MIL SPEC:MIL-C-26482, Series I, Crimp; Body Material:Aluminum; Series:PT02; Number of Contacts:5; Connector Shell Size:14; Connecting Termination:Crimp; Circular Shell Style:Box Mount Receptacle
X24C04S14M-2.7 2 CHANNEL DVI SWITCH W/ AUDIO
X24C04S14M-3 VGA-USB ADAPTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
X24C01A 制造商:ICMIC 制造商全稱:IC MICROSYSTEMS 功能描述:Serial E2PROM
X24C01AP 制造商:XICOR 制造商全稱:Xicor Inc. 功能描述:Serial E2PROM
X24C01AP-3 制造商:ICMIC 制造商全稱:IC MICROSYSTEMS 功能描述:Serial E2PROM
X24C01AP-3.5 制造商:ICMIC 制造商全稱:IC MICROSYSTEMS 功能描述:Serial E2PROM
X24C01APG 制造商:ICMIC 制造商全稱:IC MICROSYSTEMS 功能描述:Serial E2PROM