STM8S103 STM8S003
Although the PA1 pin can wake up the CPU with an external interrupt, the power consumption is too large, with a current of 300uA, and it is not suitable for battery power supply. Therefore, do not use the external interrupt of PA1 to wake up the CPU. PA2 can be used, so in the sample board, I short-circuit the two pins and set PA1 to float.
PB4 and PB5 are I2C pins, which are open circuit inside. If the LED is driven at low level, there will be leakage current in sleep mode, whether it is floating or pulled up. It is about 100UA. It is better to pull up a 1M resistor directly on the pin, rather than using LED as pull-up. Because of leakage current, if no pull-up resistor is added, its voltage is floating and the current increases. This problem has bothered me for a long time. I hate it!
Previous article:STM8S programming method by address increment
Next article:Three-way PWM waveform of STM8S103
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- USB Type-C® and USB Power Delivery: Designed for extended power range and battery-powered systems
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- STMicroelectronics IO-Link Actuator Board Brings Turnkey Reference Design to Industrial Monitoring and Equipment Manufacturers
- What should I do if the BGA spacing is too small?
- How to extend the battery life of your mobile phone?
- How to determine the type of negative feedback in a circuit
- EEWORLD University ---- Machine Learning
- MSP430 library ADC12 module
- Another all-nighter
- GD32F350 development board GD32_CMSIS_DAP driver installation and lighting
- 【RT-Thread software package application works】+ unpacking and development environment establishment
- [STM32WB55 Review] 7# Use and configuration of ADC on STM32WB development board
- Why are we not allowed to take photos without core technology?