MCUXpresso LPC824 initialization order when using PINT

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

MCUXpresso LPC824 initialization order when using PINT

347 次查看
dropTarget
Contributor I

LPC824/MCUXpresso:

After configuring an input pin to trigger an interrupt using the PINT config tool, GPIO outputs don't work properly.  I have found that if the order of initialization in main() is modified such that BOARD_InitBootPins() is called after BOARD_InitBootPeripherals(), the problem is resolved.

Apparently, PINT configuration is altering the GPIO pins configuration setup in BOARD_InitBootPins() such that outputs no longer function properly.

 

0 项奖励
1 回复

327 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello @dropTarget,

Which SDK and MCUXpresso IDE version are you using? Could you please try it with the newest versions (v2.14.0 and v11.8.0 respectively) for the LPC824?

The example pint_pin_interrupt uses the ConfigTools' functions as PINT_Init() and PINT_PinInterruptConfig() after BOARD_InitBootPins(). Could you please take a look at?

Best regards, Raul.

0 项奖励