Several situations of MSP430 reset

Publisher:平凡的梦想Latest update time:2017-02-19 Source: eefocusKeywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

----------------------------------------------------------------------

1. Watchdog timeout reset

The watchdog overflow reset is caused by not feeding the watchdog in time or not turning off the watchdog at the beginning of the program. The watchdog should be shielded during the debugging phase and the watchdog should be turned off using the WDTCTL = WDTPW + WDTHOLD; statement at the beginning of the program.


2. Stack overflow reset

If the stack overflow causes a reset, you should be glad that you found it. After the program is compiled, you should look at the map to check the current stack usage. The 22×2 stack of 430 and 2471 are both 80B by default, and you can turn on the stack usage alarm. According to the old bird, you should know how much stack you have used. For novices like us, I say that the compiler knows, haha.


3. Reset caused by insufficient voltage and other problems

Since the USB debug of 430 can provide power, sometimes the target board will forget to connect to the power supply. When the program runs to certain places and turns on certain devices, the debug power supply is insufficient, which will cause a reset. The way to avoid forgetting is to change the burning interface to Target power supply for boards with high current.

==================================================



Keywords:MSP430 Reference address:Several situations of MSP430 reset

Previous article:MSP outputs PWM waveform with adjustable duty cycle in real time
Next article:MSP430 uses key interrupt to control the timer to generate a periodic signal lasting 1s

Recommended ReadingLatest update time:2024-11-16 15:53

Design and analysis of reset circuit system based on MSP430 series microcontroller
0 Introduction TI's mixed signal processor MSP430 series microcontrollers are one of the products in the current mainstream MCU market. They are widely used in the field of electronic applications and are favored by more and more electronic designers due to their powerful processing capabili
[Microcontroller]
Design and analysis of reset circuit system based on MSP430 series microcontroller
msp430g2553: dual line 12864 library program
(Display) msp430g2553: dual-line 12864 library program   ************************************************************************************************** LCD12864.H   **************************************************************** LCD12864 2-wire program    rs (CS) has been externally connected to a high level    r
[Microcontroller]
RGB LED mood lighting - MSP430 creates warm lighting
High brightness LEDs are increasingly being used in lighting applications. Here we present a simple "mood light" using only a few components. All three LEDs are powered by a constant current using a switching regulator, while brightness control is done by an MSP430 microcontroller that generates three PWM signals. T
[Industrial Control]
RGB LED mood lighting - MSP430 creates warm lighting
The taste of bitterness before sweetness is all in the making of MSP430UIF emulator
Some time ago, I used my spare time to make an MSP430 USB emulator . I took a lot of detours along the way, so I wrote down the relevant process for future reference: 1. First, solder TPS77301 and its peripherals. TPS77301 is a voltage regulator chip from TI. The output voltage used in the emulator is 3.6V, which is m
[Power Management]
The Development and Characteristics of MSP430 MCU
  The development of MSP430 microcontroller   From 1996 to early 2000, Texas Instruments launched several series, including 31x, 32x, and 33x. These series have LCD driver modules, which are more conducive to improving the integration of the system. Each series has ROM type (C), OTP type (P), and EPROM type (E) chips.
[Microcontroller]
The Development and Characteristics of MSP430 MCU
MSP430 MCU Mode IIC Protocol C Language Program
#include "msp430x22x4.h"         #define I2C_SDA(operation) operation(3,1)     #define I2C_SCL(operation) operation(3,2)     #define PORT_SET(port,bit) P##port##OUT|=(1 bit)     #define PORT_CLR(port,bit) P##port##OUT&=~(1 bit)     #define SET_GPIO_MODE(port,bit) P##port##SEL&=~(1 bit)     #define SET_OUT
[Microcontroller]
Application of color TFT liquid crystal display module based on MSP430 single chip microcomputer
  The basic feature of modern display technology is to sense and process various non-electrical information, such as sound, light, heat, force, number, atmosphere, etc. through certain sensors and processors, transmit them to the display device, and then process and convert them by the display device, and finally conv
[Microcontroller]
Application of color TFT liquid crystal display module based on MSP430 single chip microcomputer
MSP430F249 hardware I2C query method to read and write AT24C02
/****************************************************************** **                                                        ** File : I2C.c | Master Read Write |                                     ** Version : 1.0      ** Description: I2C query method to read and write 24C02                                      
[Microcontroller]
MSP430F249 hardware I2C query method to read and write AT24C02
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号