We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Zoomed-in
Expected output: 0x0 0x0 0x0 0x58
We see the 0x58 being received on MOSI, but still not aligned with the clock.
The rx_buff received all zeroes.
Please help us resolve this and state a reason for the same.
Have you verified the SPI mode? With the little knowledge that I have regarding SPI clock not aligning might occur if the SPI mode (clock phase and polarity) is not set correctly.