| Electronic Components Datasheet Search |
|
AFEX82H1 Datasheet(PDF) 61 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
AFEX82H1 Datasheet(HTML) 61 Page - Texas Instruments |
|
61 / 115 page ![]() 6.5.3 Serial Peripheral Interface (SPI) The AFEx82H1 are controlled over a versatile four-wire serial interface (SDIN, SDO, SCLK, and CS). The interface operates at clock rates of up to 12.5 MHz and is compatible with SPI, QSPI, Microwire, and digital signal processing (DSP) standards. The SPI communication command consists of a read or write address, a data word, and an optional CRC byte. The SPI can access all register addresses except for the UBM register. Read-only and read-write capability is defined by register (see Table 7-1). The SPI supports both SPI Mode 1 (CPOL = 0, CPHA = 1) and SPI Mode 2 (CPOL = 1, CPHA = 0). The default SCLK value is low for SPI Mode 1 and high for SPI Mode 2. See Section 5.7 for timing diagrams in each mode. The serial clock, SCLK, can be continuous or gated. 6.5.3.1 SPI Frame Definition Subject to the timing requirements listed in the Timing Requirements, the first SCLK falling edge immediately following the falling edge of CS captures the first frame bit. Subject to the same requirements, the last SCLK falling edge before the rising edge of CS captures the last bit of the frame. Figure 6-29 shows that the SPI shift register frame is 32-bits wide, and consists of an R/W bit, followed by a 7-bit address, and a 16-bit data word. The 8-bit CRC is optional (enabled by default) and is disabled by setting CONFIG.CRC_EN = 0 (see also Section 6.5.3.3). Figure 6-30 shows that when the CRC is disabled, the frame is 24-bits wide. SDO SDI Don’t Care Valid Data Hi-Z Output Frame (n-1) Status Details CRC_ERR Next Frame (n+1), Command or NOP CS RESET RBIST OSC_DIV_2 MODEM_IRQ GEN_IRQ ALARM_IRQ Address (7b) Data Word (16b) CRC (8b) R/W (1b) R/W (1b) Status (7b) Data Word (16b) CRC (8b) Output Frame (n) Input Frame (n) SCLK 31 30~24 23~8 7~0 Figure 6-29. SPI Frame Details (Default, CRC Enabled) SDO SDI R/W (1b) Don’t Care Valid Data Hi-Z Output Frame (n-1) Status (7b) Data Word (16b) Address (7b) Data Word (16b) R/W (1b) Next Frame (n+1), Command or NOP CS Output Frame (n) Input Frame (n) SCLK 23 22~16 15~0 Figure 6-30. SPI Frame Details (CRC Disabled) For a valid frame, a full frame length of data (24 bits if CRC is disabled or 32 bits if CRC is enabled) must be transmitted before CS is brought high. If CS is brought high before the last falling SCLK edge of a full frame, then the data word is not transferred into the internal registers. If more than a full frame length of falling SCLK edges are applied before CS is brought high, then the last full frame length number of bits are used. In other words, if the number of falling SCLK edges while CS = 0 is 34, then the last 32 SCLK cycles (or 24 if CRC is disabled) are treated as the valid frame. The device internal registers are updated from the SPI shift register on the rising edge of CS. To start another serial transfer, bring CS low again. When CS is high, the SCLK and SDI signals are blocked and the SDO pin is high impedance. www.ti.com AFE782H1, AFE882H1 SLASF43 – DECEMBER 2023 Copyright © 2023 Texas Instruments Incorporated Submit Document Feedback 61 Product Folder Links: AFE782H1 AFE882H1 |
|
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 |