There is a section in the LPC5410x Errata Sheet (ES_LPC5410x) entitled: "POWER_API.1: The set-voltage API ROM call does not configure the internal regulator correctly for the desired operating frequency"
The stated workaround is the use the power_lib library in LPCOpen v3.xx when setting voltage for a given frequency.
Based on NXP guidance, we are using the MCUxpresso SDK instead of the LPCOpen SDK for our LPC54102 project.
Is the POWER_SetVoltageForFreq() function in the MCUXpresso SDK safe to use? In other words, is it implemented such that it avoids the issue described in the errata sheet?
Hi,
I suppose that it is safe to use the void POWER_SetVoltageForFreq(uint32_t freq); which is defined in the fsl_power.h, the api function can set up LDO output voltage based on core frequency.
Hope it can help you
BR
XiangJun Rong