English
Language : 

TLE8242-2 Datasheet, PDF (35/78 Pages) Infineon Technologies AG – 8 Channel Fixed Frequency Constant Current Control With Current Profile Detection
TLE8242-2
Functional Description and Electrical Characteristics
5.9
Serial Peripheral Interface (SPI)
SPI messages for the TLE8242 IC are 32-bit values broken down into the following fields.
Bit 31: Read/Write Bit - 0 = Read 1 = Write
Bits 30-24: Message Identifier
Bits 23-0: Message Data
In cases where multiple channels require the same message structure, bits 24-25 of the Message Identifier
represent the channel numbers. The structure follows the following pattern
Bit 31: Read/Write Bit - 0 = Read / 1 = Write
Bits 30-27: Message Identifier
Bits 26-24: Channel Number
Bits 23-0: Message Data
The message from the microcontroller must be sent MSB first. The data from the SO pin is sent MSB first. The
TLE8242 will sample data from the SI pin on the rising edge of SCK and will shift data out of the SO pin on the
rising edge of SCK.
All SPI messages must be exactly 32-bits long, otherwise the SPI message is discarded. The response to an
invalid message (returned in the next SPI message) is the message with identifier 00000 (Manufacturer ID).
When the ENABLE pin is low, all SPI writes commands are executed as read commands.
When RESET_B pin is low, the SPI port is disabled. No SPI messages are received and no responses are sent.
The SO pin remains in a high impedance state.
There is a one message delay in the response to each message (i.e. the response for message N will be returned
during message N+1).
Read/Write operation is referenced from the SPI master. The TLE8242 IC is the slave device.
When bit 31 is = 0 to denote a read operation to the IC, the message data in bits 23-0 of the sent message are
ignored, but will contain valid data in the response message.
All response data (either from a read or write operation) is the direct contents of the addressed internal register,
and is not an echo of the data sent in the previous SPI message.
The response to the first SPI message after a reset is message #0 (IC Version / Manufacturer).
Data Sheet
35
Rev. 1.0, 2010-02-09