I use the SPI slave function on 51422. When I send a byte(0x31) to 51422 SPI slave from master, 51422 will back a byte (0xAA - DEF byte) to master. Why?
I send 0x31 every 1 seconds, but I always get 0xAA. Why??
I use the SPI slave function on 51422. When I send a byte(0x31) to 51422 SPI slave from master, 51422 will back a byte (0xAA - DEF byte) to master. Why?
I send 0x31 every 1 seconds, but I always get 0xAA. Why??
P.S. I figured out that SPI1_TWI1_IRQHandler is never being called for the second time, and all the NRF_SPIS1 registers are in the same state before and after the transaction (checked it in the main slave example loop).
The problem is solved - I misconfigured my master so that slave select didn't work the proper way
The problem is solved - I misconfigured my master so that slave select didn't work the proper way