Content originally posted in LPCWare by pgr on Wed Oct 30 09:03:22 MST 2013
Dear all,
I just found a small bug in LPCOPEN support of the LPC17xx chip.
In the file sysctl_17xx_40xx.h the brown-out detector related function are false.
Accordingly to the userguide PCON bits 3 to 5 are inverted. So to disable the BOD a 1 should be writed and not a 0.
The 6 following function are then false:
Chip_SYSCTL_EnableBOD(void)
Chip_SYSCTL_DisableBOD(void)
Chip_SYSCTL_EnableBODReset(void)
Chip_SYSCTL_DisableBODReset(void)
Chip_SYSCTL_EnableBODRPM(void)
Best regards
PGR