Support for the STM32 Nucleo-F072RB. More...
Support for the STM32 Nucleo-F072RB.
The Nucleo-F072RB is a board from ST's Nucleo family supporting a ARM Cortex-M0 STM32F072RB microcontroller with 16KiB of RAM and 128KiB of Flash.
MCU | STM32F072RB |
---|---|
Family | ARM Cortex-M0 |
Vendor | ST Microelectronics |
RAM | 16KiB |
Flash | 128KiB |
Frequency | up to 48MHz |
FPU | no |
Timers | 12 (2x watchdog, 1 SysTick, 8x 16-bit, 1x 32-bit) |
ADCs | 1x 12-bit (up to 16 channels) |
UARTs | 4 |
SPIs | 2 |
I2Cs | 2 |
CAN | 1 |
USB | 1 |
RTC | 1 |
Vcc | 2.0V - 3.6V |
Datasheet | Datasheet |
Reference Manual | Reference Manual |
Programming Manual | Programming Manual |
Board Manual | Board Manual |
Device | ID | Supported | Comments |
---|---|---|---|
MCU | STM32F072RB | partly | Energy saving modes not fully utilized |
Low-level driver | GPIO | yes | |
PWM | yes (4 pins available) | ||
UART | 3 UARTs | USART2 via STLink/USB or D0(RX)/D1(TX), USART1 on PA10(RX)/PA09(TX) and USART3 on PC11(RX)/PC10(TX) | |
PWM | 7 pins | ||
ADC | 6 pins | ||
I2C | no | ||
SPI | yes (SPI1) | ||
USB | no | ||
Timer | 1 32 bit timers (TIM1) |
The ST Nucleo-F072RB board includes an on-board ST-LINK V2 programmer. The easiest way to program the board is to use OpenOCD. Once you have installed OpenOCD (look here for installation instructions), you can flash the board simply by typing
and debug via GDB by simply typing
On-board ST-LINK programmer provides via composite USB device removable media. Copying the HEX file causes reprogramming of the board. This task could be performed manually; however, the cpy2remed (copy to removable media) PROGRAMMER script does this automatically. To program board in this manner, use the command:
For using the ST Nucleo-F072RB board we strongly recommend the usage of the GNU Tools for ARM Embedded Processors toolchain.
Files | |
file | periph_conf.h |
Peripheral MCU configuration for the nucleo-f072rb board. | |