SCPS311 March   2026 TXE8124

PRODUCTION DATA  

  1.   1
  2. Features
  3. Applications
  4. Description
  5. Pin Configuration and Functions
  6. Specifications
    1. 5.1 Absolute Maximum Ratings
    2. 5.2 ESD Ratings
    3. 5.3 Recommended Operating Conditions
    4. 5.4 Thermal Information
    5. 5.5 Electrical Characteristics
    6. 5.6 Timing Requirements
    7. 5.7 SPI Bus Timing Requirements
    8. 5.8 Switching Characteristics
  7. Parameter Measurement Information
  8. Detailed Description
    1. 7.1 Overview
    2. 7.2 Functional Block Diagrams
    3. 7.3 Feature Description
      1. 7.3.1 I/O Port
      2. 7.3.2 Interrupt Output (INT)
      3. 7.3.3 Reset Input (RESET)
      4. 7.3.4 Bus Hold
      5. 7.3.5 Fail-safe Mode
      6. 7.3.6 Software Reset Call
      7. 7.3.7 Daisy Chain
      8. 7.3.8 Multi Port
      9. 7.3.9 Feature Register Mapping
    4. 7.4 Device Functional Modes
      1. 7.4.1 Power-On Reset
    5. 7.5 Programming
      1. 7.5.1 SPI Interface
      2. 7.5.2 SPI Data Format
      3. 7.5.3 Burst Mode
      4. 7.5.4 SPI Write
      5. 7.5.5 SPI Read
      6. 7.5.6 SPI Daisy Chain
    6. 7.6 TXE8124 Registers
  9. Application and Implementation
    1. 8.1 Application Information
    2. 8.2 Typical Application
    3. 8.3 Power Supply Recommendations
      1. 8.3.1 Power-On Reset Requirements
    4. 8.4 Layout
      1. 8.4.1 Layout Guidelines
      2. 8.4.2 Layout Example
  10. Device and Documentation Support
    1. 9.1 Receiving Notification of Documentation Updates
    2. 9.2 Support Resources
    3. 9.3 Trademarks
    4. 9.4 Electrostatic Discharge Caution
    5. 9.5 Glossary
  11. 10Revision History
  12. 11Mechanical, Packaging, and Orderable Information

SPI Write

SPI Write operation is used to send data from the controller device to the peripheral device. SPI write can be a single byte write as shown in Figure 7-7 or burst write as shown in Figure 7-8 where multiple bytes can be written to the device. The operation is performed over the SPI bus, where the controller device drives CS low, generates the serial clock (SCLK) and sends data to the peripheral. SPI Write is commonly used to configure peripherals, send control commands, or transfer data. During a SPI single write, the device sends the last data from the register indicated by the register pointer. On a SPI burst write, the address is automatically incremented and the device sends the last data from the updated register pointer.


TXE8124 SPI Single Write
Figure 7-7 SPI Single Write

TXE8124 SPI Burst Write
Figure 7-8 SPI Burst Write

SPI Write Steps

  1. Drive CS low. This enables the internal shift register.
  2. Shift 24 bits of data into the device in a MSB first fashion, MSB bit . Data must be stable during the rising edge of SCLK.
  3. The MSB bit must be a '0' indicating it is a write operation.
  4. On the SDO pin, the device sends the first 2 bits as 2’b11 (indicating it to be a status segment). followed by 6 bits are the Bit 5 to 0 of the Fault status register. The next 8 bits are all 0s followed by 8-bit current data in the register selected by register pointer.
  5. After the last bit of data is transferred, drive SCLK low if there is no more data to be transferred.
  6. The previous content of the register is sent out on SDO as the data byte is driven on SDI.
  7. De-assert CS (drive it high) to end the write cycle.