Tuesday 11 October 2016

Starting frames of BlueNRG

After sending raw data, it was time to send some meaningful data over SPI to BlueNRG and see if it responds properly. In my case I had to send a start up sequence that wakes the x-nucleo from sleep. On receiving this data packet, the x-nucleo is supposed to send back its buffer length and register status in the same SPI transaction. This meant that I had to setup a rotational data structure to send at one end and receive from the other. 

No comments:

Post a Comment