Interrupt function of JN5189

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Interrupt function of JN5189

1,188 次查看
liyouliu
Contributor II

hello
I want to learn the interrupt function of JN5189, where do I find what related materials and how to learn?
What interrupts does JN5189 provide and how do I see their priority?
Looking forward to your reply!

0 项奖励
回复
3 回复数

1,174 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @liyouliu

Hope you are doing well.

You can consult the MCUXpresso SDK API Reference Manual_JN5189 (from JN5189 SDK_doc > docs), here you can find more information on peripheral functionality and their corresponding APIs; these APIs focus on the control, configuration and function of basic peripheral operation, as well as some typical use cases. You can also refer to the driver examples codes from the JN5189 SDK.

Also, Connectivity Framework Reference Manual (inside JN5189 SDK_doc > docs > wireless > Common) provides information on framework services such as Timers' Management, Keyboard, GPIO.

Regards,
Eduardo.

0 项奖励
回复

1,164 次查看
liyouliu
Contributor II

Thank you for your reply.

I want to know which interrupt priority is higher for GINT and PINT, and I can't find that information in the relevant file. I want to implement interrupt nesting.

Where does JN-AN-1243's Interrupt priority configuration reside, and where is its corresponding Interrupt Handler?

Looking forward to your reply!

 

 

0 项奖励
回复

1,151 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

You can refer to this community post by Erich Styger related to ARM Cortex-M interrupts and APIs: Interrupt Priority settings in MCUXpresso IDE. Also, please take a look at the JN5189 User Manual, Chapter 9 Nested Vectored Interrupt Controller (NVIC).

Using JN-AN-1243 as reference, some interrupt priorities should be set in the app_main.c file corresponding to each Device type, and this App Note should already implement GINT for button handling.

Regards,
Eduardo.

0 项奖励
回复