Tool/software:
Hello Expert,
I'm encountering an issue with test number 133 (R5FSS0_CORE0_INTR_IN_133) while testing:
In the program, enabling interrupt 133 on R50_0 core and registering a callback function works fine during normal loading. However, after performing a System Reset using CCS (whether it's at any time), upon re-loading the program and enabling the interrupt, it repeatedly enters the interrupt callback function instead of proceeding with the subsequent program execution. The issue resolves when we perform a power reset.
My test code is based on modifications made to the hello world example routine; there are no other operations involved.
void call(void *args) { DebugP_log("callback\r\n"); } void hello_world_main(void *args) { /* Open drivers to open the UART driver for console */ Drivers_open(); Board_driversOpen(); HwiP_Params hwiPrms; HwiP_Object cmpHwiObject; /* Register pin interrupt */ HwiP_Params_init(&hwiPrms); hwiPrms.intNum = 133; hwiPrms.priority = 1U; hwiPrms.callback = &call; hwiPrms.isPulse = 0; HwiP_construct(&cmpHwiObject, &hwiPrms); DebugP_log("Hello World!\r\n"); }
Could you please help me analyze what might be causing this problem?
Thank you,
Best regards
Jimmy