Hello everyone,
I am currently working on a project with the RA2L1 kit. During testing, I encountered an issue when calling the following function:
R_IOPORT_PinWrite(&g_ioport_ctrl, MOT4A, BSP_IO_LEVEL_HIGH);
This operation triggers the following error:
BSP_CFG_HANDLE_UNRECOVERABLE_ERROR(0);
This error completely blocks the system. Has anyone encountered this issue with the RA2L1 or have any ideas on how to resolve this block?
Thank you very much for your help!
Best regards,
Thank you for your response. Here is some additional information:
R_IOPORT_PinWrite(&g_ioport_ctrl, MOT4A,BSP_IO_LEVEL_HIGH);
Hi tec,
I try to replicate this on my board, but it works fine. Do you call this api before R_IOPORT_OPEN?
I added this API, but the issue still persists. Is there any way to disable the BSP_CFG_HANDLE_UNRECOVERABLE_ERROR(x) macro?
Can you please share your project to me?
Or you can create a new project and only add R_IOPORT_PinWrite(&g_ioport_ctrl, MOT4A, BSP_IO_LEVEL_HIGH); in your codes to see if it is a hardware fault.