1# STM32F412-Nucleo BSP Introduction
2
3[中文](README_zh.md)
4
5## MCU: STM32F412ZG @100MHz, 1024KB FLASH,  256KB RAM
6
7STM32F412xE/G devices are based on the high-performance Arm® Cortex® -M4 32-bit RISC core operating at a frequency of up to 100 MHz. Their Cortex®-M4 core features a Floating point unit (FPU) single precision which supports all Arm single-precision data-processing instructions and data types. It also implements a full set of DSP instructions and a memory protection unit (MPU) which enhances application security.
8
9STM32F412xE/G devices belong to the STM32 Dynamic Efficiency™ product line (with products combining power efficiency, performance and integration) while adding a new innovative feature called Batch Acquisition Mode (BAM) allowing even more power consumption saving during data batching.
10STM32F412xE/G devices incorporate high-speed embedded memories (up to 1 Mbyte of Flash memory, 256 Kbytes of SRAM), and an extensive range of enhanced I/Os and peripherals connected to two APB buses, three AHB buses and a 32-bit multi-AHB bus matrix.
11All devices offer one 12-bit ADC, a low-power RTC, twelve general-purpose 16-bit timers, two PWM timers for motor control and two general-purpose 32-bit timers.
12They also feature standard and advanced communication interfaces:
13In addition, STM32F412xE/G devices embed advanced peripherals:
14STM32F412xE/G devices are offered in 7 packages ranging from 48 to 144 pins. The set of available peripherals depends on the selected package.
15The STM32F412xE/G operates in the -40 to +125 °C temperature range from a 1.7 (PDR OFF) to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.
16These features make the STM32F412xE/G microcontrollers suitable for a wide range of applications.
17
18#### KEY FEATURES
19
20- Dynamic Efficiency Line with BAM (Batch Acquisition Mode)
21- Core: Arm® 32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator™) allowing 0-wait state execution from Flash memory, frequency up to 100 MHz, memory protection unit, 125 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions
22- Memories
23  - Up to 1 Mbyte of Flash memory
24  - 256 Kbyte of SRAM
25  - Flexible external static memory controller with up to 16-bit data bus: SRAM, PSRAM, NOR Flash memory
26  - Dual mode Quad-SPI interface
27- LCD parallel interface, 8080/6800 modes
28- Clock, reset and supply management
29  - 1.7 V to 3.6 V application supply and I/Os
30  - POR, PDR, PVD and BOR
31  - 4-to-26 MHz crystal oscillator
32  - Internal 16 MHz factory-trimmed RC
33  - 32 kHz oscillator for RTC with calibration
34  - Internal 32 kHz RC with calibration
35- Power consumption
36  - Run: 112 μA/MHz (peripheral off)
37  - Stop (Flash in Stop mode, fast wakeup time): 50 μA Typ @ 25 °C; 75 μA max @25 °C
38  - Stop (Flash in Deep power down mode, slow wakeup time): down to 18 μA @ 25 °C; 40 μA max @25 °C
39  - Standby: 2.4 μA @25 °C / 1.7 V without RTC; 12 μA @85 °C @1.7 V
40  - VBAT supply for RTC: 1 μA @25 °C
41- 1×12-bit, 2.4 MSPS ADC: up to 16 channels
42- 2xdigital filters for sigma delta modulator, 4xPDM interfaces, stereo microphone support
43- General-purpose DMA: 16-stream DMA
44
45- Up to 17 timers: up to twelve 16-bit timers, two 32-bit timers up to 100 MHz each with up to four IC/OC/PWM or pulse counter and quadrature (incremental) encoder input, two watchdog timers (independent and window), one SysTick timer
46- Debug mode
47  - Serial wire debug (SWD) & JTAG
48  - Cortex®-M4 Embedded Trace Macrocell™
49- Up to 114 I/O ports with interrupt capability
50  - Up to 109 fast I/Os up to 100 MHz
51  - Up to 114 five V-tolerant I/Os
52- Up to 17 communication interfaces
53  - Up to 4xI2C interfaces (SMBus/PMBus)
54  - Up to 4 USARTs (2x12.5 Mbit/s, 2x6.25 Mbit/s), ISO 7816 interface, LIN, IrDA, modem control)
55  - Up to 5 SPI/I2Ss (up to 50 Mbit/s, SPI or I2S audio protocol), out of which 2 muxed full-duplex I2S interfaces
56  - SDIO interface (SD/MMC/eMMC)
57  - Advanced connectivity: USB 2.0 full-speed device/host/OTG controller with PHY
58  - 2xCAN (2.0B Active)
59- True random number generator
60- CRC calculation unit
61- 96-bit unique ID
62- RTC: subsecond accuracy, hardware calendar
63- All packages are ECOPACK®2
64
65
66
67## Read more
68
69|                          Documents                           |                         Description                          |
70| :----------------------------------------------------------: | :----------------------------------------------------------: |
71| [STM32_Nucleo-144_BSP_Introduction](../docs/STM32_Nucleo-144_BSP_Introduction.md) | How to run RT-Thread on STM32 Nucleo-144 boards (**Must-Read**) |
72| [STM32F412ZG ST Official Website](https://www.st.com/en/microcontrollers-microprocessors/stm32f412zg.html#documentation) |          STM32F412ZG datasheet and other resources           |
73
74
75
76## Maintained By
77
78[flybreak](https://github.com/guozhanxin)  g1171407708@163.com
79
80
81
82## Translated By
83
84Meco Man @ RT-Thread Community
85
86> jiantingman@foxmail.com
87>
88> https://github.com/mysterywolf
89