| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
ADEMA124ACPZ bảng dữ liệu(PDF) 25 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADEMA124ACPZ bảng dữ liệu(HTML) 25 Page - Analog Devices |
|
25 / 78 page ![]() Data Sheet ADEMA124/ADEMA127 APPLICATIONS INFORMATION analog.com Rev. A | 25 of 78 SPI COMPATIBLE COMMUNICATION The SPI port consists of the following pins; SCLK, MOSI, MISO, CS and typically DREADY to call for ADC waveform data retrieval. All configuration and ADC waveform data retrieval operations are performed via SPI port. The ADEMA124/ADEMA127 operate only in SPI mode 3, where CPOL = 1 and CPHA = 1. All data transfer operations synchronize to the serial clock signal routed to the SCLK pin. The maximum and minimum serial clock frequencies supported by the SPI port are specified by the SCLK frequency, fSCLK, parameter shown in Table 4. The integrity of data transmission to and from the SPI port of the ADEMA124/ADEMA127 is protected by bidirectional CRC. Commands sent to the ADEMA124/ADEMA127 are always 32 bits and contain an 8-bit CRC. Commands do not execute unless the received SPI command CRC matches the computed value for the command. The command response, which is returned the next SPI frame, ends with a 16-bit CRC computed from the response. It also contains an alert if the 8-bit CRC does not match. The commu- nication error detection scheme is enabled by default but can be disabled and ignored. For more details on the CRC calculation and usage, see the CRC Protection section. The flexible interface allows devices to connect to the microcontrol- ler as shown in the Individually Addressed section or in daisy-chain, as shown in the Daisy-Chain section. The daisy-chain configura- tion allows multiple devices to be serviced as a single device by the microcontroller. There is no configuration required to indicate whether each ADEMA124/ADEMA127 device is being addressed individually or as a member of a daisy-chain. The DREADY pin enables efficient SPI communications between the ADEMA124/ADEMA127 and microcontroller. At power-up, the first rising edge of the DREADY pin indicates that SPI port is ready to receive SPI commands. Thereafter, the DREADY falling edge marks the availability of a new ADC sample set to be retrieved by the microcontroller. DREADY stays low for 15ns when operating from the typical 16.384MHz clock frequency. Default DREADY pin operation is shown in Figure 41. When the CS pin transitions high-to-low, the SPI response packet including ADC waveform data is latched into a buffer to be shifted out with SCLK. ADC waveform data without a transfer initiated before the next DREADY pin high-to-low transition is overwritten. Command and Response The ADEMA124/ADEMA127 communication scheme enables full- duplex communication. As shown in Figure 43, a new command is shifted into the ADEMA124/ADEMA127 device while a response to the previous command is being shifted out. The most significant bit of the SPI frame is received first by the ADEMA124/ADEMA127 MOSI pin. SPI commands are executed once the CS pin transitions from low-to-high. The SPI command bit field is interpreted as the last 32 bits received before the CS pin transition. The component bit fields of the SPI command are shown in Figure 44 and detailed in Table 8. The SPI command response is delivered in the directly subsequent SPI frame. The SPI command echo bit field makes up the first byte of every response. This 8-bit command echo can be used to confirm that the previous command is interpreted correctly. The component bit fields of the SPI command echo are shown in Figure 45 and detailed in Table 9. The remainder of the command response varies based on the spe- cific command issued to the ADEMA124/ADEMA127. Command responses are summarized in Table 10. All response frames end with a 16-bit CRC computed from the response frame. Figure 43. Full-Duplex Communication with a Single Device Figure 44. SPI Command Bit Field Figure 45. SPI Command Echo Bit Field |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |