本帖最后由 Mr.liu 于 2018-4-19 10:32 编辑
貌似网上很少STM8L101F3P6工程模板,及如何建立模板的教程,所以自己今天试了一下。,以下内容仅供参考。
The STM8L101x1 STM8L101x2 STM8L101x3 low-power family features the enhanced STM8 CPU core providing increased processing power (up to 16 MIPS at 16 MHz) while maintaining the advantages of a CISC architecture with improved code density, a 24-bit linear addressing space and an optimized architecture for low power operations.
The family includes an integrated debug module with a hardware interface (SWIM) which allows non-intrusive in-application debugging and ultrafast Flash programming.
All STM8L101xx microcontrollers feature low power low-voltage single-supply program Flash memory. The 8-Kbyte devices embed data EEPROM.
The STM8L101xx low power family is based on a generic set of state-of-the-art peripherals. The modular design of the peripheral set allows the same peripherals to be found in different ST microcontroller families including 32-bit families. This makes any transition to a different family very easy, and simplified even more by the use of a common set of development tools.
All STM8L low power products are based on the same architecture with the same memory mapping and a coherent pinout.
Key Features
- Main microcontroller features
- Supply voltage range 1.65 V to 3.6 V
- Low power consumption (Halt: 0.3 µA, Active-halt: 0.8 µA, Dynamic Run: 150 µA/MHz)
- STM8 Core with up to 16 CISC MIPS throughput
- Temp. range: -40 to 85 °C and 125 °C
- Memories
- Up to 8 Kbytes of Flash program including up to 2 Kbytes of data EEPROM
- Error correction code (ECC)
- Flexible write and read protection modes
- In-application and in-circuit programming
- Data EEPROM capability
- 1.5 Kbytes of static RAM
- Clock management
- Internal 16 MHz RC with fast wakeup time (typ. 4 µs)
- Internal low consumption 38 kHz RC driving both the IWDG and the AWU
- Reset and supply management
- Ultra-low power POR/PDR
- Three low-power modes: Wait, Active-halt, Halt
- Interrupt management
- Nested interrupt controller with software priority control
- Up to 29 external interrupt sources
- I/Os
- Up to 30 I/Os, all mappable on external interrupt vectors
- I/Os with programmable input pull-ups, high sink/source capability and one LED driver infrared output
- Peripherals
- Two 16-bit general purpose timers (TIM2 and TIM3) with up and down counter and 2 channels (used as IC, OC, PWM)
- One 8-bit timer (TIM4) with 7-bit prescaler
- Infrared remote control (IR)
- Independent watchdog
- Auto-wakeup unit
- Beeper timer with 1, 2 or 4 kHz frequencies
- SPI synchronous serial interface
- Fast I2C Multimaster/slave 400 kHz
- USART with fractional baud rate generator
- 2 comparators with 4 inputs each
- Development support
- Hardware single wire interface module (SWIM) for fast on-chip programming and non intrusive debugging
- In-circuit emulation (ICE)
- 96-bit unique ID
1.官网下载固件库(
http://www.st.com)
登陆ST帐号,没有的就先注册一个,下载的时候会要求登录。
进入官网后,选择“Products”---->“Microcontrollers”,
在弹出的新页面中选择8-bit中的“STM8L”。
在弹出来的新页面的表格中选择“STM8L101F3” ---> "Resources",
在新页面中往下拉,找到“Emberdded Software”处,找到“
STSW-STM8012STSTM8L10x standard peripheral library
一周热门 更多>