This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to read channel 3 of ADC on LPC2119

Hi all,

I have a grasp of setting up the ADC on the LPC2119 (by Phillps NXP). However, when it comes to reading the different channels I seem to be a little lost.

Please could someone explain how you can request the data from a specific channel of the ADC? As reading the ADDR is self explanatory, but reading a specific channel is not mentioned in the datasheet or user manual.

Many thanks

Parents
  • Through reading the user manual which I agree is a very good source of information on the majority of aspects, I have become familiar with how the A/D is set up and how it operates.

    However, I was given the task of reading three channels of the A/D when operating it in software mode. This caused confussion between the terminology of user manual and that given in the task, as the terminology of the user manual didnt make it clear that in programmable mode you had to start and stop each channel one at a time using the ADCR register in order to read from a specific channel.

    Thank you for your help, but I dont think I would of got a response unless I posted my previous rant.

Reply
  • Through reading the user manual which I agree is a very good source of information on the majority of aspects, I have become familiar with how the A/D is set up and how it operates.

    However, I was given the task of reading three channels of the A/D when operating it in software mode. This caused confussion between the terminology of user manual and that given in the task, as the terminology of the user manual didnt make it clear that in programmable mode you had to start and stop each channel one at a time using the ADCR register in order to read from a specific channel.

    Thank you for your help, but I dont think I would of got a response unless I posted my previous rant.

Children