5544 views|13 replies

8

Posts

0

Resources
The OP
 

Question: How to handle power-off reset of MSP430G2553 microcontroller? [Copy link]

 
This post was last edited by ygyh on 2022-4-21 10:28

I would like to ask all the experts to help me... Please advise: How to effectively reset the MSP430G2553 microcontroller and make it work normally after the voltage is slowly restored after it is powered off for a period of time? How to program the supply voltage monitor (SVS) in the software - which registers should be operated specifically?

The schematic diagram of the MSP430G2553 part is as follows

QQ图片20220421080729.jpg (104.94 KB, downloads: 0)

QQ图片20220421080729.jpg
This post is from Microcontroller MCU

Latest reply

1. The fact that STM32F103 works but 2553 doesn't does not mean that there is something wrong with the quality or design of 2553. 2. The slow rise and fall of voltage will have unpredictable effects on the microcontroller or peripheral circuits and should not be done by software. 3. The slow rise and fall of voltage are outside the normal operating range of the microcontroller. You can refer to the 2553 data sheet for specific requirements on voltage and time for power-on reset and under-voltage reset. 4. For this kind of problem, I personally make a hardware voltage detection circuit, which will not conduct when the voltage is lower than a certain value. For example, if you have a 12V power supply, you can generally use a PNP transistor and a 9V voltage regulator. The PNP will work only when the power supply voltage is greater than 9V, and then it will supply power to the back-end MCU. This is the most correct way to solve the problem of slow voltage rise.   Details Published on 2022-4-22 09:48
 

1790

Posts

0

Resources
2
 

I haven't used this chip.

However, most MCUs have a low voltage reset function, and you can also choose the reset voltage

This post is from Microcontroller MCU
 
 

2926

Posts

0

Resources
3
 

What is the problem you are facing now? ? State the problem directly. MSP430G2553 has a power-on reset function.

This post is from Microcontroller MCU
 
 
 

8

Posts

0

Resources
4
 
tagetage posted on 2022-4-21 12:16 What is the problem you are facing now? ? State the problem directly. MSP430G2553 has a power-on reset function.

I saw in the data about MSP430G2553 that its power supply voltage monitor (SVS) has a control register SVSCTL. But when programming the register SVSCTL, the compiler fails - it prompts "SVSCTL" is undefined. I checked the header file of MSP430G2553.h and couldn't find "SVSCTL". I don't know how to operate the power supply voltage monitor of MSP430G2553. Please give me some specific advice. . . Thanks

This post is from Microcontroller MCU

Comments

What is the problem you are facing now? ? Tell me the problem directly. -----Why do you operate SVSCTL when you have nothing to do? ? ? ? If the power-on is slow and the MCU cannot be reset, you need to solve the problem of slow power-on, not operate the SVSCTL register. You need to explain what problem you are facing now, and netizens will help you solve it.  Details Published on 2022-4-21 16:53
 
 
 

9702

Posts

24

Resources
5
 

https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/118946/msp430g2553

This post is from Microcontroller MCU

Comments

Is there no other solution?  Details Published on 2022-4-21 15:40
 
 
 

8

Posts

0

Resources
6
 
littleshrimp published on 2022-4-21 15:02 https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/118946 ...

Is there no other solution?

QQ图片20220421153806.ipg.png (41.94 KB, downloads: 0)

QQ图片20220421153806.ipg.png
This post is from Microcontroller MCU

Comments

I read the MSP430x2xx Family.pdf document... The register SVSCTL for the supply voltage monitor (SVS) cannot be used (the header file "does not recognize" it) - is it because "msp430g2553 only has undervoltage reset, not svs"?  Details Published on 2022-4-21 15:47
 
 
 

8

Posts

0

Resources
7
 
ygyh posted on 2022-4-21 15:40 Is there no other solution?

I read the MSP430x2xx Family.pdf document. . . The register SVSCTL for the supply voltage monitor (SVS) cannot be used (the header file "does not recognize" it) - is it because "msp430g2553 only has undervoltage reset, not svs"? Then can the "undervoltage reset" "wake up" the MSP430G2553 microcontroller when the voltage slowly rises after power failure? How to coordinate the related hardware design? Please give me specific advice... Thanks... . . . . . . . .

This post is from Microcontroller MCU
 
 
 

2926

Posts

0

Resources
8
 
ygyh posted on 2022-4-21 13:12 Regarding MSP430G2553, I saw in the data that its power supply voltage monitor (SVS) has a control register SVSCTL. But programming the register SVSCTL...

What is the problem you are facing now? ? State the problem directly. -----Why do you operate SVSCTL when you have nothing to do? ? ? ? If the power-on is slow and the MCU cannot be reset, you need to solve the problem of slow power-on, not operate the SVSCTL register. You need to explain what problem you are facing now, and netizens will help you solve it, not the problem of the SVSCTL register you think.

This post is from Microcontroller MCU

Comments

