This content is originally created by EEWORLD forum user tiankai001. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source MSP430 MCU Development Record (26) Phenomenon: The problem I am talking about today is the same as the problem in the previous msp430 MCU Development Record (6), but there is a more optimized solution. Experiment: The discovery of the problem is similar. Because the new product requires two batteries, two ADs are required. When the program is initialized, only one AD conversion is performed, and the result is naturally a large current. After both ADs are converted, the current drops. Further testing found that when initializing, as long as the ports corresponding to the two ADs are set as the second function port (that is, set as the AD port), the current will be normal and there is no need to perform an AD conversion. Verification: According to this idea, the initialization part of the program was modified, and only the two AD corresponding ports were configured as the second function port, and the current can be normal . Remarks: This is a trick summarized from practice, but it is still my previous idea: the msp430 microcontroller has a BUG.