The system reset module provides a start signal to ARM, which is the beginning of the operation of the entire system. The reset signal of ARM is RESET. If it is valid, the system reset will be generated internally. RESET suspends the program and puts ARM into the reset state. When the power is turned on and stable, RESET must remain at a low level for at least 4 MCLK cycles. This system uses a reset circuit designed with a capacitive resistor circuit, as shown in Figure (a). The key reset can also be designed as shown in Figure (b).
If the power chip has a reset pin, a low-level reset signal can be output for power-on reset, and the reset signal may not be used.
As shown in Figure (a), the working process of the reset circuit is as follows: when the system is powered on, the capacitor C1 is charged through the resistor R1. When the voltage across C1 does not reach the high-level threshold voltage, the Reset terminal output is a low level and the system is in a reset state; when the voltage across C1 reaches the high-level threshold voltage, the Reset terminal output is a high level and the system enters a normal working state.
When the user presses button S1, the charges at both ends of C1 are discharged, the Reset end outputs a low level, the system enters the reset state, and then repeats the above charging process, and the system enters the normal working state.
A two-stage NOT gate circuit composed of a 74HC32D chip is used for button debouncing and waveform shaping. The reset state time can be adjusted by adjusting the parameters of R1 and C1.
Figure ARM system reset circuit
2. Debugging of reset circuit
ARM is in reset state when powered on, and RS is low to reset the chip. In order to initialize the chip correctly, RS should be low for at least 5 CLKOUT cycles, which is about 125ns when the speed is 25ns. However, since the system's crystal oscillator often needs several hundred milliseconds to stabilize after power-on, the time that RS is low is mainly determined by the system's stabilization time, which is generally 100 to 200ms.
After the power supply part works normally, the ARM and its peripheral circuits such as the reset circuit should be debugged. Of course, simple output can also be performed. Two LEDs are used here, and these two LEDs are also the two control outputs of the terminal.
The process of testing the reset circuit is: disconnect the DE from the core board, that is, disconnect the JTAG debugging interface. Note that you should cut off the power supply on the board before disconnecting the JTAG interface cable. Then power on the core hardware board. At this time, the LED will flash. After the program is running, one LED will flash. When the reset button is pressed, the system is in the power-on initialization period. If the reset button is not released, all I/O ports will remain at a high level, and then both LEDs will light up; release the reset button and the program will restart. If the function is normal, the reset circuit is debugged.
Previous article:ARM video surveillance platform
Next article:ARM reset principle
Recommended ReadingLatest update time:2024-11-16 22:47
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
- 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!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Electromagnetic waves and antennas
- The voltage difference of bq4050 with load is very high, almost 1V. How to solve this problem? It is two strings of batteries.
- 2.4 GHz CDMA Radio Transceiver CYWUSB6934 Application Circuit
- It feels like USB3 isn't popular yet, and USB4 is here!
- On Unjust Death and Redress
- LED stepless color temperature adjustment solution GP9101
- How much does it cost to build a 5G base station? The total investment is staggering
- What is the difference between feedback and howling?
- Types of Motion Controllers
- What are the uses of SVC and PendSV exceptions?