3765 views|6 replies

549

Posts

181

Resources
The OP

Question [Pictures and Truth] --- About MSP430-ADC shutdown problem (ADC10CTL0 &= ~ADC10ON) [Copy link]

I tested the ADC of MSP430 some time ago and found a strange problem. It was about the ADC shutdown problem. In the program, ADC10CTL0 &= ~ADC10ON; did not actually work! In fact, you need to turn off ENC first to turn off this bit, as shown in the following figure

MSP430ADC10转换位.jpg (140.52 KB, downloads: 0)

MSP430ADC10转换位.jpg

MSP430ADC10_ADC10ON关闭问题.jpg (133.42 KB, downloads: 0)

MSP430ADC10_ADC10ON关闭问题.jpg
This post is from Microcontroller MCU

Latest reply

It's the same even if I use ST. Reading the manual is a habit.  Details Published on 2015-9-23 08:40

4170

Posts

8

Resources
2
This post was last edited by huaiqiao on 2015-9-21 23:11 Haha, it seems that the author is a bit careless. You may not have noticed a very important sentence in the user manual. Modifiable only when ENC = 0 That is to say, only when ENC=0, the value of this register can be changed So, the line ENC=0, then turn offADC10ON this one
This post is from Microcontroller MCU

Comments

The second floor is awesome!  Details Published on 2015-9-22 21:56
The second floor is awesome!  Details Published on 2015-9-22 08:06

1647

Posts

1

Resources
3
huaiqiao posted on 2015-9-21 23:01 Haha, it seems that the OP is a bit careless. You may not have noticed a very important sentence in the user manual. Modifiable only when ENC = 0 ...
The second floor is awesome!
This post is from Microcontroller MCU

Comments

Haha, maybe the OP is just careless, not because I’m very awesome.  Details Published on 2015-9-22 08:47

4170

Posts

8

Resources
4
tianshuihu posted on 2015-9-22 08:06 The second floor is awesome!
Haha, maybe it’s just that the host is careless, not that I’m awesome.
This post is from Microcontroller MCU

549

Posts

181

Resources
5
huaiqiao posted on 2015-9-21 23:01 Haha, it seems that the OP is a bit careless. You may not have noticed a very important sentence in the user manual. Modifiable only when ENC = 0 ...
I didn't read it carefully, I was too careless,,, maybe I was used to using the STM library, and didn't read the chip manual carefully!
This post is from Microcontroller MCU

Comments

It's the same even if you use ST. Reading the manual is a habit.  Details Published on 2015-9-23 08:40

4170

Posts

8

Resources
6
hanskying666 posted on 2015-9-22 21:56 I didn't read it carefully. I was too careless. Maybe I was used to using the STM library and didn't read the chip manual carefully!
It's the same even if I use ST. Reading the manual is a habit.
This post is from Microcontroller MCU

Comments

Read the manual carefully!  Details Published on 2015-9-23 09:08

549

Posts

181

Resources
7
huaiqiao posted on 2015-9-23 08:40 It is the same even if you use st. Reading the manual is a habit.
{:1_103:} Read the manual carefully!
This post is from Microcontroller MCU

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

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