|
CY24942 Datasheet, PDF (5/19 Pages) Cypress Semiconductor – 25 MHz Crystal or Clock Input | |||
|
◁ |
CY24292
Table 2. Block Read and Block Write Protocol
Bit
1
2:8
9
10
11:18
19
20:27
28
29:36
37
38:45
46
Block Write Protocol
Description
Start
Slave address â 7 bits
Write
Acknowledge from slave
Command code â 8-bit â00000000â stands for block
operation
Acknowledge from slave
Byte count â 8 bits
Acknowledge from slave
Data byte 0 â 8 bits
Acknowledge from slave
Data byte 1 â 8 bits
Acknowledge from slave
Data byte N/Slave acknowledge
Data byte N â 8 bits
Acknowledge from slave
Stop
Bit
1
2:8
9
10
11:18
19
20
21:27
28
29
30:37
38
39:46
47
48:55
56
Block Read Protocol
Description
Start
Slave address â 7 bits
Write
Acknowledge from slave
Command code â 8-bit â00000000â stands for block
operation
Acknowledge from slave
Repeat start
Slave address â 7 bits
Read
Acknowledge from slave
Byte count from slave â 8 bits
Acknowledge
Data byte from slave â 8 bits
Acknowledge
Data byte from slave â 8 bits
Acknowledge
Data bytes from slave/acknowledge
Data byte N from slave â 8 bits
Not acknowledge
Stop
Table 3. Byte Read and Byte Write Protocol
Byte Write Protocol
Bit
Description
1
Start
2:8 Slave address â 7 bits
9
10
11:18
Write = 0
Acknowledge from slave
Command code â 8 bits â1xxxxxxxâ stands for byte
operation, bits[6:0] of bits[6:0] the command code
represents the offset of the byte to be accessed
19 Acknowledge from slave
20:27 Data byte from master â 8 bits
28 Acknowledge from slave
29 Stop
Bit
1
2:8
9
10
11:18
19
20
21:27
28
29
30:37
38
39
Byte Read Protocol
Description
Start
Slave address â 7 bits
Write = 0
Acknowledge from slave
Command code â 8 bits â1xxxxxxxâ stands for byte
operation, of the command code represents the
offset of the byte to be accessed
Acknowledge from slave
Repeat start
Slave address â 7 bits
Read = 1
Acknowledge from slave
Data byte from slave â 8 bits
Not acknowledge
Stop
Document Number: 001-46142 Rev. *E
Page 5 of 19
|
▷ |