Support for the STM32 Nucleo-F302R8. More...
Support for the STM32 Nucleo-F302R8.
The Nucleo-F302R8 is a board from ST's Nucleo family supporting a ARM Cortex-M4 STM32F302R8 microcontroller with 16KiB of RAM and 64KiB of Flash.
MCU | STM32F302R8 |
---|---|
Family | ARM Cortex-M4 |
Vendor | ST Microelectronics |
RAM | 16KiB |
Flash | 64KiB |
Frequency | up to 72MHz |
FPU | yes |
Timers | 9 (5x 16-bit, 1x 32-bit [TIM2], 2x watchdog, 1x systick) |
ADCs | 1 with selectable resolution (6,8,10,12-bit) |
UARTs | 3 |
SPIs | 2 |
I2Cs | 3 |
RTC | 1 |
CAN | 1 |
USB | 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 | STM32F302R8 | partly | Energy saving modes not fully utilized |
Low-level driver | GPIO | yes | |
PWM | one PWM (D5) | ||
UART | three UART | ||
I2C | no | ||
SPI | one SPI (SPI2) | ||
USB | no | ||
Timer | one 32 timer (TIM2) |
The ST Nucleo-F302R8 board includes an on-board ST-LINK V2-1 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-F302R8 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-f302r8 board. | |