analog comparator LPC80x features

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

analog comparator LPC80x features

1,055 次查看
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,046 次查看
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 项奖励
回复