LPC power profile API & Remark

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

LPC power profile API & Remark

Jump to solution
743 Views
yoshiyukiokada
Contributor III

I'm using LPC812.

Can I change the value of SYSAHBCLKDIV from "1" to "12" after I call set_power routine with low current mode?

I'd like to use power profile API, set_power routine. 

According to a LPC81x Users manual, SYSAHBBLKDIV should be kept "1" while using the set_power routine as below, 

"Remark: Use the set_power routine with SYSAHBCLKDIV = 1 (System clock divider register, see Table 29 and Figure 47)."

On the other hand, I'd like to make system clock 1MHz without using System PLL to pursue low power consumption. Therefore, I set the clock configuration as below;

Main clock :12MHz ( drive from IRC oscillator) 

System clock : 1MHz ( main clock is divided into twelve, SYSAHBCLKDIV = 12 )

I'd like to change the value of SYSAHBCLKDIV from "12" to "1" after I call set_power routine, however, I'm afraid it will conflicts with the Remark.

Best regards,

Labels (1)
0 Kudos
1 Solution
511 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Yoshiyuki Okada,

   Test result is the most useful guarantee, if your current consumption is really decreased, and your code function is working OK, it is really useful. Document won't write every details.

   But, if you meet the problem in the future, just post the question, and let us know.


Have a great day,
Kerry

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

View solution in original post

3 Replies
511 Views
yoshiyukiokada
Contributor III

Hi Kerry,

I've tried it with my lpc812 xpressso board and confirmed that the current consumption decreased by 200uA.

However, I'm not sure weather my trial is appropriate or not since I couldn't fined any documents guarantee my way.

Best regards

Yoshiyuki 

0 Kudos
512 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Yoshiyuki Okada,

   Test result is the most useful guarantee, if your current consumption is really decreased, and your code function is working OK, it is really useful. Document won't write every details.

   But, if you meet the problem in the future, just post the question, and let us know.


Have a great day,
Kerry

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

511 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Yoshiyuki Okada,

    After you call set_power , I think you can set SYSAHBCLKDIV from 1 to 12.

   You can try it on your side, if you meet any question after you modify it, please let me know!


Have a great day,
kerry

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

0 Kudos