[LPCOPEN] Bug in sysctl_17xx_40xx.h

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

[LPCOPEN] Bug in sysctl_17xx_40xx.h

277 Views
lpcware
NXP Employee
NXP Employee
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
Labels (1)
0 Kudos
1 Reply

260 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wellsk on Wed Oct 30 15:19:38 MST 2013
Added as a b ug tracker issue at:
http://www.lpcware.com/content/bugtrackerissue/lpc17xx40xx-bod-control-bits-sysctl-pcon-register-are...
0 Kudos