We are going to focus only on ADCR and ADGDR as these are sufficient for simple A/D conversion. The below table shows the registers associated with LPC1768 ADC. When the ADC function is selected for that pin in the Pin Select register, other Digital signals are disconnected from the ADC input pins. The ADC pin can be enabled by configuring the corresponding PINSEL register to select ADC function. The below block diagram shows the ADC input pins multiplexed with other GPIO pins. Usually, the VREFPis connected to VDD.Īs LPC2148 works on 3.3 volts, this will be the ADC reference voltage. The ADC reference voltage is measured across GND to VREF, meaning it can do the conversion within this range. LPC2148 has an inbuilt 10-bit Successive Approximation ADC which is multiplexed among 6/8 input pins of ADC0/ADC1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |