2656 views|0 replies

6366

Posts

4937

Resources
The OP
 

MSP430 MCU Development Record (26) [Copy link]




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.


This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list