Hello,
Trying to send data over SPI bus using SSI module 0. Although the frequency is correct I always see 0x00 on MOSI line.
The SPI is configured with 8 bit data length.
Any idea why this behavior ?
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.
Hello,
Trying to send data over SPI bus using SSI module 0. Although the frequency is correct I always see 0x00 on MOSI line.
The SPI is configured with 8 bit data length.
Any idea why this behavior ?
Here are some ideas (hopefully some are trivial to discount).
1. You are sending 0x00 data
2. You did not configure the SSI0DATA0 and SSI0DATA1 pins properly
3. Your logic analyzer is on the wrong pins (SPIMO is pin 37, PA4; SPISI is pin 38, PA5; One pin is always TX the other RX. They do not change direction when changing from Master to Slave like on some devices.)
Here is a working sample project.
/cfs-file/__key/communityserver-discussions-components-files/908/7245.SPI_5F00_Master.zip
Hello Bob,
So, actually there was a HW issue. The wire was not bound correctly.
Thank you for you support !