Disabling unused peripherals

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Disabling unused peripherals

905件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Muis on Thu Jan 31 08:26:40 MST 2013
There are a lot of peripherals that I dont use continously (ADC, I2C, UART, SPI), but only once a second for example. Does it make sense to disable power to these peripherals (using PDRUNCFG) between accesses, or they optimized to automaticly use less power when not being used?
0 件の賞賛
返信
2 返答(返信)

887件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Wed Jul 15 15:06:05 MST 2015
Hi,
In some devices PDRUNCFG register should be program to power-down unused peripheral. Similarly PCONP register is used to power-down devices like LPC175x_6x,LPC178x_7x and LPC407x_8x
0 件の賞賛
返信

887件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Fri Feb 01 06:51:27 MST 2013
This is a tricky one ...

I don't know PDRUNCFG, could not find this in the lpc17xx user manual, but PCONP disables the clock to theperipheral to conserve power.

So I guess the peripheral stays powered up and all (static) registers stay the same. What I do now know is how the peripheral reacts when the clock is switched off and on again while active.
Note that the peripherals you mention take some time to complete the actions taking place. So I don't think this is a good idea (the overhead in your software will also use extra power).

I'd prefer to just switch to a lower clock frequency and keep the peripheral active. But you are free to try this ...

Rob
0 件の賞賛
返信