Question
Configuration in spi slave mode
Hello.
I'm working with spc560p and I want to enable it's spi slave mode. All connections are OK but the slave is not working. My code is:
for(;;){
spi_lld_start(...);
spi_lld_receive(...,Rxbuf);
spi_lld_stop(...);
if(RXbuf == 0xAA){
pal_togglepad;
}
}
Is there any problem with this code?
Thanks for your attention.
