Support for the main application MCU of the bitcraze Crazyflie 2.1 board. More...
Support for the main application MCU of the bitcraze Crazyflie 2.1 board.
The Crazyflie 2.1 is an open source flying development platform produced by bitcraze. It has two onboard microcontrollers, an nRF51822 used for radio communication and power management and an STM32F405 (this board definition) used for running the main application.
The pinout is part of the Board Datasheet. The Board Schematics show which pins are connected to the motors, LEDs, etc.
MCU | STM32F405RG |
---|---|
Family | ARM Cortex-M4 |
Vendor | ST Microelectronics |
Package | LQFP64 |
RAM | 192 KiB (128 KiB RAM + 64 KiB CCMRAM) |
Flash | 1024 KiB |
Frequency | up to 168 MHz (running at 168 MHz) |
FPU | yes |
Timers | 14 (12× 16bit, 2× 32bit [TIM2 + TIM5]) |
ADCs | 3× 16 channel 6 to 12-bit |
UARTs | 6 |
SPIs | 3 |
I2Cs | 3 |
Vcc | 2.0 V - 3.6 V |
MCU Datasheet | MCU Datasheet |
MCU Reference Manual | MCU Reference Manual |
Prerequisites:
dfu-util
is installedTo flash the board:
BOARD=bitcraze-crazyflie21-main make all flash
By default, STDIO is implemented via the native USB interface. In order to use STDIO over UART connect your UART adapter as follows:
PIN board | UART adapter |
---|---|
PC10 (TX) | RX |
PC11 (RX) | TX |
GND | GND |
Now flash the board with stdio over UART:
timer_set()
: the callback is never called for timeouts of only one tick. Files | |
file | board.h |
Board specific definitions for the Crazyflie 2.1 main application MCU. | |
file | gpio_params.h |
Board specific definitions for the Crazyflie 2.1 main application MCU. | |
file | periph_conf.h |
Configuration of CPU peripherals for Crazyflie 2.1 main application MCU. | |