• Stars
    star
    100
  • Rank 332,722 (Top 7 %)
  • Language
    C
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MicroPython board definition for the MCUDev Black STM32F407VET6 board

MCUDev Black STM32F407VET6

MicroPython board definition files for the MCUDev black STM32F407VET6 dev board.

Brand: MCUDev

Markings: STM32F4XX STM32_F4VE V2.0 1509

board

You can buy one for around $16 AUD (Oct 2019) on AliExpress.

Build the firmware

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

Flashing via DFU

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.

Accessing the board

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

Specifications

  • 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

Exposed Port Pins

  • PA0-PA15
  • PB0-PB15
  • PC0-PC13 (PC14 OSC32_IN and PC15 OSC32_OUT not broken out)
  • PD0-PD15
  • PE0-PE15

Peripherals

TFT (J1)

  • 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

SPI Flash W25Q16 (U3)

  • 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

JTAG/SWD debug (P1)

  • 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

ISP (J6)

  • 1 5V
  • 2 GND
  • 3 PA10 RXD1
  • 4 PA9 TXD1

USB (J4)

  • 1 VCC 5V
  • 2 PA11 USB_DM
  • 3 PA12 USB_DP
  • 4 NCC
  • 5 GND

Micro SD (U5)

  • 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

NRF24L01 (JP2)

  • 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

User Button (K0)

  • PE4 KEY0, active low

User Button (K1)

  • PE3 KEY1, active low

User Button (WK_UP)

  • PA0 WK_UP, active high

User LED (D2)

  • PA6 LED0

User LED (D3)

  • PA7 LED1

Battery (Q1)

  • 1 BAT54C
  • 2 3V3
  • 3 GND VBAT

Links

Related boards

License

Licensed under the MIT License.

More Repositories

1

awesome-micropython

A curated list of awesome MicroPython libraries, frameworks, software and resources.
HTML
913
star
2

micropython-waveshare-epaper

MicroPython drivers for Waveshare e-paper modules
Python
253
star
3

micropython-max7219

MicroPython driver for MAX7219 8x8 LED matrix modules, cascadable and with framebuf
Python
146
star
4

micropython-tm1637

MicroPython driver for TM1637 quad 7-segment LED modules
Python
136
star
5

WEACT_F411CEU6

MicroPython board definition for the WeAct STM32F411CEU6 board
C
108
star
6

Fritzing-Part-WeMos-D1-Mini

Fritzing Part: WeMos D1 Mini
Shell
77
star
7

micropython-tinyrtc-i2c

MicroPython driver for TinyRTC I2C modules with DS1307 RTC and AT24C32N EEPROM
Python
59
star
8

micropython-pcd8544

MicroPython driver for Nokia 5110 PCD8544 84x48 LCD modules
Python
55
star
9

MCUDEV_DEVEBOX_F407VGT6

MicroPython board definition for the MCUDev DevEBox STM32F407VGT6 board
C
53
star
10

MCUDEV_DEVEBOX_H7XX_M

MicroPython board definition for the MCUDev DevEBox STM32H7XX_M boards
C
52
star
11

MicroPython-ESP8266-DHT-Nokia-5110

MicroPython example using a DHT12, AM2320 and a Nokia 5110 with an ESP8266
Python
43
star
12

BLUE_PILL_F103C8

MicroPython board definition for the Blue Pill STM32F103C8T6 board
C
41
star
13

micropython-mcp23017

MicroPython driver for MCP23017 16-bit I/O Expander
Python
39
star
14

Fritzing-Part-WeMos-D1-mini-Shields

Fritzing Part: WeMos D1 Mini Shields
Shell
34
star
15

MicroPython-ESP8266-Nokia-5110-Conways-Game-of-Life

Conway's Game of Life on a Nokia 5110 with WeMos D1 mini running MicroPython ESP8266
Python
29
star
16

YX8018-solar-led-driver

YX8018 LED driver in Bunnings Lytworx solar garden LED lights
29
star
17

micropython-mlx90614

MicroPython driver for the MLX90614 IR temperature sensor
Python
27
star
18

BLACK_F407ZE

MicroPython board definition for the MCUDev Black STM32F407ZET6 board
C
26
star
19

i2cdetect

Arduino library for scanning I2C bus for devices
C++
24
star
20

micropython-pcf8574

MicroPython driver for PCF8574 8-Bit I2C I/O Expander with Interrupt
Python
24
star
21

BLACK_F407ZG

MicroPython board definition for the MCUDev Black STM32F407ZGT6 board
C
24
star
22

WeMos-D1-mini-Nokia-5110-PCD8544

Arduino examples
24
star
23

micropython-ssd1327

MicroPython driver for SSD1327 128x128 4-bit greyscale OLED displays
Python
23
star
24

micropython-am2320

MicroPython driver for the Aosong AM2320 temperature and humidity sensor
Python
23
star
25

ESP8266-WiFi-Signal-Strength-Graph-Nokia-5110

Arduino
23
star
26

Raspberry-Pi-ITead-Studio-GPS-NEO-6M

Experiments with my ITead Studio RPI GPS Add On
22
star
27

micropython-tm1638

