| 数据搜索系统,热门电子元器件搜索 |
|
CS4812 数据表(PDF) 21 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS4812 数据表(HTML) 21 Page - Cirrus Logic |
|
21 / 36 page ![]() CS4812 DS291PP3 21 and a memory address pointer (MAP) byte. The MAP byte contains the address of the control port register to be accessed. Following the preamble, the host controller sends the actual data byte to be written to the register designated by the MAP. The host controller then de-asserts CS. Figure 16 shows the SPI slave mode write flow diagram. In SPI slave mode, a read sequence from an exter- nal controller is shown in Figure 17. The host con- troller executes a partial write-cycle by sending a 16-bit write preamble to the CS4812 with the MAP byte set to the address of the control port byte reg- ister to be read. The host controller then de-asserts CS, re-asserts CS, and sends the 7-bit chip address followed by the R/W bit set to 1. The host control- ler then clocks out the control port register desig- nated by the MAP byte. The host controller then de-asserts CS. Figure 18 shows the SPI mode slave read flow diagram initiated by the host microcon- troller. Figure 19 shows the SPI slave mode read flow diagram incorporating the DSP REQ signal. REQ is used to notify the host controller that a data byte from the DSP is waiting to be read. The behavior of the REQ signal is dependent on when data is written to the serial control port output register in relation to CCLK and bit 2 of the current byte being transferred. There are three cases of REQ behavior: 1. The REQ line will be de-asserted immediately following the rising edge of CCLK on the D2 bit of the current byte being transferred if there is no data in the serial control port output register. The REQ line remains de-asserted and a stop condition SET CS LOW WRITE DATA BYTE MORE DATA? SET CS HIGH Y WRITE MAP BYTE N WRITE ADDRESS BYTE WITH R/W BIT = 0 Figure 16. SPI Slave Write Flow Diagram CDOUT CS CLK CDIN 10 11 12 CHIP ADDRESS (WRITE) MAP BYTE MSB R/W CHIP ADDRESS (READ) R/W 0 0 1 0 0 0 0 0 INCR 6 5 4 3 2 1 0 0 0 1 0 0 0 0 1 REQ 0 1 2 3 4 5 6 7 8 9 13 14 15 DATA 7 6 5 4 3 2 1 0 (input) (output) (input) (input) (output) DATA 7 6 5 4 3 2 1 0 Figure 17. Control Port Timing, SPI Slave Mode Read |
|
链接网址 |
| 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 |