I'm developing a project based on the MCXA153VLH microprocessor.
It needs to receive data serially using the LPUART1 peripheral in interrupt mode.
_Ferrari__0-1754062818351.png
Upon receiving data, a dedicated interrupt routine named Rs485Interrupt should be called.
_Ferrari__1-1754062881026.png
I've debugged the code, and the interrupt handler is called correctly,
_Ferrari__2-1754062913014.png
but the s_lpuartIsr array is not initialized, and the program crashes.
_Ferrari__4-1754063033454.png
Have you experienced a similar issue? How did you solve it?
Thank you very much for your help and cooperation
regards