This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Customer cannot read data using the device. Below is the details.
"
Hi, when I debug TCAN4550, I found that SPI can't read data, the waveform graph is as follows, please do I need to do any more settings?
I configured SPI, wrote 0xFFFFFFFF to 0x000C and tried to read 32Bits of data from 0x0000. When performing the write, the TC4550 replies me 0x88, and when trying to read the data, I cannot read the data.SPI communication waveform diagram is attached in the previous figure.
"
Thank you in advance.
Regards,
Maynard
Hi Maynard,
It appears that the device is reporting a SPI error in the initial part of the transaction (0x88 indicates SPIERR and GLOBALERR). Can you attempt to read the Status Field Register (h000C) before it is cleared? This register will give us details on what SPI error was recognized by the device. From there we can identify where a possible solution may be.
Please ensure that all 8 bytes of the transaction are included in the scope shot. In the second transaction shown above, only the first four command bytes are shown. I'm not sure why the SPI controller stopped (or put a large gap) after these four bytes as another four bytes should exist in this transaction.
Let me know if you have any other questions in the meantime.
Regards,
Eric Schott