rt-thread/bsp/stm32/stm32f072-st-nucleo/README.md

110 lines
4.5 KiB
Markdown
Raw Normal View History

# STM32F072-Nucleo BSP Introduction
2019-05-30 18:00:03 +08:00
[中文](README_zh.md)
2019-05-30 18:00:03 +08:00
## MCU: STM32F072RB @48MHz, 128KB FLASH, 16KB RAM
2019-05-30 18:00:03 +08:00
The STM32F072x8/xB microcontrollers incorporate the high-performance ARM®Cortex®-M0 32-bit RISC core operating at up to 48 MHz frequency, high-speed embedded memories (up to 128 Kbytes of Flash memory and 16 Kbytes of SRAM), and an extensive range of enhanced peripherals and I/Os. All devices offer standard communication interfaces (two I2Cs, two SPI/I2S, one HDMI CEC and four USARTs), one USB Full-speed device (crystal-less), one CAN, one 12-bit ADC, one 12-bit DAC with two channels, seven 16-bit timers, one 32-bit timer and an advanced-control PWM timer.
2019-05-30 18:00:03 +08:00
The STM32F072x8/xB microcontrollers operate in the -40 to +85 °C and -40 to +105 °C temperature ranges, from a 2.0 to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.
The STM32F072x8/xB microcontrollers include devices in seven different packages ranging from 48 pins to 100 pins with a die form also available upon request. Depending on the device chosen, different sets of peripherals are included.
These features make the STM32F072x8/xB microcontrollers suitable for a wide range of applications such as application control and user interfaces, hand-held equipment, A/V receivers and digital TV, PC peripherals, gaming and GPS platforms, industrial applications, PLCs, inverters, printers, scanners, alarm systems, video intercoms and HVACs.
2019-05-30 18:00:03 +08:00
#### KEY FEATURES
2019-05-30 18:00:03 +08:00
- Core: ARM®32-bit Cortex®-M0 CPU, frequency up to 48 MHz
2019-05-30 18:00:03 +08:00
- Memories
2019-05-30 18:00:03 +08:00
2020-11-07 15:23:59 +08:00
- 64 to 128 Kbytes of Flash memory
- 16 Kbytes of SRAM with HW parity
2019-05-30 18:00:03 +08:00
- CRC calculation unit
2019-05-30 18:00:03 +08:00
- Reset and power management
2019-05-30 18:00:03 +08:00
2020-11-07 15:23:59 +08:00
- Digital and I/O supply: VDD= 2.0 V to 3.6 V
- Analog supply: VDDA= VDDto 3.6 V
- Selected I/Os: VDDIO2= 1.65 V to 3.6 V
- Power-on/Power down reset (POR/PDR)
- Programmable voltage detector (PVD)
- Low power modes: Sleep, Stop, Standby
- VBATsupply for RTC and backup registers
2019-05-30 18:00:03 +08:00
- Clock management
2019-05-30 18:00:03 +08:00
2020-11-07 15:22:45 +08:00
- 4 to 32 MHz crystal oscillator
- 32 kHz oscillator for RTC with calibration
- Internal 8 MHz RC with x6 PLL option
- Internal 40 kHz RC oscillator
- Internal 48 MHz oscillator with automatic trimming based on ext. synchronization
2019-05-30 18:00:03 +08:00
- Up to 87 fast I/Os
2019-05-30 18:00:03 +08:00
2020-11-07 15:22:45 +08:00
- All mappable on external interrupt vectors
- Up to 68 I/Os with 5V tolerant capability and 19 with independent supply VDDIO2
2019-05-30 18:00:03 +08:00
- Seven-channel DMA controller
2019-05-30 18:00:03 +08:00
- One 12-bit, 1.0 μs ADC (up to 16 channels)
2019-05-30 18:00:03 +08:00
2020-11-07 15:22:45 +08:00
- Conversion range: 0 to 3.6 V
- Separate analog supply: 2.4 V to 3.6 V
2019-05-30 18:00:03 +08:00
- One 12-bit D/A converter (with 2 channels)
2019-05-30 18:00:03 +08:00
- Two fast low-power analog comparators with programmable input and output
2019-05-30 18:00:03 +08:00
- Up to 24 capacitive sensing channels for touchkey, linear and rotary touch sensors
2019-05-30 18:00:03 +08:00
- Calendar RTC with alarm and periodic wakeup from Stop/Standby
2019-05-30 18:00:03 +08:00
- 12 timers
2019-05-30 18:00:03 +08:00
2020-11-07 15:22:45 +08:00
- One 16-bit advanced-control timer for six-channel PWM output
- One 32-bit and seven 16-bit timers, with up to four IC/OC, OCN, usable for IR control decoding or DAC control
- Independent and system watchdog timers
- SysTick timer
2019-05-30 18:00:03 +08:00
- Communication interfaces
2019-05-30 18:00:03 +08:00
2020-11-07 15:22:45 +08:00
- Two I2C interfaces supporting Fast Mode Plus (1 Mbit/s) with 20 mA current sink, one supporting SMBus/PMBus and wakeup
- Four USARTs supporting master synchronous SPI and modem control, two with ISO7816 interface, LIN, IrDA, auto baud rate detection and wakeup feature
- Two SPIs (18 Mbit/s) with 4 to 16 programmable bit frames, and with I2S interface multiplexed
- CAN interface
- USB 2.0 full-speed interface, able to run from internal 48 MHz oscillator and with BCD and LPM support
2019-05-30 18:00:03 +08:00
- HDMI CEC wakeup on header reception
2019-05-30 18:00:03 +08:00
- Serial wire debug (SWD)
2019-05-30 18:00:03 +08:00
- 96-bit unique ID
2019-05-30 18:00:03 +08:00
- All packages ECOPACK®2
2019-05-30 18:00:03 +08:00
## Read more
2019-05-30 18:00:03 +08:00
| Documents | Description |
| :----------------------------------------------------------: | :----------------------------------------------------------: |
| [STM32_Nucleo-64_BSP_Introduction](../docs/STM32_Nucleo-64_BSP_Introduction.md) | How to run RT-Thread on STM32 Nucleo-64 boards (**Must-Read**) |
| [STM32F072RB ST Official Website](https://www.st.com/content/st_com/en/products/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus/stm32-mainstream-mcus/stm32f0-series/stm32f0x2/stm32f072rb.html#documentation) | STM32F072RB datasheet and other resources |
2019-05-30 18:00:03 +08:00
## Maintained By
2019-05-30 18:00:03 +08:00
[刘恒](https://github.com/lhxzui)
2019-05-30 18:00:03 +08:00
iuzxhl@qq.com
2019-05-30 18:00:03 +08:00
## Translated By
2019-05-30 18:00:03 +08:00
Meco Man @ RT-Thread Community
2019-05-30 18:00:03 +08:00
> jiantingman@foxmail.com
>
> https://github.com/mysterywolf