BSP_CFG_HANDLE_UNRECOVERABLE_ERROR(0) with RA2L1 when using R_IOPORT_PinWrite

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,