Design and Analysis of Reset Circuit System of MSP430 Series Microcontroller

Publisher:superstar10Latest update time:2012-03-29 Keywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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 capabilities, high peripheral device integration, low power consumption, comprehensive product series, and full range of industrial grade. Due to the design problems of the reset circuit , the system does not work or the status is incorrect after power-on. This is a problem that many MSP430 microcontroller circuit designers have encountered in design, debugging and application. Although the probability of this happening is very low, for applications with high reliability requirements, this phenomenon still needs to be paid enough attention by electronic designers.

To this end, this paper conducts a detailed and in-depth analysis of the reset system and reset mechanism of the MSP430 full series of microcontrollers, and specifically proposes a specific peripheral reset circuit design scheme and a detailed introduction to related electronic components for reference and communication among peers.

1 MSP430 reset mechanism

1.1 MSP430 reset circuit

The reset circuit of MSP430 includes a power-on reset (POR) and a power-on clear signal (PUC). POR is a device reset signal, which is usually triggered when the following three events occur: a. Power on; b. RST/NMI pin appears low level in reset mode; c. Voltage monitoring device (Brownout) triggers.

The POR timing is shown in Figure 1(a).

The POR timing is shown in Figure 1(a) www.elecfans.com

When the supply voltage VCC rises slowly, the POR monitor keeps the POR signal valid until VCC exceeds the VPOR level; when the supply voltage VCC rises quickly, the POR delay t (POR DELAY) provides a valid POR signal long enough to ensure that the MSP430 has enough time to initialize.

1.2 Brownout circuit

The Brownout circuit is a circuit for resetting the voltage when the circuit is under voltage. It replaces the POR detection and POR delay circuits. The Brownout circuit can detect the lower supply voltage value during power-on or power-off, and can reset the chip by triggering the POR signal during power-on or power-off. Figure 1(b) shows the reset timing of the Brownout circuit. As can be seen from the figure, the POR signal is valid when VCC exceeds the start voltage VCC(start-t), and the POR signal remains valid until the VCC voltage value is higher than the limit voltage V(B_IT+) and after a delay of t(BOR); the hysteresis voltage Vhys(B_IT-) is used to ensure that the supply voltage must be lower than V(B_IT-) before the Brownout circuit generates the next POR signal.

1.3 Analysis of reset failure process

In the case of no Brownout reset circuit, if the power supply of MSP430 is periodic, when the power is powered on again, the power supply voltage VCC must be lower than Vmin (see Figure 1) during the decline period of the previous cycle or when disturbed to ensure the occurrence of the POR signal. If VCC cannot be lower than Vmin, the POR signal will not be generated. At this time, even if a low-level signal appears in RST/NMI, a valid POR signal will not be generated and the system cannot be reset normally.

Brownout reset circuit exists in some MSP430 series chips, such as MSP430F13X and MSP430F14X series do not have Brownout circuit. For chip application systems without Brownout circuit, due to interference, power grid fluctuations, misoperation and other reasons, a short voltage drop causes the voltage to fail to meet the POR condition (lower than Vmin) when the power supply is restored. The low-level reset signal at the reset end cannot restart the system to reset the system, and the system freezes. Although this phenomenon does not occur frequently, it is fatal to remote automatic control systems that cannot be manually reset at any time.

Before designing the circuit, carefully read the product technical manual and design different reset circuits according to the different application conditions of each series of chips.

2 Reset circuit design method

2.1 Raising the reset threshold

Increase the reset threshold Vpor' of MSP430, make Vpor' be within the normal working voltage range of MSP430, and close to the minimum threshold Vcc min when MCU is working normally. At this time, it can be guaranteed that when the power supply voltage is near Vcc min and MCU can still work normally, a reset signal is sent to MSP430 at the threshold. At this time, the value of Vpor should be between the lower limit of the power supply (Vp min) and the lower limit of the normal working voltage of MSP430 (Vcc min). As shown in Figure 3.

MSP430F149 is one of the most widely used MSP430 chips. Its operating voltage range is between Vcc min=1.8V and Vcc max=3.6V. When the low voltage drop linear regulator TP-S76033 is selected, its supply voltage Vp max=3.34V and Vp min=3.23V. At this time, the reset threshold range should be between 3.23V and 1.8V. In order to improve the conditions for reliable operation of the system, Vpor should be selected as low as possible. Select the reset chip MAX809S (as shown in the right figure of Figure 4), and its reset threshold is 2.89V (Vpor min) 复位信号,msp430f149执行por复位过程,避免死机。< p="">

