MSP430 MCU reset

Publisher:淡雅时光Latest update time:2012-12-20 Source: 21ICKeywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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.

Keywords:MSP430 Reference address:MSP430 MCU reset

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

How to perform modular programming on 51 microcontrollers
This article mainly introduces the 51 microcontroller, and focuses on a detailed explanation of the principle of the 51 microcontroller and its modular programming. 51 microcontroller 51 microcontroller is the collective name for all microcontrollers compatible with the Intel 8031 ​​instruction system. The ancestor
[Microcontroller]
How to perform modular programming on 51 microcontrollers
How to better reduce the high power consumption of microcontrollers
  Nowadays, there are many single-chip microcomputer application fields that are powered by switching power supply modules and batteries. Energy saving of switching power supply modules has become a common concern of design engineers. I hope everyone will discuss this aspect of MTD2002. The following are some directio
[Microcontroller]
Microcontroller introductory experiment seven
;************************************************; ;Experiment name: 1 independent keyboard controls LED light experiment            ; ;Author:                          Long Yi                                ; ;Version:                        VER 1.0                            ; ;Description:              Beginner'
[Microcontroller]
Comparison of Commonly Used Motor Microcontrollers
Motor control is an important application field of microcontrollers. In recent decades, with the improvement of microelectronics technology, the level of motor microcontroller has developed rapidly. The world's famous integrated circuit chip manufacturers have launched their own products, which has led to an increas
[Microcontroller]
Comparison of Commonly Used Motor Microcontrollers
Analyze and solve the "strange phenomenon of STM8L101 microcontroller IO port simulating serial communication"
Due to work reasons, I need to use the STM8L101F3P6 microcontroller to simulate serial communication with an IO port at a baud rate of 2400bps. My senior colleague has already written the program, and I need to use it to study the low power consumption of this MCU. During the debugging process, I found a strange probl
[Microcontroller]
China's domestic MCU supplier AMEC plans IPO on the Science and Technology Innovation Board
On May 14, CITIC Securities released a summary report on the guidance work for the initial public offering and listing of Advanced Micro-Semiconductor (Shenzhen) Co., Ltd. (hereinafter referred to as "AMD") on the Science and Technology Innovation Board. It was disclosed that CITIC Securities, as the guidance institut
[Mobile phone portable]
Two-wheeled self-balancing electric vehicle designed with ATMEGA16 microcontroller
In the past two years, a kind of transportation tool called a somatosensory vehicle (or a balancing electric vehicle) can often be seen in public places. Due to its convenience and flexibility, it is quite popular and is called the "last mile magic weapon". Its operating principle is mainly based on a basic principle c
[Microcontroller]
Two-wheeled self-balancing electric vehicle designed with ATMEGA16 microcontroller
Determination of Baud Rate in Serial Communication between Single Chip Microcomputer and PC
1 Characteristics of the microcontroller asynchronous communication port and the selection of baud rate The MSC51 series microcontroller has a full-duplex asynchronous communication port. It uses its RXD and TXD to communicate with the outside world. It has two physically completely independent receiving an
[Microcontroller]
Determination of Baud Rate in Serial Communication between Single Chip Microcomputer and PC
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号