lpuart1 RX interrupt issue on MIMxrt1175

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpuart1 RX interrupt issue on MIMxrt1175

Jump to solution
600 Views
sai_shinde
Contributor II

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

sai_shinde_0-1666247283918.png

sai_shinde_1-1666247335817.png

Please let me know if I am missing anything.

 

 

0 Kudos
Reply
1 Solution
582 Views
sai_shinde
Contributor II
0 Kudos
Reply
4 Replies
583 Views
sai_shinde
Contributor II

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

0 Kudos
Reply
565 Views
PabloAvalos
NXP TechSupport
NXP TechSupport

Hi @sai_shinde 

 

Is the problem still persists ?

 

Regards.
Pablo.

0 Kudos
Reply
560 Views
sai_shinde
Contributor II

No, it's resolved.

0 Kudos
Reply
589 Views
jay_heng
NXP Employee
NXP Employee

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

0 Kudos
Reply