5.2 Observe ADC Functionality and Current Consumption in Data Visualizer
As shown in terminal 0 in Figure 6-5, the ADC result is printed in the same manner as in previous assignment. When rotating the potmeter knob, the print ADC result changes in the same manner. The functionality of this assignment remains the same as the previous one.
- The average current consumption is around 4.0 μA when the digital input buffer on all I/O pins is disabled.
- The average current is further reduced from 4.0 μA to 1.32 μA when the USART TX pin is configured as input during the no ADC data transmission period and only configured as output during the ADC data transmission.
This is a significant reduction of the average current from 3.7 μA to 109 μA in the previous assignment to 1.3 μA in this assignment. The high peak glitches are about 690 μA, the same level as in the previous assignment. It refers to the current consumed for the ADC conversion and USART transmission.