LPC546xx: Enable EEPROM clock in AHBCLKCTRL0 before IAP EEPROM write API

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

LPC546xx: Enable EEPROM clock in AHBCLKCTRL0 before IAP EEPROM write API

1,474 次查看
SowmyanKousthub
NXP Employee
NXP Employee

The LPC546xx IAP EEPROM Write page API  does not enable the EEPROM clock for the write operation. This causes  EEPROM write operation to fail when using the IAP API.  This problem does not occur for IAP Read EEPROM page command.

The workaround is to enable the EEPROM clock  ( set bit 9) in AHBCLKCTRL0 register of SYSCON before calling the IAP EEPROM write function.

SYSCON->AHBCLKCTRL[0] |= 0x200;

标签 (2)
标记 (4)
0 项奖励
回复
0 回复数