I recently purhased an RCM5400W module with a RCM4000 prototype board. I’ve been trying to write an SPI Master dynamic C program using SPI.LIB and having some problems.
So I believe I’ve configured the following:
PB7 = CS
PB0 = CLK
PC4 = MOSI
PC5 = MISO
When I monitor the 4 pins from the scope, I can only see PB7 brought low and PB0 toggling. However, I don’t see PC4 moving at all. What’s wrong with my code?
Any kind soul would help me in the following: i am using 5600w and believe i have configured the following:
PB7 = CS
PB0 = CLK
PC4 = MOSI
PC5 = MISO
Using the new SPi.lib posted here… the SPIwrite is perfect, writing 0xa,0xb,0xc. But at the receiver, i am unable to print out the data received.
This is my coding and i do not know where went wrong and i don’t know if the SPI is reading in the data im writing unless i do a printf: