| 数据搜索系统,热门电子元器件搜索 |
|
CS4360 数据表(PDF) 25 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS4360 数据表(HTML) 25 Page - Cirrus Logic |
|
25 / 36 page ![]() CS4360 DS517PP1 25 waiting for the CS4360 to acknowledge between each byte. To end the transaction, send a STOP condition. 7.3.2 Reading in Two-Wire Format To communicate with the CS4360, initiate a START condition of the bus. Next, send the chip address. The eighth bit of the address byte is the R/W bit (high for a read). The contents of the reg- ister pointed to by the MAP will be output after the chip address. To read multiple registers, continue providing a clock and issue an ACK after each byte. To end the transaction, send a STOP condi- tion. 7.4 SPI Format In SPI format, CS is the CS4360 chip select signal, CCLK is the control port bit clock, CDIN is the in- put data line from the microcontroller and the chip address is 0010000. CS, CCLK and CDIN are all inputs and data is clocked in on the rising edge of CCLK. Note that the CS4360 is write-only when in SPI format. 7.4.1 Writing in SPI Figure 6 shows the operation of the control port in SPI format. To write to a register, bring CS low. The first 7 bits on CDIN form the chip address and must be 0010000. The eighth bit is a read/write in- dicator (R/W), which must be low to write. The next 8 bits form the Memory Address Pointer (MAP), which is set to the address of the register that is to be updated. The next 8 bits are the data which will be placed into register designated by the MAP. To write multiple registers, keep CS low and continue providing clocks on CCLK. End the read transaction by setting CS high. SDA SCL 001000 ADDR AD0 R/W Start ACK DATA 1-8 ACK DATA 1-8 ACK Stop Note: If operation is a write, this byte contains the Memory Address Pointer, MAP. Note 1 Figure 5. Control Port Timing, Two-Wire Format MAP MSB LSB DATA byte 1 byte n R/W MAP = Memory Address Pointer ADDRESS CHIP CDIN CCLK CS 0010000 Figure 6. Control Port Timing, SPI Format |
|
链接网址 |
| 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 |