Hi,
I have created new project in MCUexpresso for my custom board and set the peripheral.
1> I have set LPUART1 in peripheral for interrupt mode.
2> Copied the Interrupt handler name and pasted it on main.c
I have set break point is ISR but it doesn't stop in ISR.
I verified the UART TX and RX using polling based and it works fine in polling based.
LPUART peripheral setting in config tool is as below
Please let me know if I am missing anything.
Solved! Go to Solution.
The problem was specific to weak linkage function.
Please refer https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Interrupt-Handlers-in-C-applications/m-p/470665
The problem was specific to weak linkage function.
Please refer https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Interrupt-Handlers-in-C-applications/m-p/470665
No, it's resolved.
You can compare tool generated code with below example code to find difference, it is simplest LPUART1 RX interrupt demo.
\SDK_2.12.0_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\lpuart\interrupt\cm7\lpuart_interrupt.c