| Electronic Components Datasheet Search |
|
CS4271 Datasheet(PDF) 35 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS4271 Datasheet(HTML) 35 Page - Cirrus Logic |
|
35 / 53 page ![]() CS4271 DS592F1 35 6. CONTROL PORT INTERFACE The Control Port is used to load all the internal settings of the CS4271. The operation of the Control Port may be completely asynchronous to the audio sample rate. However, to avoid potential interference problems, the Control Port pins should remain static if no operation is required. The Control Port has 2 modes: SPI and I²C, with the CS4271 operating as a slave to control messages in both modes. If I²C operation is desired, AD0/CS should be tied to VA or AGND. If the CS4271 ever detects a high to low transition on AD0/CS after power-up, SPI mode will be selected. The Control Port registers are write-only in SPI mode. Upon release of the RST pin, the CS4271 will wait approximately 10 ms before it begins its start-up sequence. The part defaults to Stand-Alone Mode, in which all operational modes are controlled as described under “Stand-Alone Mode” on page 24. The Control Port is active at all times, and if bit 1 of register 07h (CPEN) is set, the part enters Control-Port Mode and all operational modes are controlled by the Control Port registers. This bit can be set at any time, but to avoid unpredictable output noises, bit 1 (CPEN) and bit 0 (PDN) of register 07h should be set by writing 03h before the end of the 10 ms start-up wait period. All registers can then be set as desired before releasing the PDN bit to begin the start-up sequence. If system requirements do not allow writing to the control port immediately following the release of RST, the SDIN line should be held at logic “0” until the proper serial mode can be selected. 6.1 SPI Mode In SPI mode, CS is the CS4271 chip select signal, CCLK is the control port bit clock, CDIN is the input data line from the microcontroller and the chip address is 0010000. All control signals are inputs and data is clocked in on the rising edge of CCLK. Figure 17 shows the operation of the Control Port in SPI mode. 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 indicator (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 the register designated by the MAP. See Table 10 on page 36. The CS4271 has MAP auto increment capability, enabled by the INCR bit in the MAP. If INCR is 0, then the MAP will stay constant for successive writes. If INCR is set, then MAP will auto increment after each byte is written, al- lowing block writes to successive registers. MAP MSB LSB DATA byte 1 byte n R/W MAP = Memory Address Pointer ADDRESS CHIP CDIN CCLK CS 0010000 Figure 17. Control Port Timing, SPI mode |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |