Wrong documentation or LPCOpen driver for BODCTRL register

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

Wrong documentation or LPCOpen driver for BODCTRL register

818 次查看
genisaguilar
Contributor II

The definition of BODCTRL register in the LPC5410x User Manual (U10850.pdf) does not seem to match the way the PMU driver in the latest LPCOpen package (v3.03.000) uses it.

For instance, interrupt level is set through bits 4:3 whereas the driver sets bits 3:2. Also, according to the user manual, bit 5 toggles the reset functions, whereas the driver uses bit 4 for that. See image below.

Maybe I'm looking at the wrong manual or I overlooked any other information?

BODCTRL.png

标签 (2)
标记 (4)
3 回复数

709 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Genis Aguilar ,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.
Thanks for your reporting, I will contacting with the LPCOpen library owner after I checking.
Have a great day,

TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

709 次查看
genisaguilar
Contributor II

Please let me know when you know whether it's an issue in the driver, in the documentation or I overlooked something.

BR

0 项奖励
回复

709 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Genis Aguilar,

It's the issue of the driver, and thanks again.
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------