Zephyr nRF52840
I am working with 2 nRF52840dk. The master side seems to be working as expected. i have monitored it and seen clock, MOSI and CS all working as expected on a scope
The slave is non-responsive. Even though i should be seeing a printout i am getting nothing. and i dont even think the slave is reacting at all because my MISO line does nothing also. and form what i am understanding with the spi_transceive and def-chr value. if i have an empty buffer i should be outputting 0x33
i think it has something to do with the fact i am unable to get csn-pin to compile for some reason so the slave is not responding to the CS activity
overlay - 1 thing, even though nordic,nrf-spis has a csn-pin in its struct, i get an error when i try and set it. error i get below
proj.conf - i just posted everything in my proj file in case there was a conflict. the SPI assertions are at the bottom though
Error i get when i try and use csn-pin
Now my spis.c file seems like this should work but it is not printing out anything and not sure how to confirm if the thread is still running or anything. But I would assume it should just output to printk whatever data it received on the MOSI line. However it prints nothing.
It definitely looks like the thread is starting though. SPI Device: SPI_2 shows it registered devce and SPIS thread begin was my call to show thread started