Support for the STM32 Nucleo-F103RB. More...
Support for the STM32 Nucleo-F103RB.
The Nucleo-F103RB is a board from ST's Nucleo family supporting a ARM Cortex-M3 STM32F103RB microcontroller with 20KiB of RAM and 128KiB of Flash.
|Frequency||up to 72MHz|
|Timers||7 (2x watchdog, 1 SysTick, 4x 16-bit)|
|ADCs||1x 12-bit (16 channels)|
|Vcc||2.0V - 3.6V|
|Reference Manual||Reference Manual|
|Programming Manual||Programming Manual|
|Board Manual||Board Manual|
|MCU||STM32F103RB||partly||Energy saving modes not fully utilized|
|PWM||yes (4 pins available)|
|UART||2 UARTs||USART2 via STLink/USB or D0(RX)/D1(TX), USART1 on PA10(RX)/PA09(TX) and USART3 on PB11(RX)/PB10(TX)|
|I2C||yes (I2C1 and I2C2)|
|SPI||yes (SPI1 and SPI2)|
|Timer||2 16 bit timers (TIM2 and TIM3)|
The ST Nucleo-F103RB 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-F103RB board we strongly recommend the usage of the GNU Tools for ARM Embedded Processors toolchain.
|Peripheral MCU configuration for the nucleo-f103rb board. |