Post Go back to editing

AduC845 channels

Thread Summary

The user is unable to read data from all 8 analog input channels (AIN1 to AIN8) simultaneously on the ADuC845. The final answer explains that the ADuC845 has only two ADC blocks (Primary and Auxiliary) and can handle at most two channels at a time. The user can configure the input channel as AINCOM-AINCOM, but this uses the same pin as differential input.
AI Generated Content
Category: Software
Product Number: ADuC845

I am using AduC845 for designing an Analog to Digital converter card. I am using 8 pins of port 1 i.e. AIN1 to AIN8 as my analog input pins. I programmed AduC845 to read the output digital data but was unable to read the output data of all the 8 input analog channels simultaneously. I am only able to read the data of one channel at a time. What should I do?

Parents
  • Hi,

    The ADuC845 has only two ADCs block that can handle the Analog to Digital conversion. This is the Primary and Auxiliary ADC block.

    You cannot use the AIN1 to AIN8 simultaneously since they are passing through the MUX towards the ADC block. I think you can try to read data at most two channels at a time.

    Regards,
    Karl

  • In Primary ADC channel selection register ( ADC0CON2 ), if i assign ch1, ch2,ch3,ch4  as 1,1,1,1, then it will configure AINCOM-AINCOM as input channels. But how is it possible?? Or is it for other use??

  • The data sheet shows that you can configure the input channel as AINCOM-AINCOM, but I will have to get back to you if this has a specific purpose.

Reply Children

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.