NRF51422 stuck in ble_app_template example

Hi!

I am working on a project with NRF51422QFAB.

First I tried a simple program, which runs well.

After that I would like to try out my own board antenna with the ble_app_template example but unfortunately, the code stucks really early.

I use the NRF5 SDK 10.0 and Soft device S130.

I use the NRF5 SDK 11.0, but I get the same result.

I tired with NRF5 SDK 12.3.0, too, but I get the same result.

This is where the code stucks:

err_code = sd_softdevice_enable(p_clock_lf_cfg, softdevice_fault_handler);

This is the build config:

This is my shematic:

This is the antenna design:

Do you have any idea why is it not working? :/


Thank you!

Balazs

Parents Reply
  • The QFAB variant only have 128kB flash size, so I suspect you are exceeding that then:

    So the entire code size is 0x20000 (128kB), so if for for instance the softdevice is using the first 0x1B000 (108kB), then the remaining size for the application is 0x5000 (20kB).

    The ram size is 0x4000 (16kB), so if for instance the softdevice is using the the first 0x1870 (6kB), then the remaining size for the application is 0x2790 (10kB).

    Best regards,
    Kenneth

Children
Related