MicroPython board definition files for the MCUDev black STM32F407VET6 dev board.
Brand: MCUDev
Markings: STM32F4XX STM32_F4VE V2.0 1509
You can buy one for around $16 AUD (Oct 2019) on AliExpress.
Clone the board definitions to your MicroPython ports/stm32/boards
folder.
cd micropython/ports/stm32/boards
git clone https://github.com/mcauser/BLACK_F407VE.git
cd ..
make BOARD=BLACK_F407VE
This board can be flashed using DFU. To put the board in DFU mode, disconnect USB, set BOOT0 to ON by connecting pin BT0 to 3V3 and reconnect USB.
Now you can flash the board using USB with the command:
make BOARD=BLACK_F407VE deploy
Once the upload is complete, disconnect USB, set BOOT0 to OFF by connecting pin BT0 to GND and reconnect USB.
Alternatively, you can use the MicroPython command pyb.bootloader()
to get into DFU mode without needing to use the switch.
Currently, you need to unplug and replug the board in order to switch from DFU mode back to regular mode.
Once built and deployed, you can access the MicroPython REPL (the Python prompt) via USB serial.
screen /dev/tty.usbmodem1422 115200
# or
screen /dev/ttyACM0 115200
- STM32F407VET6 ARM Cortex M4
- 168MHz, 210 DMIPS / 1.25 DMIPS / MHz
- 1.8V - 3.6V operating voltage
- 8MHz system crystal
- 32.768KHz RTC crystal
- 2.54mm pitch pins
- JTAG/SWD header
- 512 KByte Flash, 192 + 4 KByte SRAM
- 3x SPI, 3x USART, 2x UART, 2x I2S, 3x I2C
- 1x FSMC, 1x SDIO, 2x CAN
- 1x USB 2.0 FS / HS controller (with dedicated DMA)
- 1x USB HS ULPI (for external USB HS PHY)
- Micro SD
- Winbond W25Q16 16Mbit SPI Flash
- RTC battery CR1220
- 1x 10/100 Ethernet MAC
- 1x 8 to 12-bit Parallel Camera interface
- 3x ADC (12-bit / 16-channel)
- 2x DAC (12-bit)
- 12x general timers, 2x advanced timers
- AMS1117-3.3V: 3.3V LDO voltage regulator, max current 800mA
- Micro USB for power and comms
- Red power LED D1
- Red user LED D2 (PA6) active low
- Red user LED D3 (PA7) active low
- 2x jumpers for bootloader selection
- Reset button, Wakeup button, 2x user buttons K0 (PE4) and K1 (PE3)
- 2x24 side pins + 2x16 bottom pins + 1x4 ISP pins
- 2x16 FMSC LCD Interface
- NRF24L01 socket
- M3 mounting holes
- Dimensions: 85.1mm x 72.45mm
- PA0-PA15
- PB0-PB15
- PC0-PC13 (PC14 OSC32_IN and PC15 OSC32_OUT not broken out)
- PD0-PD15
- PE0-PE15
- 1 GND
- 2 RST
- 3 PD10 FSMC_D15
- 4 PD9 FSMC_D14
- 5 PD8 FSMC_D13
- 6 PE15 FSMC_D12
- 7 PE14 FSMC_D11
- 8 PE13 FSMC_D10
- 9 PE12 FSMC_D9
- 10 PE11 FSMC_D8
- 11 PE10 FSMC_D7
- 12 PE9 FSMC_D6
- 13 PE8 FSMC_D5
- 14 PE7 FSMC_D4
- 15 PD1 FSMC_D3
- 16 PD0 FSMC_D2
- 17 PD15 FSMC_D1
- 18 PD14 FSMC_D0
- 19 PD4 FSMC_NOE
- 20 PD5 FSMC_NWE
- 21 PD13 FSMC_A18
- 22 PD7 FSMC_NE1
- 23 PB13 T_SCK
- 24 PB12 T_CS
- 25 PB15 T_MOSI
- 26 PB14 T_MISO
- 27 PC5 T_PEN
- 28 PB1 LCD_BL
- 29 NC
- 30 GND
- 31 3V3
- 32 GND
- 1 PB0 F_CS
- 2 PB4 SPI1_MISO
- 3 WP 3V3
- 4 GND
- 5 PB5 SPI1_MOSI
- 6 PB3 SPI1_SCK
- 7 HOLD 3V3
- 8 VCC 3V3
- 1 3V3 Vref
- 2 3V3 Vsupply
- 3 PB4 TRST
- 4 GND
- 5 PA15 TDI
- 6 GND
- 7 PA13 TMS
- 8 GND
- 9 PA14 TCK
- 10 GND
- 11 NC RTCK
- 12 GND
- 13 PB3 TDO
- 14 GND
- 15 RST
- 16 GND
- 17 NC
- 18 GND
- 19 NC
- 20 GND
- 1 5V
- 2 GND
- 3 PA10 RXD1
- 4 PA9 TXD1
- 1 VCC 5V
- 2 PA11 USB_DM
- 3 PA12 USB_DP
- 4 NCC
- 5 GND
- 1 PC10 SDIO_D2
- 2 PC11 SDIO_D3
- 3 PD2 SDIO_CMD
- 4 3V3
- 5 PC12 SDIO_SCK
- 6 GND
- 7 PC8 SDIO_D0
- 8 PC9 SDIO_D1
- 9 GND
- 1 GND
- 2 3V3
- 3 PB6 NRF_CE
- 4 PB7 NRF_CS
- 5 PB3 SPI1_SCK
- 6 PB5 SPI1_MOSI
- 7 PB4 SPI1_MISO
- 8 PB8 NRF_IRQ
- PE4 KEY0, active low
- PE3 KEY1, active low
- PA0 WK_UP, active high
- PA6 LED0
- PA7 LED1
- 1 BAT54C
- 2 3V3
- 3 GND VBAT
- STM32F407VE on st.com
- Buy on AliExpress or search for "STM32F407VET6"
- Buy on Taobao
- STM32F407VET6 datasheet
- STM32F407VET6 schematics
- MCUDev Black STM32F407VET6 - this board
- MCUDev Black STM32F407ZET6
- MCUDev Black STM32F407ZGT6
- MCUDev DevEBox STM32F407VET6
- MCUDev DevEBox STM32F407VGT6
- VCC GND STM32F407VET6 Mini
- VCC GND STM32F407ZGT6 Mini
Licensed under the MIT License.