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

Hard Fault on SD functions not in main

Hello,

i have a problem with the PCA10040. I try to set up a ANT Transmit Channel.

If "ant_channel_init" is called from main everything works fine.

But if it's called from other c file the Softdevice call "sd_ant_channel_assign" end in hardfault. Also other Softdevice calls from this C File end in HardFault. But from Main.c they work.

I've tried with a higher Stack Size which doesn't change the problem.

Any suggestions?

Greets, Andi

Parents Reply Children
No Data
Related