lpuart1 RX interrupt issue on MIMxrt1175

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lpuart1 RX interrupt issue on MIMxrt1175

ソリューションへジャンプ
873件の閲覧回数
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 件の賞賛
返信
1 解決策
855件の閲覧回数
sai_shinde
Contributor II
0 件の賞賛
返信
4 返答(返信)
856件の閲覧回数
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 件の賞賛
返信
838件の閲覧回数
PabloAvalos
NXP TechSupport
NXP TechSupport

Hi @sai_shinde 

 

Is the problem still persists ?

 

Regards.
Pablo.

0 件の賞賛
返信
833件の閲覧回数
sai_shinde
Contributor II

No, it's resolved.

0 件の賞賛
返信
862件の閲覧回数
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 件の賞賛
返信