| Electronic Components Datasheet Search |
|
AFEX82H1 Datasheet(PDF) 56 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
AFEX82H1 Datasheet(HTML) 56 Page - Texas Instruments |
|
56 / 115 page ![]() 6.5 Programming The AFEx82H1 communicate with the system controller through a serial interface that supports either a UART- compatible two-wire bus or an SPI-compatible bus. Based on the hardware configuration, either interface can be enabled. Figure 6-26 and Figure 6-27 show the configurations to enable SPI mode and UART break mode (UBM), respectively. The SPI supports an 8-bit frame-by-frame CRC that is enabled by default, but can be disabled by the user. UBM does not support CRC, but does support the UART protocol parity bit. The AFEx82H1 are designed to leverage the existing firmware for communication with DACs or HART modems. A special SPI- and UART-capable dual mode of communication that is available to enable firmware reuse from discrete HART architecture is shown in Figure 6-28. See Section 6.5.1.3 for more details. 6.5.1 Communication Setup After any reset or power up, the AFEx82H1 wake up able to use the SPI or UART break mode (UBM). The devices include a robust mechanism that configures the interface between either an SPI-compatible or UART- compatible protocol based system, thus preventing protocol change during normal operation. The selection is based on initial conditions from the respective hardware configurations (see Figure 6-26 and Figure 6-27) and any subsequent user configuration. In SPI plus UART mode, all communication pins on the system microcontroller are connected to the AFEx82H1, as shown in Figure 6-28. 6.5.1.1 SPI Mode By default, the AFEx82H1 can be fully accessed with the SPI (except UBM.REG_MODE). To set up the device in SPI mode: 1. Set CONFIG.UART_DIS = 1 (disables the UART communication). 2. Optionally, set CONFIG.DSDO, CONFIG.FSDO, and CONFIG.IRQ_PIN_EN. For details, see Table 7-5. RTS CS RTS RTS GND Resistive tie for unused or undriven GPIO Control Logic UART Interface HART Interface Control Logic SDI SDO SCLK GPIO3 GPIO2 Clock Data In Data Out Chip Select System Controller AFE GPIO1 RESET GPIO0 GND Minimum Communication Functionality (Most GPIOs) Control Logic UART Interface HART Interface SDI SDO SCLK GPIO3 UARTOUT Interrupt Clock Data In Data Out Chip Select Reset System Controller AFE CD CD RESET CS CLK_OUT Maximum Communication Functionality (Least GPIOs) IOVDD IOVDD IOVDD Monitor Figure 6-26. SPI Mode Connections Figure 6-26 shows the SPI mode logical connections (through the isolation barrier, if used) for both minimum communication functionality (all optional communication pins disconnected, most GPIO pins available shown) and maximum communication functionality (all communication pins connected, least GPIO pins available shown). If CONFIG.IRQ_PIN_EN = 1 is set, then the UARTOUT pin functions as the IRQ output. In SPI mode, set CONFIG.SDO_DSDO = 0 to enable the readback function. This function is disabled by default to save power. If the readback function not enabled, SDO remains in Hi-Z mode even during the subsequent frame after a read request. Enable each GPIO pin for use through proper register configuration. If a pin remains unused, tied the pin to either IOVDD using a pullup resistor or to GND using a pulldown resistor as indicated to avoid floating IOs. AFE782H1, AFE882H1 SLASF43 – DECEMBER 2023 www.ti.com 56 Submit Document Feedback Copyright © 2023 Texas Instruments Incorporated 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 |