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 occurs only 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 are as follows: (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 it is a reset triggered by a POR signal or a 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, in addition to the POR generating a 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.
Previous article:Three typical reset circuits of MSP430 MCU
Next article:Basic features of MSP430 microcontroller
Recommended ReadingLatest update time:2024-11-17 12:20
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- New breakthrough! Ultra-fast memory accelerates Intel Xeon 6-core processors
- New breakthrough! Ultra-fast memory accelerates Intel Xeon 6-core processors
- Consolidating vRAN sites onto a single server helps operators reduce total cost of ownership
- Consolidating vRAN sites onto a single server helps operators reduce total cost of ownership
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- LED downlight replacement dimmable power supply
- CircuitPython OLED Watch/Bracelet
- In-depth Study on Photorelay TLP3547F
- FAQ_ S2LP FEC Rules
- The difference between POR and PUC in MSP430 MCU
- Floating-point C2000 chip calculation skills and points for attention
- DSP6678 NDK network configuration (UDP) points
- Texas Instruments: See how innovations in automation are changing the world
- FAQ_How to determine the phase of the output PWM signal in BlueNRG-12
- Open source Tinygo releases version 0.70