TLD5501_2QV:How to check if transmission error has happened
There are two ways to check if a transmission error has happened:
1) Monitor the TER flag on the SO pin in the time window between the chip select assertion and the first clock rising edge, please refer on figure 28 of https://www.infineon.com/cms/en/product/power/lighting-ics/litix-automotive-led-driver-ic/litix-powe... the TLD5501-2QV datasheet. Usually this solution requires extra HW (i.e. one extra GPIO) and it is not the preferred solution for the customers.
2) Monitor the TER bit in the standard diagnosis. You can distinguish the standard diagnosis frame from another frame response by checking the frame MSB. In a standard diagnosis frame the MSB is set to 0. In case of a response after a reading request the TLD5501-2QV is setting the MSB of the frame to 1.
- ATV_BODY_LIGHTING_LED LASERATV_BODY_LIGHTING_MODULEATV_BODY_LIGHTING
- transmission error