This method is suitable for situations where the tolerance of the power supply system is very small and the power supply voltage accuracy is very high.

2.2 Prolonging the external reset signal time

Since the internal POR of MSP430 only provides reset when powered on, the above method cannot trigger an effective reset when the supply voltage drops below Vpor but is still above Vcc-min and recovers quickly (the second voltage drop shown in Figure 1 (a)). In this case, you can extend the duration of the reset signal or increase the reset cycle. Allowing the reset signal to maintain a sufficiently long period after the voltage value recovers can still cause the chip to reset normally. The MAX809S can maintain an effective reset signal for up to 140ms, which is much longer than the sum of the effective reset signal requirement time (25μs) of the MSP430F149 and the POR signal maintenance time (250μs). When the system encounters voltage fluctuations within a period of 120ms, it can ensure that the system is reset correctly.

By using the reset chip MAX803 with a watchdog timer, the reset signal sending interval can be controlled to be as long as 1s, which is suitable for use in voltage fluctuations with longer periods.

2.3 Monitoring Power Supply

For power supply systems with a large tolerance range (such as when the range of Vp in Figure 3 (a) is greater than or close to the range of VCC), low voltage accuracy, or when the power grid is operating in an undervoltage state for a long time, simply lowering the reset voltage threshold will cause the system to reset frequently under normal working conditions. At this time, the power supply voltage can be monitored. When the above voltage fluctuations are detected, the monitoring chip sends a voltage abnormality signal to the MSP430. The MSP430 responds to the signal and interrupts the running program to enter the power-off protection subroutine and set the reset status register to avoid the failure to start the POR reset due to the register status error at the next power-on.

The MAX6342 is a reset chip with an internal power-fail comparator. The comparator feeds the unstable voltage into the regulator and generates power for the processor and monitoring circuits. Because the unstable voltage drops before the regulator output voltage, a power-fail signal (PFO) is generated after detecting an unstable or lower voltage. The MSP430 enters the power-down processing procedure before being reset.

3 Conclusion

For the sub-series MSP430 microcontrollers with different internal reset mechanisms (Brownout circuits), in the face of different system working environments, the reset circuit can be designed by increasing the reset threshold, extending the reset time, and monitoring the voltage source, which can effectively avoid the problem of occasional reset failures encountered in actual applications and improve the reliability of the system. Practice has shown that the above method can effectively reduce the occurrence of occasional reset failures in the system.

Keywords:MSP430 Reference address:Design and Analysis of Reset Circuit System of MSP430 Series Microcontroller

Previous article:TI OMAP3430 multimedia application processor
Next article:S3C825A single chip microcomputer structure and software design

Recommended ReadingLatest update time:2024-11-16 19:49

Design of ultrasonic heat meter based on MSP430FW42X single chip microcomputer
1 System principle and structure of heat meter 1.1 Basic principle of heat meter Working principle of heat meter: heat meter is installed in the heat exchange system, and paired temperature sensors are installed on the heat exchange inlet and outlet pipes respectively. When water flows through the system, the flow se
[Microcontroller]
Design of ultrasonic heat meter based on MSP430FW42X single chip microcomputer
MSP430 SPI interface DMA mode communication
Because the speed of writing flash to the node was too slow under the tinyos system, I began to suspect that there was something wrong with the SPI speed, so I later directly read and wrote FLASH on the bare metal on IAR to see how fast it could go. I used the DMA mode of the SPI of the 430 The reason why DMA mode is
[Microcontroller]
How to improve MSP430 C language programming efficiency
About code efficiency ———————— The programming guidelines of the MSP430 series are conducive to improving code efficiency. It should be pointed out that these guidelines are basically proposed based on the hardware structure characteristics of the MSP430 series. 1. The execution of the bit field type is very slow, s
[Microcontroller]
How to use MSP430 to build touch buttons
The touch button is mainly realized by detecting the number of oscillations of the RC oscillation circuit built on the board-level system within a fixed time. If the number of oscillations changes significantly, it is judged as a touch state. Then the number of oscillations is mainly determined by the value of RC. The
[Microcontroller]
How to use MSP430 to build touch buttons
MSP430 flash operation
Today, I studied the flash operation of msp430. Many people may read my blog and find that many people on the website have summarized it better than me. I admit this because my ability is limited. However, from this blog, I will refer to the blogs written by the masters in the past, add the links of the blogs written
[Microcontroller]
Application of MSP430F in ETC of highway non-stop toll collection system
       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
[Microcontroller]
Application of MSP430F in ETC of highway non-stop toll collection 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
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
Latest Analog Electronics Articles
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号