I tried using MCAL to deliver SPI drivers for read and write operations on TJA1145, but the data I received was always fixed and I'm not sure what caused it. Can you give me some guidance? Thank you very much
The first and second times are for writing, and the third time is for re reading
Hi,
From your oscilloscope snapshot, I cannot check if the timing and format of the SPI message is correct.
A very common problem is that timing parameters are violated, so please make sure everything is in accordance with the following specs:
BRs, Tomas