Bluenrg-MS returns 0x00 in SPI header after sending command
I have STM32L4 connected to Bluenrg-MS. I am sending data over to the Bluenrg-MS which sends data to peer device. However, after some successful transfers (not consistent: sometimes after 50 notifies and sometimes after 3000 notifies) Bluenrg-MS starts returning 0x00 as its header after STM32L4 sends any command.
in STM32L4 we are also implementing CS line de-assertion and assertion after each transaction and hence we believe that should wake up the Bluenrg-MS.
Not sure what is going wrong. Any help or direction will be much appreciated.
#bluenrg-ms #spi #stm32l4+