The problem is: in the electrical performance slow-down and slow-up test (0.5V per minute), when the voltage is slowly dropped from 12V to 0V, and then slowly increased from 0V to 12V, the single-chip microcomputer MSP430G2553 will not work. . . . . On the same board, other chips such as STM32F103 can still work normally. Now the question is how to make MSP430G2  Details Published on 2022-4-22 08:16
 
 
 

8

Posts

0

Resources
9
 
tagetage posted on 2022-4-21 16:53 What is the problem you are facing now? ? State the problem directly. -----Why do you operate SVSCTL when you have nothing to do? ? ? ? If you power on slowly, the microcontroller will not...

The problem is: in the electrical performance slow-down and slow-up test (0.5V per minute), when the voltage is slowly dropped from 12V to 0V, and then slowly increased from 0V to 12V, the microcontroller MSP430G2553 will not work. . . . . On the same board, other chips such as STM32F103 can still work normally. Now the question is how to make the MSP430G2553 work normally after the slow-down and slow-up. . . . I would like to ask for specific advice from the masters. . . Thanks

This post is from Microcontroller MCU

Comments

You are right to ask this question. You are the problem you encounter, and you are the problem you should solve.  Details Published on 2022-4-22 09:35
 
 
 

1295

Posts

0

Resources
10
 

The solution lies in the chip on the board! Why do we need 430 when we have a reliable 103? We need to change the hardware to control 430.

This post is from Microcontroller MCU

Comments

Because the 430 chip is responsible for the communication of the peripheral interface PB network power line carrier. . . It must be separated  Details Published on 2022-4-22 12:11
 
 
 

2926

Posts

0

Resources
11
 
This post was last edited by tagetage on 2022-4-22 09:49
ygyh published on 2022-4-22 08:16 The question is: In the electrical performance slow-down and slow-up test (0.5V per minute), when the voltage drops from 12V to 0V and then rises from 0V to 12V, the single-chip MSP430...

You are right to ask this question. This is the problem you are facing and the problem you should solve.

This post is from Microcontroller MCU
 
 
 

2926

Posts

0

Resources
12
 

1. The fact that STM32F103 works but 2553 doesn't does not mean that there is something wrong with the quality or design of 2553.

2. The slow rise and fall of voltage will have unpredictable effects on the microcontroller or peripheral circuits and should not be done by software.

3. The slow rise and fall of voltage are outside the normal operating range of the microcontroller. You can refer to the 2553 data sheet for specific requirements on voltage and time for power-on reset and under-voltage reset.

4. For this kind of problem, I personally make a hardware voltage detection circuit, which will not conduct when the voltage is lower than a certain value. For example, if you have a 12V power supply, you can generally use a PNP transistor and a 9V voltage regulator. The PNP will work only when the power supply voltage is greater than 9V, and then it will supply power to the back-end MCU. This is the most correct way to solve the problem of slow voltage rise.

This post is from Microcontroller MCU
 
 
 

8

Posts

0

Resources
13
 

Thank you tagetage

This post is from Microcontroller MCU
 
 
 

8

Posts

0

Resources
14
 
Daqin Zhengsheng published on 2022-4-22 08:41 The solution is in the chip on the board! Why do we need 430 when we have a reliable 103? We need to change the hardware to control 430.

Because the 430 chip is responsible for the communication of the peripheral interface PB network power line carrier... it must be separated

This post is from Microcontroller MCU
 
 
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
Free benefits: One-click download of premium sensor data without points required!

Sensors play a large role in embedded development. An engineer is usually proficient in only a few types of control chip ...

STM32MP157A-DK1 Evaluation (4) UART and SPI Device Access

  The ST-Link virtual serial port on the board is connected to UART4 of STM32MP157A. If you type characters in the ter ...

Brushless motor drive control hardware circuit sharing

In our work, we often encounter problems with the coordination between hardware and software, which affects our work eff ...

Raspberry Pi Bluetooth Basics - Use of bluezero library

This post was last edited by lb8820265 on 2021-8-8 22:50 There are many libraries for operating Bluetooth in Linux s ...

i.MX6ULL Embedded Linux Development 5- Root File System Improvement

In the previous article, we used BusyBox to build a basic root file system for an embedded Linux system . The basic func ...

ssd1306 Chinese and picture display

This post was last edited by lemon1394 on 2021-8-17 23:19 I have found many Chinese displays of ssd1306 introduced on t ...

[AT-START-F425 Review] CAN Communication of Stacking Blocks

The title of this chip in the review is: Ateli AT-START-F425, the first choice for USB and CAN applications Now let's st ...

[Mil MYC-J1028X development board trial] Unboxing post

Because I have used the Mir MYD-YT507 and felt it was very good, I also applied for the Mir MYC-J1028X development board ...

Is it possible to perform socket communication without IP and port number?

When using socket communication, whether it is internal communication within the local machine or communication betwee ...

[MIL-TI AM62x Development Board-Trial Evaluation] 4. Graphical test based on Python (unsuccessful version)

# 【米尔-TI AM62x Development Board - Trial Evaluation】4. Python-based graphical test The default image of the developm ...

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