| 전자부품 데이터시트 검색엔진 |
|
CS5541 데이터시트(PDF) 13 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS5541 데이터시트(HTML) 13 Page - Cirrus Logic |
|
13 / 26 page ![]() CS5541 DS500PP1 13 2.6 Serial Port The CS5541 includes a state machine with an 8-bit command register, which instructs the ADC to per- form conversions, and a 24-bit conversion data reg- ister (read only) to store conversion results. Figure 10 illustrates a block diagram of the internal regis- ters. After power is applied to the ADC (the ADC in- cludes a power-on reset circuit) or after the user transmits the serial port initialization sequence, the serial port is set to the command mode. The con- verter stays in this mode until a valid 8-bit com- mand is received (the first 8 bits into the serial port). Once a valid 8-bit data mode command is re- ceived and interpreted by the ADC’s command register, the serial port enters the data mode and continuous conversions are performed. The SDO pin falls at the end of a conversion and the user may read the conversion data by providing 32 serial clocks (SCLKs), as shown in Figure 11 . The first 8 SCLKs are needed to clear the SDO flag and to read the status flags. During the next 24 SCLKs, the conversion data is shifted out of the serial port. To continue performing the conversions, SDI must be kept low during the status read time. A new command can be issued any time other than during the data read. If the command happens to be a pow- er save command, the serial port goes back to the command mode. Otherwise, the conversions will stop in progress and start new conversions based on the information in the command byte, and the serial port will remain in the data mode. Section 2.8, “Command Register Quick Reference”, lists all valid commands. 2.7 Serial Port Initialization Sequence To initialize the serial port of the ADC to the com- mand mode, the user can transmit the serial port initialization sequence. The port initialization se- quence involves clocking seven (or more) SYNC1 command bytes (0xFF) followed by one SYNC0 command byte (0xFE). Note that this sequence places the ADC’s serial port in the command mode where it waits until a valid command is received. This sequence does not reset the internal registers to their default settings. Further note that the se- quence can be issued at any time and aids signifi- cantly in initial code development. Serial Interface CS SDI SDO SCLK Command Register (1 × 8) Conversion Data Register (1x24) Figure 10. CS5541 Register Diagram. 1st Command Time 8 SCLKs SDO SCLK SDI t d * Data Time 24 SCLKs MSB LSB 0 1 CH OD OF 1 1 8 SCLKs to read status SDI set low while reading status & data 1 t o * * t d, to - Refer to Table 1. for output timing. Figure 11. Command and Data Word Timing. |
|
|
링크 URL |
| 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 |