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??
Hi,
That indicates that an ignored transaction has occurred (DEF register is set to '0xaa' in the SDK example).
Best regards Håkon
Up to 2MHz is within spec and should be working. Yes, just make sure that both SPI-Master and Slave has the same SPI mode set. It might be that the SPIM clocks out data too fast after CSN is asserted, and adding a delay can work around this.
-H
Up to 2MHz is within spec and should be working. Yes, just make sure that both SPI-Master and Slave has the same SPI mode set. It might be that the SPIM clocks out data too fast after CSN is asserted, and adding a delay can work around this.
-H