SDAA085A October 2025 – May 2026 TXE8116 , TXE8116-Q1 , TXE8124 , TXE8124-Q1 , TXE8148
The following example use case daisy chains 4x TXE81XXEVM together by connecting the SDO and SDI lines in a chain. The SCLK pin is shared amongst all devices including the MCU as well as the chip select signal.
(Boards are labeled 1 - 4 starting from right to left)
Data is written to each direction configuration register (0x04) of each TXE8124-Q1 device. Only Port 0 is written to. A 1 in the direction configuration register sets the GPIO to an OUTPUT. A 0 in the direction configuration register sets the GPIO to an INPUT. See Table 3-1 for the exact data written in the daisy chain example.
| Board Number | Register Address | Port | Data | Input / Outputs? |
|---|---|---|---|---|
| 1 | 0x04 | 0 | 0x55 | Inputs = P0.1, P0.3, P0.5, P0.7 Outputs = P0.0, P0.2, P0.4, P0.6 |
| 2 | 0x04 | 0 | 0x00 | Inputs = P0.0 - P0.7 Outputs = none |
| 3 | 0x04 | 0 | 0xAA | Inputs = P0.0, P0.2, P0.4, P0.6 Outputs = P0.1, P0.3, P0.5, P0.7 |
| 4 | 0x04 | 0 | 0xFF | Inputs = none Outputs = P0.0 - P0.7 |
In TXE81xx, there are 4 types of SPI segments: Status, Header, Address, and Data. Table 3-2 describes the bit-by-bit description of each segment to be sent in the daisy chain.
| SPI Segment Type | Bit Assignments |
|---|---|
| Status | Bit [15:14] = 1, indicates status segment Bit[13:8] = Bit 5 to 0 of the Fault Status Register (0x1900) Bit[7:0] = 0, by default |
| Header | Bit [15:14] = 0 and 1 respectively, indicates header segment Bit [13] = reserved Bit[12:0] = determine the number of devices in the daisy chain |
| Address (register address) | Bit [15] = indicates SPI mode of operation (1 = read, 0 = write) Bit [14:13] = Don't care (X) Bit[12:8] = Feature Address Bit[7] = Don't care (X) Bit[6:4] = Port Selection Bit[3:1] = Don't Care (X) Bit[0] = Multi-Port |
| Data | Bit[7:0] = Data to write to register |
To begin sending data through the chain, a header segment is sent first, followed by the register address of the furthest board in the chain. If there are four devices in the chain, register address of the 4th device is sent first, followed by the 3rd and so on. Data bytes follow after the register address bytes. The first data byte applies to the furthest device in the chain. If there are four devices in the chain, the first data byte applies to the 4th device, then 3rd, and so on. See Figure 3-3 for a more detailed byte-by-byte example of how SPI data is sent.