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

app: SOFTDEVICE: ASSERTION FAILED error pc=0x16D0C

Hello, when I use NRF52840's SDk15.2, use the usbd_ble_uart_freertos routine, I create a new task named test_thread in it, after the interrupt is disabled, the delay will be around 100us. <error> app: SOFTDEVICE: ASSERTION FAILED error. I printed pc=0x16D0C.

The code for test_thread is as follows:

static void test_thread(void * arg)

{

UNUSED_PARAMETER(arg);

while(1)

{

__disable_irq();

nrf_delay_us(100);

__enable_irq();

vTaskDelay(100);

}

}

Related