MicroPython driver for TM1638 dual quad 7-segment LED modules with switches
Python
22
star
28

micropython-74hc595

MicroPython driver for 74HC595 shift registers
Python
21
star
29

micropython-ys-irtm

MicroPython examples for YS-IRTM 5V NEC Infrared UART transceivers
20
star
30

Fritzing-Part-WiFi-Witty-Gizwits-ESP-12F

Fritzing Part: WiFi Witty Gizwits ESP-12F
Shell
20
star
31

VCC_GND_F407VE

MicroPython board definition for the VCC GND STM32F407VET6 mini board
C
18
star
32

MCUDEV_DEVEBOX_F407VET6

MicroPython board definition for the MCUDev DevEBox STM32F407VET6 board
C
16
star
33

micropython-dht12

MicroPython driver for the Aosong DHT12 temperature and humidity sensor
Python
15
star
34

Grove-Eagle

Eagle source files for Grove modules
Eagle
13
star
35

BLUE_BUTTON_F103RET6

MicroPython board definition for the Blue Button STM32F103RET6 board
C
13
star
36

esp8266-useless-throwie

ESP8266 Useless Throwie
HTML
13
star
37

micropython-mpr121

MicroPython driver for MPR121 capacitive touch keypads and breakout boards
Python
13
star
38

micropython-tm1640

MicroPython driver for TM1740 8x8 LED matrix modules
Python
12
star
39

micropython-pcf8575

MicroPython driver for PCF8575 16-Bit I2C I/O Expander with Interrupt
Python
11
star
40

micropython-tca9548a

MicroPython examples using TCA9548A I2C multiplexer
11
star
41

MicroPython-ESP8266-Nokia-5110-Bitcoin

MicroPython library for displaying bitcoin price index on a Nokia 5110 display with PCD8544 driver
Python
10
star
42

microbit-tm1637

MicroPython for micro:bit library for quad 7-segment LED modules using TM1637 LED driver
Python
9
star
43

micropython-ys-rf34t

MicroPython examples using YS-RF34T 433MHz ASK/OOK UART transceivers
7
star
44

Fritzing-Part-Micro-Python-pyboard

Fritzing part: MicroPython pyboard
Shell
7
star
45

WeMos-D1-mini-OLED-Shield-64x48-SSD1306

C
7
star
46

micropython-ttp223

MicroPython examples using TTP223 capacitive touch module
6
star
47

micropython-my9221

MicroPython driver for MY9221 10-segment LED bar graph modules
Python
6
star
48

micropython-hx1230

MicroPython library for HX1230 96x68 LCD modules
Python
5
star
49

XL7105-SY-B-Breakout

Breakout board for the XL7105-SY-B 2.4GHz RF transceiver module
5
star
50

Fritzing-Part-DFRobot-DFPlayer-Mini

Fritzing Part: DFRobot DFPlayer Mini
Shell
4
star
51

micropython-p9813

MicroPython driver for P9813 chainable RGB LEDs
Python
4
star
52

MicroPython-ESP8266-Nokia-5110-Quad-7-segment

MicroPython library for emulating quad 7-segment LED displays on a Nokia 5110 with PCD8544 driver
Python
3
star
53

RadioHead

Mirror of Mike McCauley's RadioHead library
C++
3
star
54

deshipu-micropython-oled

Python
3
star
55

micropython-sht31

MicroPython driver for the SHT31 Temperature and Humidity Sensor
2
star
56

micropython-lm75a

MicroPython driver for the LM75A digital temperature sensor
Python
2
star
57

VCC_GND_F407ZG

MicroPython board definition for the VCC GND STM32F407ZGT6 mini board
C
2
star
58

micropython-tinypico-lol-rgb-shield

A MicroPython library for the TinyPICO LOL RGB Shield
Python
2
star
59

microbit-dht12

MicroPython for micro:bit library for the Aosong DHT12 temperature and humidity sensor
Python
2
star
60

deshipu-micropython-pca9685

Python
2
star
61

micropython-hz1050

MicroPython driver for HZ-1050 UART and Wiegand 125Khz RFID Reader
2
star
62

A7139-Breakout

Breakout board for the A7139 433MHz RF transceiver module
2
star
63

deshipu-micropython-bno055

Python
2
star
64

14-segment-led-alphanumeric

1
star
65

micropython-nrf905

MicroPython driver for Nordic nRF905 Sub-1GHz RF transceiver modules
1
star
66

deshipu-micropython-ht16k33

Python
1
star
67

coldfusion-munin

Munin plugins for ColdFusion
ColdFusion
1
star
68

deshipu-micropython-max31855

Python
1
star
69

circuitpython-feathers2neo-rgb-matrix

CircuitPython library for FeatherS2 Neo RGB Matrix
Python
1
star
70

deshipu-micropython-sdcard

Python
1
star
71

LC12S-Breakout

Breakout board for the LC12S 2.4GHz UART transceiver module
1
star
72

micropython-rda5807m

MicroPython driver for RDA5807M stereo FM radio modules
1
star
73

micropython-max44009

MicroPython driver for the MAX44009 ambient light sensor
Python
1
star
74

micropython-pcd8544-c

C
1
star
75

deshipu-micropython-ili9341

Python
1
star