Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Need explicit power-up of ADC1?

2005-08-11 by brendanmurphy37

We've had a problem using the ADC1 on the LPC2134. It's still being 
confirmed what the exact problem is, but it looks like the ADC1 
peripheral needs explicit power-up in the peripheral power control 
register (PCONP). The User Manual indicates that all peripherals 
(including ADC1) are powered-up by default, but we're observing that 
bit 20 (corresponding to ADC1) is cleared after a reset. If you 
explicitly set it, everything works OK (if you don't all reads from the 
ADC1 control register return zero, and writes have no effect).

This behaviour is observed only with ADC1: ADC0 for example works just 
fine.

I'd appreciate it if anyone else can confirm this behaviour, or has 
seen anything similar.

Regards
Brendan Murphy

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.