MSP430 reset signal

Publisher:cyzceeLatest update time:2015-11-09 Source: eefocusKeywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
There are two reset signals for MSP430:
 
document:
 
Power-on clear signal (PUC),
 
Power-on reset signal (POR).
 
Personal understanding:
 
POR is the first power-on reset, PUC is a reset that occurs under power, cold start and hot start.
 
There are also signals that can trigger POR and PUC: 5 from the watchdog, 1 from the reset pin, and 1 from the signal generated by an error in writing the FLASH key value.
 
    The POR signal only occurs in two situations: (1) the microprocessor is powered on; (2) the system is reset when a low level is generated on the RST/NMI pin.
 
    The conditions for the generation of the PUC signal: (1) The POR signal is generated; (2) The watchdog timer overflows when the watchdog is valid; (3) An error occurs when writing the watchdog timer security key value; (4) An error occurs when writing the FLASH memory security key value.
 
 
 
    The relationship between POR and PUC: The generation of POR signal will cause the system to reset and generate PUC signal. However, PUC signal will not cause the generation of POR signal.
 
    Whether the reset is triggered by the POR signal or the PUC signal, the MSP430 will read the reset interrupt vector from address 0xFFFE, and the program will start executing from the address pointed to by the interrupt vector.
 
    Among the conditions for triggering the PUC signal, except for the POR generating the triggering PUC signal, the other conditions can determine the cause of the PUC signal by reading the corresponding interrupt vector so as to make corresponding processing.
 
    The status after system reset (POR) is as follows: (1) RST/NMI pin function is set to reset function; (2) All I/O pins are set to input; (3) Peripheral modules are initialized, and their register values ​​are the default values ​​in the relevant manual; (4) Status register SR is reset; (5) Watchdog is activated and enters working mode; (6) Program counter PC is loaded with the address at 0xFFFE, and the microprocessor starts executing the program from this address.
 
    There are three typical reset circuits:
 
(1) Connect a 100K ohm pull-up resistor to the RST/NMI pin. (2) Connect a 0.1uf capacitor to the ground on the basis of (1), which can make the reset more reliable. (3) Connect a diode of model IN4008 to the resistor on the basis of (2), which can reliably realize the system power-on immediately after power failure.
 
Keywords:MSP430 Reference address:MSP430 reset signal

Previous article:The causes and solutions of msp430 program running away
Next article:[IAR warning] Error[e16]: Segment INTVEC error

Recommended ReadingLatest update time:2024-11-17 00:51

Temperature alarm system based on MSP430 embedded temperature sensor
1. Overall plan of the system The MSP430 microcontroller MCU (Micro Controller Unit) is an ultra-low power 16-bit mixed signal processor launched by TI with rich on-chip peripherals and powerful functions. It includes a series of devices that can be used in different occasions. A significant difference betw
[Industrial Control]
Temperature alarm system based on MSP430 embedded temperature sensor
MSP430 vs. MSP432, who is the strongest?
MSP430 is a legend in the MCU world. It is the benchmark of the lowest power consumption of 16-bit MCU in the world. It has never been surpassed in the past 20 years and is the well-deserved king of low power consumption in the eyes of engineers. In the early years, TI launched the 32-bit low-power MCU product based o
[Microcontroller]
MSP430 vs. MSP432, who is the strongest?
MSP430 Flowing Light Ⅰ
#include msp430f149.h      unsigned char LED;      unsigned int table = {BIT0,BIT1,BIT2,BIT3,BIT4,BIT5,BIT6,BIT7};      void main( void )   {     // Stop watchdog timer to prevent time out reset     WDTCTL = WDTPW + WDTHOLD;     LED = 0XFF;     P2DIR = 0XFF;     P2OUT = LED;     while(1)     {       unsigned int i,j;
[Microcontroller]
MSP430: PWM Generation
#define     PWM                      BIT6 //  Description: This program generates one PWM output on P1.2 or P1.6 using //  Timer_A configured for up mode. The value in CCR0, 25-1, defines the PWM //  period and the value in CCR1 the PWM duty cycles. //  A 50% duty cycle on P1.6. //  ACLK = na, SMCLK = MCLK = TACLK = d
[Microcontroller]
MSP430: PWM Generation
Detailed explanation of capacitive touch MSP430 circuit and LED drive circuit design
  The MSP430 series of microcontrollers are famous for their low power consumption and rich peripheral modules. For capacitive touch applications, the PIN RO capacitive touch detection method of MSP430 supports direct connection of the IO port to the detection electrode without any peripheral devices, which greatly si
[Microcontroller]
Detailed explanation of capacitive touch MSP430 circuit and LED drive circuit design
Software and hardware design and application of cardiopulmonary auscultation skill training system
The examinee uses the stethoscope to transmit the sound of heart and lung auscultation to the human ear, which completely simulates a real auscultation process. The examinee palpates the different positions of the model through the probe of the stethoscope, and uses the stethoscope to auscultate various pathological ch
[Microcontroller]
Software and hardware design and application of cardiopulmonary auscultation skill training system
Application of MSP430F in ETC
  TI's MSP430 microcontroller product series has a 16-bit RSIC architecture and ultra-low power consumption. As the latest product series of MSP430, F5xxx uses 0.18um process for the first time, and the current consumed by 1MIPs is as low as an astonishing 160uA, and the main frequency reaches 25MIPs. At the same time
[Microcontroller]
Application of MSP430F in ETC
Problems encountered during the migration from ucos2 to msp430
1. main.c and other files cannot be linked.   All files must be in one folder. 2. ostimedly() function   is a delay function. During the delay period, this task is suspended, and the CPU executes other ready tasks with the highest priority. When the delay is over, it is added to the ready task queue, and the task wi
[Microcontroller]
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号