WeAct STM32F411CEU6 black pill

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

WeAct STM32F411CEU6 black pill

Post by mcauser » Mon Oct 28, 2019 4:03 pm

Anyone using this new $7 WeAct STM32F411CEU6 board?
https://www.aliexpress.com/item/4000084631884.html

Comes in 2 variants:
STM32F401CCU6 core board 64KB RAM 256KB ROM
STM32F411CEU6 core board 128KB RAM 512KB ROM

Looks like an upgrade of the old "blue pill" with a more powerful CPU and USB-C

https://www.st.com/en/microcontrollers- ... 411ce.html

Image

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: WeAct STM32F411CEU6 black pill

Post by OutoftheBOTS_ » Mon Oct 28, 2019 8:27 pm

I haven't used it but the Arundio boys are liking it as a replacement for the blue pill due to the FPU of the F4 over the F1 :)

I do believe u can buy it for about $3US

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: WeAct STM32F411CEU6 black pill

Post by mcauser » Tue Oct 29, 2019 12:14 am

YXZhu has already made board definitions for both the F401 and F411 boards:
https://github.com/YXZhu/micropython/tr ... Act_F401CC
https://github.com/YXZhu/micropython/tr ... Act_F411CE

STM32F401CCU6 and STM32F411CEU6 download link:
https://pan.baidu.com/s/1vW9H-q9C5n2yVAEp38pw5A
Password: GXNX

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: WeAct STM32F411CEU6 black pill

Post by mcauser » Tue Oct 29, 2019 12:19 am

The unpopulated U3 pads on the bottom is for a W25Q32JVSSIQ 32M-bit SPI flash, according to the datasheet

lukesky333
Posts: 44
Joined: Fri Sep 02, 2016 4:07 pm
Location: Austria

Re: WeAct STM32F411CEU6 black pill

Post by lukesky333 » Tue Nov 12, 2019 2:28 pm

mcauser wrote:
Tue Oct 29, 2019 12:14 am
STM32F401CCU6 and STM32F411CEU6 download link:
https://pan.baidu.com/s/1vW9H-q9C5n2yVAEp38pw5A
Password: GXNX
The link seems to be offline. Can you provide the stuff here?

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: WeAct STM32F411CEU6 black pill

Post by mcauser » Thu Dec 12, 2019 8:18 pm

Getting files out of Baidu without an account or installing their network disk is challenging.
If there are any specific files in there that you want, let me know and I’ll try and get them.

tzviki
Posts: 2
Joined: Sun Jan 19, 2020 12:21 am

Re: WeAct STM32F411CEU6 black pill

Post by tzviki » Sun Jan 19, 2020 12:24 am

next to the flash pad labeled u3 there is a pad labeled c15. q:
1) what cap value should the c15 pad be populated with?
2) is spi flash module required for MicroPython on this board? otherwise, what are the benefits of adding spi flash

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: WeAct STM32F411CEU6 black pill

Post by mcauser » Sun Jan 19, 2020 1:15 pm

According to the schematics, populate C15 with a “104” 0.1uF 0402 cap.
https://github.com/mcauser/WEACT_F411CE ... matics.pdf

SPI flash is not required, but it does provide more space.
When building the firmware, you can pick how you want to use it.

I am using an external W25Q128 module. 64 and 32 also work.
https://github.com/mcauser/WEACT_F411CEU6
The SPI flash pins are exposed on the side pins, so you have the option of experimenting with a few flash sizes, until you are happy to solder one on.

tzviki
Posts: 2
Joined: Sun Jan 19, 2020 12:21 am

Re: WeAct STM32F411CEU6 black pill

Post by tzviki » Tue Jan 21, 2020 3:04 am

Great success, thank you!

Image

gersch07
Posts: 3
Joined: Sun Jan 26, 2020 10:00 pm

Re: WeAct STM32F411CEU6 black pill

Post by gersch07 » Mon Feb 03, 2020 10:59 pm

Dear all,

I’ve followed the steps above to compile MicroPython (including support for a Winbond W25Q128 Flash Chip) and successfully flashed it using the ST-Link Utility. However, the ST Virtual COM port has so far only appeared twice after plugging in the USB cable... most of the time the device remains undetected, showing „Error 43“ in the Windows device manager. I‘m not sure if this is related, but in the „STM32duino“ forum people have reported that running the MCU at 100 MHz causes the USB clock to be slightly off...
Has anyone of you had similar trouble? I’ve also opened an issue on GitHub.

Thanks for your help!

Post Reply