I'm developing a project based on the MCXA153VLH microprocessor.
It needs to receive data serially using the LPUART1 peripheral in interrupt mode.

Upon receiving data, a dedicated interrupt routine named Rs485Interrupt should be called.

I've debugged the code, and the interrupt handler is called correctly,

but the s_lpuartIsr array is not initialized, and the program crashes.

Have you experienced a similar issue? How did you solve it?
Thank you very much for your help and cooperation
regards