Hi team,
I have been trying to bring up a custom nRF8001 based BLE board using STM32 MCU. I have ported everything according to this blog shraken, not stirred: Nordic nrf8001 library for ST STM32F4xx devices (shrakeblogshere.blogspot.com)
I have a couple of queries,
1. Is there a minimalistic SPI command that I can send to nRF8001 and expect some data back from the BLE chip knowing that the connections, setup and etc., are done properly before starting any services like UART over BLE.
2. Is it mandatory to use Reset line of the nRF8001 to reset the BLE chip during the setup?
3. Can we use the UART lines of the nRF8001 instead of using SPI to setup or test the BLE? All I'm looking for is a sign that nRF8001 is alive and ready to accept commands.
Debug Logs from the STM, not sure what the ACI command responses meant.
[INFO] (../Core/Src/main.c:558) millis_init passed [INFO] (../Core/Src/main.c:561) nrf8001_setup passed hi Rx_Flag_read is high Sending: Pragmatic BLE data_to_send->buffer[0] = 0f data_to_send->buffer[1] = 15 Rx_Flag_read is high Sending: Pragmatic BLE data_to_send->buffer[0] = 0f data_to_send->buffer[1] = 15 ACI Command 2A Evt Cmd respone: Status 82 Rx_Flag_read is high Sending: Pragmatic BLE data_to_send->buffer[0] = 0f data_to_send->buffer[1] = 15 ACI Command 15 Evt Cmd respone: Status 83 Rx_Flag_read is high Sending: Pragmatic BLE data_to_send->buffer[0] = 0f data_to_send->buffer[1] = 15 ACI Command 15 Evt Cmd respone: Status 83 Rx_Flag_read is high Sending: Pragmatic BLE data_to_send->buffer[0] = 0f data_to_send->buffer[1] = 15 ACI Command 15 Evt Cmd respone: Status 83