nrf52832 and S112

Hello,

I am trying to use a blinky example from Nordic SDK (V17.1.0) as a starting point for our custom project. The device on our custom board is nrf52832 with 256k flash, so I wish to use an S112 soft device as it uses less flash space than an S132. I copied and modified the blinky example from the pca10040e directory. This project uses an S112 soft device and nrf52810 microcontroller, so I changed the project settings (preprocessor definitions) to use the nrf52832 microcontroller (see attached photo). I also replaced the startup files with the correct ones. Everything builds ok, but when I try to run it, it crashes at line 574 in main.c (call to function gap_params_init()). When I try to load the same project from directory pca10040 (which uses S132 and nrf52832) it works ok. I also tried to erase the whole flash every time I change the project just to make sure the right soft device is used. Any idea, how to fix this?

Best wishes,

Matjaz Tome

Parents Reply Children
No Data
Related