| 数据搜索系统,热门电子元器件搜索 |
|
HCS515-IP 数据表(PDF) 11 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
HCS515-IP 数据表(HTML) 11 Page - Microchip Technology |
|
11 / 28 page ![]() © 2002 Microchip Technology Inc. DS40183D-page 11 HCS515 4.2.5 READ BYTE/S FROM USER EEPROM The read command (Figure 4-4) is used to read bytes from the user EEPROM. The offset in the user EEPROM is specified by the address byte, which is truncated to 7 bits (C to D). After the address, a dummy byte must be clocked in (D to E). The EEPROM data byte is clocked out on the next rising edge of the clock line with the Least Significant bit first (E to F). Sequen- tial reads are possible by repeating sequence E to F within 1 ms after the falling edge of the previous byte’s Most Significant bit (MSb). During the sequential read, the address value will wrap after 128 bytes. The decoder will terminate the read command if no clock pulses are received for a period longer than 1.2 ms. 4.2.6 WRITE BYTE/S TO USER EEPROM The write command (Figure 4-5) is used to write a loca- tion in the user EEPROM. The address byte is trun- cated to seven bits (C to D). The data is clocked in Least Significant bit (LSb) first. The clock line must be asserted to initiate the write. Sequential writes of bytes are possible by clocking in the byte and then asserting the clock line (D – F). The decoder will terminate the write command if no clock pulses are received for a period longer than 1.2 ms After a successful write sequence, the decoder will acknowledge by taking the data line high and keeping it high until the clock line goes low. FIGURE 4-4: READ BYTES FROM USER EEPROM FIGURE 4-5: WRITE BYTES TO USER EEPROM Decoder DATA MSB A Command Byte START Command BC LSB D TRD E Address Byte Dummy Byte CLK µC DATA F Data Byte MSB LSB MSB LSB MSB LSB TRD Decoder DATA MSB A Command Byte START Command BC LSB D TWR E Address Byte Data Byte CLK µC DATA F Acknowledge MSB LSB MSB LSB TACK TRESP TACK2 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |