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

S332 softdevice not working with ble examples of SDK 12.1.0

FormerMember
FormerMember

Hi, I am new to nrf52 series and I have just started playing with NRF52 series Development kit. I am working on a project that requires the functionality of both ANT and BLE. The hardware I am using is NRF52 series nrf52832 development kit with a PCA10040 V1.1.2016.36 IC. Initially I was using S132 softdevice for BLE development. When I was done with BLE development, I started working on ANT where I came to know that S132 is not going to work with ANT. after a few searches I came to know that I would have to install s332 softdevice if I want complete functionality of both ANT and BLE. Therefore I downloaded S332 v2.0.0 from thisisant.com in evaluation mode. Then I installed the S332 softdevice by using nrfgoStudio. For that I opened the connected nrf52 segger device from the device manager window and then I opened the program softdevice tab. I then clicked the 'erase all' button to erase the device completely. I added the S332 .hex file and clicked the program button to program the softdevice. I also verified it after programming it. here is the image:

nrfgoStudio

After that I installed nrf5 SDK 12.1.0 and then I followed the following steps to configure S332 v2.0.0 with SDK 12.1.0: I unzipped the downloaded nRF5SDK 12.1.0 zipped folder and placed it on desktop.

After unzipping the S332 softdevice zipped file, I copied the header files from s332 softdevice unzipped folder into components/softdevice/s332/headers of nrf5 SDK folder that was placed at desktop. I then opened the SDK folder, and I reached to examples\ble_peripheral\ble_app_uart\pca10040\s132\arm5_no_packs and then I opened the ble_app_uart_pca10040_s132.uvprojx Keil project file.

In keil window, I opened 'options for target' window and then I opened 'target' tab from the top. After that I configured the IROM and IRAM settings as shown below:

Keil configuration

I then opened the nrf_sdm.h header file and then I uncommented the #define ANT_LICENSE_KEY line to add evaluation mode license.

Then I opened the C/C++ tab. Then in the 'preprocessor symbols' area, I replaced the S132 tag with S332 tag in the 'define' area. after that I opened the include path option where I replaced the paths of previous S132 softdevice with S332 softdevice:

image description

include paths window

After that, I pressed the okay button and then I pressed saved button and then I rebuilt all the target files. Then I opened the flash dropdown from the top of main window and clicked 'erase' button to erase the previous program. Then I pressed the download button and all the code burns fine on the nrf52 DK without any errors. But on the DK, there is no flashing of the LED and also the bluetooth is not visible to nrf connect app.

I have tried this exact same procedure with ant examples. they work absolutely fine and the code also works. But when I use S332 for ble_peripheral examples, it stops working. I have been working to resolve this issue since last 3 days but I am failed. Please help me. I will be highly obliged!

Parents Reply Children
Related