| поискавой системы для электроныых деталей |
|
IC-HT датащи(PDF) 22 Page - IC-Haus GmbH |
|
|
|||||||||||||||||||||||||||||
IC-HT датащи(HTML) 22 Page - IC-Haus GmbH |
|
22 / 42 page ![]() prel imin ary prel imin ary iC-HT DUAL CW LASER DIODE DRIVER Rev A1, Page 22/42 I²C slave interface The I²C slave interface is enabled by setting pin INS/WKR to hi and uses pins NCS/A1, SCLK/SCL, MISO/SDA and MOSI/A0. The protocol frames are shown in figure 11. A communication frame consists of one slave address byte, one register address byte and at least one data byte. Bits 7:1 of the slave address byte form the slave identification code (ID) and bit 0 is used for specifica- tion of the data direction (0 for write, 1 for read). The slave ID consists of 7 bits. The five most significant bits are fixed by default to value 0b11000. Pins MOSI/A0 and NCS/A1 are used to set the remaining slave ID bits (see table 43 and 44). Action b7 b6 b5 b4 b3 b2 b1 b0 Write to slave 1 1 0 0 0 A1 A0 0 Read from slave 1 1 0 0 0 A1 A0 1 Table 43: I²C write/read byte Action A1 A0 Slave ID Address byte Write to slave 0 lo lo 0x60 0xC0 Read from slave 0 lo lo 0x60 0xC1 Write to slave 1 lo hi 0x61 0xC2 Read from slave 1 lo hi 0x61 0xC3 Write to slave 2 hi lo 0x62 0xC4 Read from slave 2 hi lo 0x62 0xC5 Write to slave 3 hi hi 0x63 0xC6 Read from slave 3 hi hi 0x63 0xC7 Table 44: I²C write/read address 0 4 5 6 7 8 9 10 11 A1:A0 Slave ACK WR='0' Addr. MSB first Start Stop 18 1 Addr. MSB first Start SCL 2 Slave ACK I2C WRITE COMMAND FRAME. 3 24 25 26 A1:A0 RD='1' Data 1 27 Slave ACK 20 Data 1 Data 2 28 Slave ACK Data 1 34 35 Data 1 19 . SCL 0 1 2 3 Master ACK 36 37 Data 2 37 Stop Data n A1:A0 WR='0' Repeated Start 19 Data n 25 26 27 Slave ACK 4 5 6 7 8 9 10 11 12 13 14 15 SDA 16 17 I2C READ COMMAND FRAME. 12 13 14 15 SDA 16 17 18 Figure 11: I²C read and write commands |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |