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
Message
Need explicit power-up of ADC1?
2005-08-11 by brendanmurphy37
Attachments
- No local attachments were found for this message.