Question: The SPI_TX_PENDING is permanently high (3.3V)
AdrianKn opened this issue · 1 comments
Before you post
- I confirm that I've read the guide on how to post issues
- I confirm that I've consulted the wiki about my issue
Your Question
Ask your questions here.
(#304)
- I confirm that I've consulted the wiki about my issue
Your Question
Ask your questions here.
I am using a White Beet Carrier Board EI 1.1 and would like to control it via SPI using a SAMV71Q21B microcontroller.
As you can see in the next 4 oscilloscope images (Figure 1-4), the communication with the configuration commands and the corresponding responses works. However, I have the following problem the pin SPI_TX_PENDING is permanently high (3.3V) when I try to read out the White Beet, it responds to me in the Size Exchange Frame with aa aa 00 00 which means that it cannot send me any messages (Figure 5). What could be the reason that the SPI_TX_PENDING is not set to low?
My second question is if I normally also read the responses via the SPI_TX_PENDING or if I should simply read them with a time delay after sending the configuration command (this is how I currently do it).
Channels: Blue = Clk,, Green = CS, Yellow = MOSI, pink = MISO
Hey @AdrianKn,
Thank you for using the template!
You should read the data only when the TX pending pin is high. Normally the TX_PENDING pin is only high when a framing message is ready to be polled by the host. Are you sure you are not setting the pin high by accident in your host application? Is the Pin high all the time, even with the host disconnected?
To really investigate this issue I kindly ask you to create a new issue using the "bug report" template and provide the log files asked for (e.g. real logic analyzer logs using a file format supported by us).
I will close this issue for now, because you will create a new one.
Thank you,
lho