This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am trying to run gpio_input_interrupt for my LP-AM243 Launchpad, but I am getting the following Console report -
[MAIN_Cortex_R5_0_0] [Error] Sciclient event config failed!!!
ASSERT: 0.2224s: ../board.c:Sciclient_gpioIrqSet:97: FALSE failed !!!
This was not expected! I am running this with no mods, why is this not working?
Thanks :)
-J
this still happens daily. I can usually just clear this with a power reset, not sure what is causing this though
Hi Justin,
The function call Sciclient_rmIrqSet() in Sciclient_gpioIrqSet() configures a GPIO Interrupt Router (IR) output to connect the GPIO bank interrupt to the R5FSS0 VIM. The ASSERT failure is from Sciclient_rmIrqSet() failing to configure the GPIO IR. I've seen this happen when the GPIO IR output is already configured.
When the board is power cycled, the IR output configuration register is reset to default (0), so the failure won't occur.
The GPIO IR output register should also be cleared by Board_gpioDeinit() at the end of the example program, or you can manually poke 0 into the register.
The register is at address 0x00A00024.
Regards,
Frank