analog comparator LPC80x features

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

analog comparator LPC80x features

1,060件の閲覧回数
theodorebelogia
Contributor II

Hi,

Ineed the following feature from an LPC802 microcontroller.

While in deep sleep it needs to wakeup when a voltage from an ADC input exceeds a defined voltage level.

Can I measuse from an ADC and feed the comparator to raise an IRQ while in deep sleep ?

 

Kind regards

Thodoris

タグ(1)
0 件の賞賛
返信
1 返信

1,051件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Regarding your question, I think you can connect the analog  waking-up signal to the multiplexed pin for both ADC analog channel and CMP input pin, for example the PIO0_14/ADC_2/ACMP_I3 for LPC802.

I think you can use the CMP_OUT signal to wake-up the processor in both deep-sleep and power-down mode. You have to configure the PDAWAKECFG and PDRUNCFG registers to set up CMP_OUT waking-up.

For detailed inf, pls refer to section 6.6.27 Wake-up configuration register.

You have to enable the CMP_OUT interrupt and create a ISR.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1650002126090.png

 

0 件の賞賛
返信