Notes on software writing:
Clock Distribution
Whether the main clock starts oscillating normally and is stable, and whether the clocks of various peripherals are turned on
Option bytes configuration
Is the I/O remapping function status consistent with the actual project?
If the watchdog is enabled using the hardware method, the watchdog becomes effective immediately after reset and the main program must feed the watchdog.
If the MCU main frequency is higher than 16MHz, the MCU wait period of the option byte needs to be configured as 1
Some bits of the status register are cleared by reading the register, so the consequences of such register operations must be clear.
It is recommended to allocate frequently used variables in Zero page, which can improve the access speed of these variables. For infrequently used variables, @near can be used to define them in the area outside 0xFF (relatively speaking, the access speed is slightly slower). Users can decide according to actual conditions.
Previous article:STM8 online simulation ---- advanced application
Next article:Further understanding of STVD/COSMIC
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- ASML predicts that its revenue in 2030 will exceed 457 billion yuan! Gross profit margin 56-60%
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- Comparison between fixed-point dsp and floating-point dsp
- Reliability Design of PCB Board for High-speed DSP System
- Silergy SY5072 specification sheet help
- Please help me find out which movie the characters in the attached picture are from. Thank you.
- Renovation of old items + transformation of discarded charging heads into bathroom lighting
- How should I draw the various layers of the Allegro pad pins?
- MSP430 variant 3-wire SPI bus implementation (for DS1302 clock chip)
- EEWORLD University Hall----Overview of Operational Amplifier Technology
- Design of multifunctional air quality detection system based on Gizwits IoT platform
- TMS320C6678 development routine manual study 1