LPC4337 EMC initialization and RGU

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

LPC4337 EMC initialization and RGU

251 Views
atsuyosano
Contributor I

Hello.

I'm developing with the LPC4337. EMC initialization:
Chip_EMC_Dynamic_Init((IP_EMC_DYN_CONFIG_T *) &IS42S32800D_config);
Chip_EMC_Static_Init((IP_EMC_STATIC_CONFIG_T *) &fpga_config);

However, when I initialize Timer1 after this, the EMC doesn't work properly. Chip_RGU_TriggerReset(RGU_TIMER1_RST);

If I comment out the Timer1 initialization, it works properly.
Why is this?

//-----------------------------------------------------------

こんにちは。

LPC4337 で開発を行っています。EMC初期化。
Chip_EMC_Dynamic_Init((IP_EMC_DYN_CONFIG_T *) &IS42S32800D_config);
Chip_EMC_Static_Init((IP_EMC_STATIC_CONFIG_T *) &fpga_config);

ところが この後 Timer1 の初期化を行うと EMCが正常に動作しません。 Chip_RGU_TriggerReset(RGU_TIMER1_RST); 

Timer1 の初期化をコメントアウトすると 正常に動作します。
なぜでしょうか

0 Kudos
Reply
1 Reply

202 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @atsuyosano 

Please try to initialize the timer before initializing the EMC.

Also, check whether the timer interrupt is enabled. If it is, please try to disable the interrupt first.

If the issue persists, please send your project and I'll help you check it.

Thank you.

 

BR

Alice

 

BR

Alice

0 Kudos
Reply