IAP commands not working after PLL set

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

IAP commands not working after PLL set

886 次查看
richardrobson
Contributor I

Hi

Im using a lpc1549 and trying to use the IAP commands (particularly the eeprom read/write). This seems to work at the base 12MHz frequency, until I set the PLL to be 72MHz and set the main system clock to be PLL. It doesn't matter if I use the IAP setPLL function of my own bit twidding function.  Then calling an IAP command results in a hardware error

Does this mean I can't use the commands if running at full speed? or is there something I need to do ?

Thanks for your help

Richard

标签 (1)
0 项奖励
回复
1 回复

764 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Richard, 

I just review the example of periph_iap provided in the LPCOpen, and the main system clock is set to 72MHz since the beginning and the example works fine. I recommend you to use this as a guide for your project to see which configurations you are missing.

Hope it helps! 

Have a great day, 

Victor.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复