English
Language : 

TLE75080-EMH Datasheet, PDF (64/80 Pages) Infineon Technologies AG – SPI Driver for Enhanced Relay Control
TLE75080-EMH
Serial Peripheral Interface (SPI)
10.5
SPI Protocol
The relationship between SI and SO content during SPI communication is shown in Figure 32. SI line represents
the frame sent from the µC and SO line is the answer provided by TLE75080-EMH.
SI
frame A
frame B
frame C
(previous
SO
response )
response to
frame A
response to
frame B
SPI_ SI2 SO.emf
Figure 32 Relationship between SI and SO during SPI communication
The SPI protocol provides the answer to a command frame only with the next transmission triggered by the µC.
Although the biggest majority of commands and frames implemented in TLE75080-EMH can be decoded without
the knowledge of what happened before, it is advisable to consider what the µC sent in the previous transmission
to decode TLE75080-EMH response frame completely.
More in detail, the sequence of commands to “read” and “write” the content of a register looks as follows:
SI
write register A
read register A
(new command )
(previous
SO
response )
Standard
diagnostic
register A
content
SPI_RWseq.emf
Figure 33 Register content sent back to µC
There are 3 special situations where the frame sent back to the µC is not related directly to the previous received
frame:
• in case an error in transmission happened during the previous frame (for instance, the clock pulses were not
multiple of 8 with a minimum of 16 bits), shown in Figure 34
• when TLE75080-EMH logic supply comes out of Power-On reset condition or after a Software Reset, as shown
in Figure 35
• in case of command syntax errors
– “write” command starting with “11” instead of “10”
– “read” command starting with “00” instead of “01”
– “read” or “write” commands on registers which are “reserved” or “not used”
Data Sheet
64
Rev. 1.0, 2016-06-22