We have discussed the reset issue before. In fact, the execution process of the four resets is not the same. After the external reset, the processor first determines the state of P2.10 to determine whether to allow the ISP code. The watchdog reset does not have this function. The following figure briefly describes the external reset process:
The following figure shows the process of watchdog reset:
The four reset modes we have talked about have priorities. In order to distinguish the four reset sources, there is a flag in the RSID register that reflects the reset source.
The power-on reset has the highest priority and can clear other reset flags.
The watchdog reset has the lowest priority, and any other reset can clear its reset flag.
The brownout check reset and external reset have the same priority and cannot clear each other's interrupt flags.
Let's look at the hardware reset process again:
When the 1.8V power supply of the CPU reaches 1.65V, the on-chip RC oscillator starts to oscillate, and it takes some time to stabilize. In addition, during the power-on process, the reset signal needs to remain at a low level for a period of time until the oscillation signal stabilizes.
Once the internal oscillator is stable and the external reset signal is removed, the wake-up timer in the system starts counting the oscillator clock. After the count is full, the processor and all peripheral registers are restored to the default state. You can refer to the following figure for understanding:
Previous article:Quickly learn Arm (34)--System Control Module (3)
Next article:Quickly learn Arm (32)--System Control Module (1)
Recommended ReadingLatest update time:2024-11-16 17:59
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
- Is there anyone who uses relays to perform temperature control PID adjustment? How do you determine the PID parameters?
- Use the timer's long and short buttons
- FPGA Design Flow.zip
- Review summary: Telink's new generation of low-power, high-performance multi-protocol wireless kit B91, free review and trial
- Analyze and constrain timing in ISE
- Altera Recommended HDL Coding Style 2014.pdf
- [Jihai APM32E103VET6S MINI development board review] FLASH test
- I sent the PCB drawings made by a PCB novice to the PCB manufacturer. They said there was a problem with the drawings. I hope the experts can take a look.
- What kind of motors are generally used in surveillance camera pan/tilts?
- Various LED ring light lighting pattern reference designs