Other Parts Discussed in Thread: TMS570LS1114, , TPS65381-Q1
We have on our design the TMS570LS1114 microcontroller, which triggers the watchdog to the TPS65381-Q1/TPS65381A-Q1 companion chip.
We use the Watchdog triggering over SPI (Q&A watchdog). The problem is, that with the same FW, some boards work fine and some boards not.
We did already the following analysis:
- We made a function with a time stamping of the SPI trigger (in the RAM) from the TMS570LS1114 to the TPS65381-Q1, which shows that also in case of a malfunction, the SPI trigger should be o.k. and in time
- The initialization and the configuration of the TPS65381-Q1 is correct on all boards
- The watchdog is triggered right over SPI, the WDT_FAIL_CNT goes back to 0, means the watchdog is triggered right
- x seconds after the start of the driver, the WDT_FAIL_CNT starts counting. 3 times measured (x1 = 1.8s, x2 = 1.3s, x3 = 1.8s)
- The WDT_STATUS register is read periodically: Before the malfunction, the error flags TOKEN_ERR, SEQ_ERR, TIME_OUT, TOKEN_ERLY are not set. If the malfunction on some boards are reached, the SEQ_ERR flag is set and the other flags TOKEN_ERR, SEQ_ERR, TIME_OUT, TOKEN_ERLY are set in different combinations
What could be the reason for the different behaviour and the malfunction only on some boards?
Any input is welcome.
Best regards
Jürgen Mayr