音影先锋亚洲天堂网|电影世界尽头的爱完整版播放|国产 熟女 91|高清无码免费观看欧美日韩|韩国一区二区三区黄色录像|美女亚洲加勒比在线|亚洲综合网 开心五月|7x成人在线入口|成人网站免费日韩毛片区|国产黄片?一级?二级?三级

登錄 免費注冊 首頁 | 行業(yè)黑名單 | 幫助
維庫電子市場網(wǎng)
技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng)
驅(qū)動編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機 | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計 | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe

24C01與24C02除了容量有什么區(qū)別,可以替換用嗎?

作者:iammercy 欄目:技術(shù)交流
24C0124C02除了容量有什么區(qū)別,可以替換用嗎?
 
2樓: >>參與討論
高勇
可以用2402代替2401
 
3樓: >>參與討論
揚欣電子
可以。
 
4樓: >>參與討論
汪大衛(wèi)
是啊這個都要上21IC嗎?學(xué)徒啊
 
5樓: >>參與討論
dai_weis
不過需要注意
他們的頁模式不同,01是四個字節(jié),02是八個字節(jié)(01A也是八個字節(jié)),
寫入的時間01最大為10ms,02最大為5ms,程序中如果有關(guān)于此處的操作請注意,所以24C02可以替換24C01,反過來則要看具體的情況
該問題數(shù)據(jù)手冊又說明可以詳細(xì)查看。

還有盡管摟主問題簡單,也許不該問,因為看數(shù)據(jù)手冊會知道,不過樓上的用詞不妥,呵呵希望不是多舌。

6樓: >>參與討論
iammercy
RE:
是不是這樣?
;24C01    1Page * 32rows * 4bytes  * 8 bit = 128bytes = 1kbits    
;24C02    1Page * 32rows * 8bytes  * 8 bit = 256bytes = 2kbits    
;24C04    2Page * 16rows * 16bytes * 8 bit = 512bytes = 4kbits
;24C08    4Page * 16rows * 16bytes * 8 bit = 1024bytes = 8kbits
;24C16    8Page * 16rows * 16bytes * 8 bit = 2048bytes = 16kbits

因為24C01是每行4個字節(jié),例如從0x02開始連續(xù)寫12個字節(jié),就是
          0x02 0x03        向0x03地址寫完后換行
0x04 0x05 0x06 0x07        向0x07地址寫完后換行
0x08 0x09 0x0a 0x0b        向0x0b地址寫完后換行
0x0c 0x0d 

7樓: >>參與討論
iammercy
為什么我查的資料01也是8個字節(jié)?
PAGE WRITE
The IS24CXX is capable of page-WRITE (8-byte for 24C01/
02 and 16-byte for 24C04/08/16) operation. A page-WRITE
is initiated in the same manner as a byte write, but instead
of terminating the internal write cycle after the first data word
is transferred, the MASTER DEVICE can transmit up to N more
bytes (N=7 for 24C01/02 and N=15 for 24C04/08/16). After
the receipt of each data word, the IS24CXX responds
immediately with an ACKnowledge on SDA LINE, and the
three lower (24C01/24C02) or four lower (24C04/24C08/
24C16) order data word address bits are internally
incremented by one, while the higher order bits of the data
word address remain constant. If the MASTER DEVICE should
transmit more than N+1 (N=7 for 24C01/02 and N=15 for
24C04/08/16) words, prior to issuing the STOP condition,
the address counter will “roll over,” and the previously
written data will be overwritten. Once all N+1 (N=7 for
24C01/02 and N=15 for 24C04/08/16) bytes are received
and the STOP condition has been sent by the MASTER, the
internal PROGRAMMING cycle begins. At this point, all received
data is written to the IS24CXX in a SINGLE write cycle. All
inputs are disabled until completion of the internal WRITE
cycle.

以上的規(guī)格說24C0124C02都是 0x07
雖然我取 0x03也行,但程序要進(jìn)行換行,運行的時間比0x07長了點

EEPROM_24C01        EQU    0x03        ;4 bytes row structrue
EEPROM_24C01A        EQU    0x07        ;8 bytes row structrue
EEPROM_24C02        EQU    0x07        ;8 bytes row structrue
EEPROM_24C04        EQU    0x0f        ;16 bytes row structrue
EEPROM_24C08        EQU    0x0f        ;16 bytes row structrue
EEPROM_24C16        EQU    0x0f        ;16 bytes row structrue

;=========================================================================================
;                EEPROMWrite
;=========================================================================================
EEPROMWrite:                        
        ldi        zI2CRepeat        ,I2CFAILTIMES&0fh
?DeviceNoStabile:
        ldi        zI2CAck            ,00h    
        sbim        zI2CRepeat        ,01h
        baz        Exit_EEPROMWrite
        andim        SDA_PINCR        ,SDA^0x0f  ;check bus
        andim        SCL_PINCR        ,SCL^0x0f  
        nop                           
        nop
        nop
        lda        SDA_PIN            ,0          
        sta        zI2CAck            ,0          
        andim        zI2CAck            ,SDA    
        baz        ?DeviceIsBusy                ;ready if sda pull high
        lda        SCL_PIN            ,0          
        sta        zI2CAck            ,0          
        andim        zI2CAck            ,SCL
    if SCL_PULL==SCL_PULLUP_TO_VDD
        bnz        ?DeviceIsReady               ;if scl pull high
    else
        baz        ?DeviceIsReady               ;if scl pull down
    endif    
?DeviceIsBusy:                                 
        call        IICStop
        call        Delay10ms
        jmp        ?DeviceNoStabile
?DeviceIsReady:                                
?EEPROMWriteOneByte:
        call        IICInit
        ;*** clear writeProtect
    //    andim        WP_PIN            ,WP^0x0f   
        call        IICStart                ;start
        orim       &nb
8樓: >>參與討論
ljtim
不一定
不是每個公司的ic都可以互換,主要是上面那位大哥所說的分頁不同

9樓: >>參與討論
dai_weis
我說的芯片型號是ATMEL公司生產(chǎn)的
分別是:AT24C01/AT24C02
如果是AT24C01A則和AT24C02頁模式相同,如需請?zhí)峁┬酒纳a(chǎn)廠商和具體型號

10樓: >>參與討論
iammercy
是啊,每個公司都不太一樣,終于明白了
 
參與討論
昵稱:
討論內(nèi)容:
 
 
相關(guān)帖子
電池供電需要進(jìn)行濾波電路嗎?
請教一個問題
請教以下幾個芯片
能否把整個網(wǎng)站的網(wǎng)頁下載到本機瀏覽?如何操作?
求電路
免費注冊為維庫電子開發(fā)網(wǎng)會員,參與電子工程師社區(qū)討論,點此進(jìn)入


Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號