https://github.com/mcauser/vcc_gnd_f407ve
MicroPython board definition for the VCC GND STM32F407VET6 mini board
https://github.com/mcauser/vcc_gnd_f407ve
micropython micropython-board stm32f4 stm32f407vet6 vcc-gnd
Last synced: 10 months ago
JSON representation
MicroPython board definition for the VCC GND STM32F407VET6 mini board
- Host: GitHub
- URL: https://github.com/mcauser/vcc_gnd_f407ve
- Owner: mcauser
- License: mit
- Created: 2017-03-08T23:47:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-05-20T06:31:52.000Z (about 5 years ago)
- Last Synced: 2025-04-04T15:50:40.080Z (about 1 year ago)
- Topics: micropython, micropython-board, stm32f4, stm32f407vet6, vcc-gnd
- Language: C
- Homepage:
- Size: 2.11 MB
- Stars: 21
- Watchers: 7
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# VCC GND STM32F407VET6 Mini
MicroPython board definition files for the STM32F407VET6 Mini board from [VCC-GND](http://vcc-gnd.taobao.com).

You can buy one for around $15 AUD (Oct 2019) on [AliExpress].
### Build the firmware
Clone the board definitions to your [MicroPython](https://github.com/micropython/micropython) `ports/stm32/boards` folder.
```bash
cd micropython/ports/stm32/boards
git clone https://github.com/mcauser/VCC_GND_F407VE.git
cd ..
make BOARD=VCC_GND_F407VE
```
### Flashing via DFU
This board can be flashed using DFU. To put the board in DFU mode, disconnect
USB, slide the BOOT0 DIP switch to the ON position (towards USB) and reconnect USB.
Now you can flash the board using USB with the command:
```bash
make BOARD=VCC_GND_F407VE deploy
```
Once the upload is complete, disconnect USB, slide BOOT0 back
to the original position 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.
```bash
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
* 25MHz system crystal (NX5032GA)
* 32.768KHz RTC crystal
* AT24C08 I2C EEPROM 1024 Byte x 8, 400KHz
* 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
* 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
* RT9193-3.3V: 3.3V LDO voltage regulator, max current 300mA
* Micro USB for power and comms
* User LED (PB9)
* 2x DIP switch for bootloader selection
* Reset button
* 2x18 side pins + 2x10 top pins + 1x4 debug pins
* Dimensions: 49.53mm x 39.37mm
### Modifications
This board has a 25MHz system crystal oscillator.
* change HSE_VALUE from 8000000 to 25000000
* change PLL_M from 8 to 25
### Exposed Port Pins
* PA0-PA15
* PB0-PB15
* PC0-PC15
* PD0-PD15
* PE0-PE15
### Peripherals
#### AT24C08 8K EEPROM (U1)
* 1 GND PRE
* 2 GND NC
* 3 GND E
* 4 GND
* 5 PB7 SDA
* 6 PB6 SCL
* 7 GND MODE
* 8 3V3 VCC
#### SWD debug (P4)
* 1 GND
* 2 PA14 SWCLK
* 3 PA13 SWDIO
* 4 3V3 VCC
#### USB (U3)
* 1 VCC 5V
* 2 PA11 USB_DM
* 3 PA12 USB_DP
* 4 GND ID
* 5 GND
#### Micro SD
* 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
* 10 PA8 SW1
#### User LED
* PB9 LED0
### Links
* [STM32F407VE on st.com](https://www.st.com/en/microcontrollers-microprocessors/stm32f407ve.html)
* Buy on [AliExpress] or search for "STM32F407VET6 Mini"
* Buy on [Taobao](https://item.taobao.com/item.htm?id=523361737493)
* [STM32F407 datasheet](docs/STM32F407_datasheet.pdf)
* [STM32F407VET6 mini schematics](docs/STM32F407VET6_schematics.pdf)
* [STM32F407VET6 mini PCB](docs/STM32F407VET6_mini.pdf)
* [STM32F4 alternate function mapping](docs/STM32F4-AF-mapping.pdf)
### Related boards
* [MCUDev Black STM32F407VET6](https://github.com/mcauser/BLACK_F407VE)
* [MCUDev Black STM32F407ZET6](https://github.com/mcauser/BLACK_F407ZE)
* [MCUDev Black STM32F407ZGT6](https://github.com/mcauser/BLACK_F407ZG)
* [MCUDev DevEBox STM32F407VET6](https://github.com/mcauser/MCUDEV_DEVEBOX_F407VET6)
* [MCUDev DevEBox STM32F407VGT6](https://github.com/mcauser/MCUDEV_DEVEBOX_F407VGT6)
* [VCC GND STM32F407VET6 Mini](https://github.com/mcauser/VCC_GND_F407VE) - this board
* [VCC GND STM32F407ZGT6 Mini](https://github.com/mcauser/VCC_GND_F407ZG)
[AliExpress]: https://www.aliexpress.com/item/32709285751.html
## License
Licensed under the [MIT License](http://opensource.org/licenses/MIT).