This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Deigning BLE sensor Network

I want to extend the ble_app_multilink_central for pca10028 Example to be able to communicate with a sensor via SPI and then initiate a connection with another pca10028. but I have a problem with the SPI driver, after testing i found out that this function bsp_configuration() stops the program from executing.

in another attempt to solve the problem i tried to make this example spi_master_with_spi_slave as my template. it is a peripheral example that doesn't require a softdevice but when i tried to program the SoftDevice first (because i will need it later for designing the NW) but then while flashing the program i get Error in Keil: Flash download Failed cortex M0 and i cant figure out the reason for that.

Parents
  • What is the ble_app_multilink_central_s120_spi_pca10028 example? It doesn't exist in our SDK. You need to explain what you are doing or include some code showing what you are doing. Please edit/update your question. In your other attemt you get an error because you are trying to flash your application on top of the SoftDevice in flash. It is better to start with a BLE example and then include SPI. But get the SPI to work without SoftDevice first.

Reply
  • What is the ble_app_multilink_central_s120_spi_pca10028 example? It doesn't exist in our SDK. You need to explain what you are doing or include some code showing what you are doing. Please edit/update your question. In your other attemt you get an error because you are trying to flash your application on top of the SoftDevice in flash. It is better to start with a BLE example and then include SPI. But get the SPI to work without SoftDevice first.

Children
No Data
Related