MSP430 reset signal POR and PUC

Publisher:trendsetter9Latest update time:2016-08-17 Source: eefocusKeywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Here we mainly talk about the reset of the MSP430 microcontroller.

There are two reset signals for MSP430: power-on reset signal (POR) and power-on clear signal (PUC). 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 2 situations:

(1) The microprocessor is powered on;

(2) The system is reset when a low level is generated on the RST/NMI pin.
Conditions for generating the PUC signal:

(1) POR signal generation;

(2) When the watchdog is valid, the watchdog timer overflows;

(3) An error occurred while writing the watchdog timer security key value;

(4) An error occurred while 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 it is a reset triggered by POR signal or PUC signal, MSP430 will read the reset interrupt vector from address 0xFFFE, and the program will start to execute from the address pointed to by the interrupt vector. Among the conditions for triggering PUC signal, in addition to POR generating a triggering PUC signal, other conditions can be used to determine the cause of the PUC signal by reading the corresponding interrupt vector so as to make corresponding processing.
The status after system reset (referring to POR) is:

(1) The RST/NMI pin function is set to reset function;

(2) All I/O pins are set as inputs;

(3) The peripheral modules are initialized and their register values ​​are the default values ​​in the relevant manuals;

(4) The status register SR is reset;

(5) The watchdog is activated and enters working mode;

(6) The 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) Add a 0.1uf capacitor to (1) and ground one end of the capacitor to make the reset more reliable.

(3) Based on (2), a diode of model IN4008 is connected in parallel with the resistor, which can reliably realize the system power-on immediately after power failure.

BOR 

In chips without BOR, if the power-on of the chip is periodic, the power-off VCC must be reduced to Vmin to ensure that a new POR signal occurs when VCC is loaded again. If VCC does not drop below Vmin in a cycle, or because of interference, the POR signal will not occur, so the initial state after power-on will be incorrect.
        For modules with BOR, it should be "When VCC exceeds Vcc(start), the POR signal becomes valid until VCC exceeds V(B_IT+), and then after a delay t(BOR). The delay t(BOR) will be extended accordingly as the angle of the Vcc voltage increases. The hysteresis
Vhys(B_IT-) requires VCC to drop below V(B_IT-) to ensure that the POR signal is generated again through the BOR circuit. V(B_IT-) is higher than Vmin, which enables BOR to provide a valid power failure restart signal when VCC does not drop to Vmin.

        Battery replacement in high-precision devices can cause voltage fluctuations. The zero-power brownout reset (BOR) function is used to reset the MSP430 in low-voltage conditions to prevent unexpected device behavior.

Keywords:MSP430 Reference address:MSP430 reset signal POR and PUC

Previous article:JTAG, SBW, BSL description in MSP430 simulation & burning program
Next article:How to use C language to write high-quality code for MSP430

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

Note on issues when using parallel port JTAG to simulate downloading of MSP430
Today, I spent a long time solving the MSP430 JTAG download problem. Finally, it turned out to be a port mode problem. The default parallel port mode in my BIOS is SSP mode, but if you use JTAG, you need to change it to ECP or EPP mode. Finally, after entering the BIOS and correcting it, there is no problem, and I c
[Microcontroller]
Note on issues when using parallel port JTAG to simulate downloading of MSP430
Microcontroller manages power sequencing and control
    With the rapid popularity of dual-voltage architectures and multiprocessor boards, even simple applications may require several processor voltage rails. Since each processor has its own power-up and power-down requirements, power rail sequencing and control becomes a complex task. The challenge for the power supp
[Microcontroller]
Microcontroller manages power sequencing and control
Study STM32 summary of single chip microcomputer (msp430, c8051, etc.) general learning method
1. A board has the necessary power supply lines and the necessary simulation download and debug lines (such as J-link for STM32)   2. Install the development environment: keil4 (c51 or ARM series registration), it seems that there is also msp430 series. First, make sure what series the board is. IAR EWARM is (ARM
[Microcontroller]
MSP430 Timer Introduction
1. Timer parameters 1.1 Basic Timer typedef enum {   TIMER_A0 ,   TIMER_A1 ,   TIMER_A2 ,   TIMER_B0 ,   TIMER_NUM , }TIMERn; //Timer module 1.2 Timer channel pins and clock selection const GPIO_PIN TIMER_CHANEL_PIN = {// CH0 CH1 CH2 CH3 CH4 CH5 CH6   {{P1,1},{P1,2},{P1,3},{P1,4},{P1,5}}, //TIMER_A0   {{P1,7},{P2,0}
[Microcontroller]
MSP430 Timer Introduction
Understanding the MSP430 SPI bus in one article
The SPI bus system is a synchronous serial peripheral interface; it is a high-speed, full-duplex, synchronous communication bus, and it only occupies four wires on the chip pins, saving the chip pins, while saving space on the PCB layout and providing convenience. It is precisely because of this simple and easy-to-use
[Microcontroller]
Understanding the MSP430 SPI bus in one article
Ultra-low power electronic thermometer solution based on MSP430F
  1 Component Selection   The temperature sensor of this system can be a thermistor. In the measurement range of 10 to 30°C, the resistance of this device varies greatly with temperature, the circuit is simple, the power consumption is low, the installation size is small, and the price is also low. However, the accura
[Microcontroller]
Ultra-low power electronic thermometer solution based on MSP430F
Wireless communication system based on MSP430 microcontroller and nRF905
With the continuous development of information technology, people's demand for communication technology is getting stronger and stronger. Getting rid of the constraints of wired networks and realizing wireless communication has always been a concern for everyone. Today, wireless communication research is becoming mo
[Analog Electronics]
Wireless communication system based on MSP430 microcontroller and nRF905
MSP430 MCU serial write BOOTSTRAP and encryption fuse function
introduction There are many technical solutions for the development and debugging of MSP430 microcontrollers, such as EPROM, OTP, simulation development system, JTAG and BOOTSTRAP. BOOTSTRAP (also known as BootStrap Loader, BSL for short) can be used in conjunction with another Flash simulation tool, the JT
[Microcontroller]
MSP430 MCU serial write BOOTSTRAP and encryption fuse function
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号