[LPCOPEN] Bug in sysctl_17xx_40xx.h

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

[LPCOPEN] Bug in sysctl_17xx_40xx.h

703 次查看
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
标签 (1)
0 项奖励
回复
1 回复

686 次查看
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 项奖励
回复