GithubHelp home page GithubHelp logo

weactstudio / weactstudio.ministm32f4x1 Goto Github PK

View Code? Open in Web Editor NEW
643.0 43.0 145.0 164.03 MB

MiniF4-STM32F401CEU6/STM32F411CEU6 Product Literature

C 90.16% Assembly 8.39% Batchfile 0.02% HTML 1.25% Makefile 0.01% Rich Text Format 0.14% Python 0.03%

weactstudio.ministm32f4x1's Introduction

STM32F4x1 MiniF4 / WeAct Studio 微行工作室 出品

STM32F401CCU6 / STM32F401CEU6 / STM32F411CEU6 Core Board

"STM32F411 Immersion Gold Board 3D View"

Where to buy

  1. TaoBao WeAct Studio official store
  2. AliExpress WeAct Studio Official Store

None of the boards received without Logo WeAct Studio && version number are produced by us. If there are any quality problems or technical problems, please find the seller to solve them by yourself. It is best to report them and comment on them, so as not to deceive others!!

"Description of Logo and version number"

We do not produce the boards that we received without the Logo WeAct Studio && version number.

Our Boards

  • 411 adopts lead-free gold-sinking process, 401 adopts lead-free process, and the needles are gold-plated. All materials conform to ROHS standard, and lead is harmful to health, while piracy USES lead for profit

  • All use the latest batch of chips to give customers the best product experience

  • 25MHZ high speed crystal vibration & 32.768khz low speed crystal vibration adopt high quality metal shell crystal vibration, the starting effect is better

  • Flash disk is reserved to meet the needs of big data storage and microPython. USBDisk&&FATFFS routine is provided

  • Support for MicroPython programming with available MicroPython firmware

  • Support for Arduino programming, see detailsGithub

  • Version V3.1, there are three keys, reset key, BOOT0 key, user key

"Chip batch introduction"

We are committed to always use the best raw material, using the latest chips, users get the best user experience, improve the efficiency of development.

Our Board Packaging

""

The parameters of the board chip we produced are compared

STM32F401CCU6 STM32F401CEU6 STM32F411CEU6
Freq. 84Mhz 84Mhz 100Mhz
ROM 256KB 512KB 512KB
RAM 64KB 96KB 128KB
Sale situation discontinued discontinued In the sale

Pin distribution diagram

Thanks, Richard·Balint !!

With the pin allocation diagram, it's easier to work with MicroPython and Arduino!

 "/General document/STM32F4x1 v2.0+ Pin Layout"

MicroPython

  • version: V1.12-35

STM32F401CEU6 Supported
STM32F411CEU6 Supported.

Board Definition

STM32F401CE: /SDK/STM32F401CEU6/MicroPython/WeAct_F411CE
STM32F411CE: /SDK/STM32F411CEU6/MicroPython/WeAct_F411CE

HID Flash

supported in English and Chinese

Enter the HID bootloader method:

  1. Hold down the <KEY>, power on or reset again, and the C13 LED will blink to release
  2. APP enters the bootloader reference stm32f401_test_APP 0x8004000.zip project
  3. More instructions

WeAct HID Flash

How to enter ISP mode

  • Method 1: When the power is on, press the BOOT0 key and the reset key, then release the reset key, and release the BOOT0 key after 0.5 seconds
  • Method 2: When the power is off, hold down the BOOT0 key, and release the BOOT0 at 0.5s after the power is on
  • DFU Mode: Use the data line to connect to the computer. If there is an unrecognized problem, you can heat the chip appropriately (25°C) and then re-enter the ISP mode
  • Serial Port Mode: Connect PA9 and PA10 of core board with USB serial port
  • Soft: STM32CubeProg。

Chip information

MCU Freq. RAM ROM
STM32F401CC 84Mhz 64KB 256KB
STM32F401CE 84Mhz 96KB 512KB
STM32F411CE 100Mhz 128KB 512KB

STM32F411 Info

STM32F411CE STM32F401CC STM32F401CE
STM32F411 Info STM32F401CC Info STM32F401CE Info
Date Code Date Code Date Code
014 (2020.06) End Of Life 934&935 (2020.06)
947&002 (2020.03) 609&608
946&947 (2020.01) 723 (2020.01)
19+ (2019) 16+ (2019)

All chips are functional and original

Board Shape

STM32F4X1 V2.0+

weactstudio.ministm32f4x1's People

Contributors

hackswell avatar leprechaun avatar tim-seoss avatar weactstudio avatar yxzhu avatar zoggn avatar zyq-feiyue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

weactstudio.ministm32f4x1's Issues

5V measured on the 3.3V pins

Hello!

I got two Blackpill V3 boards with the F411CE and when they are connected via the USB cable to my computer, I can measure 5V on both the 5V and the 3.3V pins.

I checked and they are not shorted. Is this normal?

Flashing via ST-Link V3

Hello!

I have two of the V3 boards with the F411CE and I am unable to make my ST-Link V3 detect the chips.

My ST-Link is running the V3J7M3B5S1 firmware, which as far as I know is that latest one.

I am trying to program via SWD.

Here are my connections

ST-Link V3 Board
GND GND
VCC 3V3
CLK SCK
DIO DIO
NRST R

I also tried without the NRST line being connected but still no chip detected.

The board is plugged in via USB and is running an Arduino blink example, which was uploaded via DFU mode.

I made sure with a multimeter that my connections are good.

st-info --probe
Found 1 stlink programmers
 serial:     303033413030314533303339353130383334333933383338
 hla-serial: "\x30\x30\x33\x41\x30\x30\x31\x45\x33\x30\x33\x39\x35\x31\x30\x38\x33\x34\x33\x39\x33\x38\x33\x38"
 flash:      0 (pagesize: 0)
 sram:       0
 chipid:     0x03e8
openocd -f interface/stlink.cfg -f target/stm32f4x.cfg                                                                                                                                                                                                                            
Open On-Chip Debugger 0.11.0
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 2000 kHz
Info : STLINK V3J7M3B5S1 (API v3) VID:PID 0483:374F
Info : Target voltage: 4.638830
Error: init mode failed (unable to connect to the target)

STM32CubeProgrammer is also failing to connect to the chip:

  01:34:00 : STM32CubeProgrammer API v2.7.0
  01:34:16 : ST-LINK SN  : 003A001E3039510834393838
  01:34:16 : ST-LINK FW  : V3J7M3B5S1
  01:34:16 : Board       : STLINK-V3SET
  01:34:16 : Voltage     : 4,60V
  01:34:16 : No STM32 target found!
  01:34:16 : ST-LINK SN  : 003A001E3039510834393838
  01:34:16 : ST-LINK FW  : V3J7M3B5S1
  01:34:16 : Board       : STLINK-V3SET
  01:34:16 : Voltage     : 4,57V
  01:34:16 : Error: No STM32 target found!

Holding the reset button while trying to connect to the chip doesn't work either.

I tried this both on Linux and Windows. Is there something that I am missing here?

Support for 401CCU6

Please, return files for CC version. Can't eploy MicroPython with CE definitions.

digitalWrite outputs 3.3V even though the board is 5V feeded

So I'm trying to figure this out, I thought the board should output, when using digitalWrite (stm32duino), 5V if the board is 5V powered, and 3.3V if it is 3.3V powered, but I'm getting 3.3V on all the pins I write with the board being 5V powered.

Micropython is crashing while trying to use UART6

Hello,
I've troubles with board while using UART6
every time when I'm trying to initialize it micropython is crashing and board goes offline

code example:
from machine import UART
gps = machine.UART(6, 9600)

Thanks in advance,
Ruslan

3D model

Please add a 3D model of STM32F411CEU6-Black-Board in STEP format.

Dismal quality of onboard buttons

I have so far purchased two of this board from retailers offering authentic versions. They are not clones.

On both the boot0 button has come apart, making it quite difficult to enter bootloader mode once they have com apart. I've had to purchase an ST-Link just to make the boards functional once again.

Please, please break out the boot0 pin in a future revision of this board and use a higher quality SMT button so other users don't have to deal with this.

Schematics missing

The repository is missing the schematics of the board. I am trying to understand how to attach an SPI flash memory chip to the F401 version of the board, but without the schematics, I am unable to figure out the details.

ESD Protection

The MiniSTM32H7xx board has ESD Protection applied. Not applicable to MiniSTM32F4x1.

Add support of mbed-os

Do you plan to add support of mbed-os to your boards? (from v.1.3) and then may be you create a PR in mbed

Documentation : how to flash blink example and run it using WeAct_HID_Bootloader

A documentation explaining how to upload a simple blink program could be a great value for this board. Such example is very valuable for people starting using such a new board.
I looked for such example but I didn't find it. After few tries, I manage to see the LED blinking, but I think I finally accidentally erase the bootloader.

A additional valuable documentation could be how to install WeACT_HID_Bootloader using USBtoSerial adapter.


To help you in doc writing, here is what I did. You may find some mistakes to be documented:

Running on Linux (Ubuntu Fosa) I plugged the F401 and saw WeAct_HID_bootloader with LED fading up and down. I press tke KEY and led turned OFF. I saw STM32_HID_bootloader.
I did configure platformio to use dfu to upload the blink (framework adruino) example. The DFU gave ma an error (see bellow). After reboot, the LED is blinking but I cannot see anymore the boot loaders...

[...]
Linking .pio/build/blackpill_f401cc/firmware.elf
Checking size .pio/build/blackpill_f401cc/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   1.3% (used 880 bytes from 65536 bytes)
Flash: [          ]   3.9% (used 10220 bytes from 262144 bytes)
Building .pio/build/blackpill_f401cc/firmware.bin
Adding dfu suffix to firmware.bin
dfu-suffix (dfu-util) 0.9

Copyright 2011-2012 Stefan Schmidt, 2013-2014 Tormod Volden
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Suffix successfully added to file
Configuring upload protocol...
AVAILABLE: blackmagic, dfu, jlink, serial, stlink
CURRENT: upload_protocol = dfu
Uploading .pio/build/blackpill_f401cc/firmware.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Match vendor ID from file: 0483
Match product ID from file: df11
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash  "
Downloading to address = 0x08000000, size = 10656

Erase           [                         ]   0%            0 bytes
Erase           [====                     ]  19%         2048 bytes
Erase           [=========                ]  38%         4096 bytes
Erase           [==============           ]  57%         6144 bytes
Erase           [===================      ]  76%         8192 bytes
Erase           [======================== ]  96%        10240 bytes
Download        [                         ]   0%            0 bytes
Download        [====                     ]  19%         2048 bytes
Download        [=========                ]  38%         4096 bytes
Download        [==============           ]  57%         6144 bytes
Download        [===================      ]  76%         8192 bytes
Download        [======================== ]  96%        10240 bytesdfu-util: Error during download get_status

Download        [=========================] 100%        10656 bytes
Download done.
File downloaded successfully
*** [upload] Error 74

Power supply for connecting USB keyboard

Good day. After making changes and adding a diode starting from version 2.2, you cannot connect the USB keyboard, because it is not receiving power. You have to close the diode. Is it possible to solve this in some other way without having to change the board itself?

Making USB OTG work with the Blackpill V3.0 board

Hi,
I have a v3.0 blackpill board with a F401CEU chip.
I am not certain if it is possible to implement a portable USB host with this board; it would need external power and
I would like to use the USB-C connector to connect self-powered devices to it.
Is that possible and if yes do you have some information on how I would have to set up VBUS and power for the board,
and if I need any external parts apart from the blackpill board itself?

Thanks a lot.

How to reflash the black pill V2.0 ?

Hi,

I used to program my new black pill with ST link V2 in Arduino IDE.

Then I tried to program it with STM32CubeProgrammer, it got locked first, then I tried the method found in ST forum which is to press on NRST before pressing Connect and it worked.

But then I only now can program it with this method and I can't program it in Arduino anymore.

What's going on ? and how to upload the regular ST bootloaders for the STM32F411CE

I also tried the method in this page:
https://docs.zephyrproject.org/3.1.0/boards/arm/blackpill_f411ce/doc/index.html

And installed MSYS2 and tried to get the DFU-util, gone up to the step of generating the file with the MSYS2 MINGW64 but that didn't work. So I couldn't get the binary file. So I thought to find the official one and try to re-flash the board again.

Whether or not the PA10 port burned out from a level of 5 volts

Hello @WeActStudio.
When designing the board on which BlackPill stm32f401ccu6 was planned to be placed, I made a mistake when creating the CH340G circuit.
photo1685817698 (2)
It was necessary to power the microcircuit from 3.3 volt, either through a converter, or two diodes.
ch340_ttl
Or use a level shifter.
qDDi9
But that's all I'll do in the next PCB.
In general, I soldered the board, and it turns out that 5 volts were supplied to PA9 and PA10.
My schematic(((
Скриншот 19-07-2023 22 11 11
Pins TX/RX have a voltage level of the CH340G microcircuit, namely about 4.7-4.9 volts.
And this level was fed to the inputs PA9/PA10, where 3.3. volt...
The most interesting thing is that the whole scheme worked and gave me data from the gyroscope sensor in serial port.

void setup() 
{
Serial.begin(115200);
}
void loop() 
{
Serial.println("Hello World");
}

252343495-0610fea0-949a-4ca4-95e9-1b9b227c5ab5
I had an MPU9250 sensor connecting by I2C bus SDA-PB7, SCL-PB6 and the microcontroller received data on this bus from the sensor and transferred them to the UART port, i.e. COM port, which was created by the CH340G chip.
I tested the board for about a week, and today the serial port stopped outputting data...only garbage.
Скриншот 19-07-2023 23 09 55
I began to figure it out - when there is no device on the I2C bus, then the data quietly goes to the UART on the CH340G in the serial port, but even when there are devices, and the sketch is launched to check the address of the device, everything works.
252144560-ced03aaa-3e41-451f-be32-09c8125e005d
When I install an MPU9250 sensor or another device on the I2C bus and issue a port to the serial, nothing is output to the UART.
I have three BlackPills and I compared them.
If the debug board is not in DFU mode, then on the legs PA9 and PA10 3.2 volts each.
If I switch the board to DFU mode, then on two "serviceable" BlackPills I have voltage levels on PA9 and PA10 near zero (to be precise, 0.12 volts), and on the "faulty" BlackPlil one on PA9 0 volts, and on PA10 3.2 volts .
If I press the RESET button, then the voltage level drops to PA9, and 3.2 volts remains on PA10.
On the other two BlackPills and on PA9 and PA10, the level drops by 0 volts.
I wrote a sketch to press the legs to a low level, and played around with the PA10 leg - and it is pressed to zero, only up to 0.45 volts, and then 3.2 volts.
Sketch below.

void setup() {
  pinMode(PA10, OUTPUT); 
}

void loop() {
  digitalWrite(PA10, LOW); /
  delay(3000); /
  digitalWrite(PA10, HIGH); 
  delay(3000); 
}

The documentation says that PA10 is needed for OTG_USB.
Скриншот 19-07-2023 23 47 13
In general, PA10 is data reception, how does it affect the output of information from the serial port?
And I2C also fails ... maybe I have something with the timer?
Скриншот 19-07-2023 23 50 16
What am I doing wrong, or did I spoil the stm32f401ccu6 output of PA10?
The documentation says that all pins are 5 volt tolerant...
253820606-77796336-4507-47ab-b66d-d6c1d3f6b5a9
It’s very strange, if I don’t use the I2C bus, then I get the output to the serial PA10 without problems, as soon as the I2C bus works, except for the sketch address scanner, the serial port does not output anything.

Relevant pictures and information about Black Pill v3.1

Hello, devs and community!
I'm looking for original WeAct boards information trying to avoid pirates and I've found there's no information about Black Pill v3.1 on the main page of this repo and on the Products repo too. There're pictures and a description of v3.0 that confuse me. I know there're probably minor changes I can find in folders of the repo but I guess it would be better to see the most relevant and new updates right on the main page since even the logo appearance has changed. I also think users trust more those manufacturers and developers who keeps their sites/repos/blogs up to date

USER KEY CONNECTED TO?

I Have version 3.0
And there a user KEY, but it missing in schematic and in pin diagram.

Where I can buy original STM32F401CEU6 model Black Pill?

I want to buy STM32F401CEU6 @ 84Mhz 512KB ROM 96KB RAM Black Pill model (as listed in README), but it is not available anywhere. I can find only lot of old STM32F401CCU6 clones all around Aliexpress, but I'd prefer to buy original.

Official WeAct Studio Official Store lists only more expensive STM32F411CEU6. Is there any chance to get cheaper ($3?) STM32F401CEU6 on stock?

I need to cheap ARM board for radio communication for kids, but STM32F411 is tad too expensive. I like STM32F401 as it is cheap and provides 5V tolerant pins and enough RAM and ROM. But otherwise I'd use Rpi Pico, which however has no 5V tolerant pins.

CMSIS-DAP wishlist

Hello and thank you for those wonderful minimal boards. I have bought at least four of F411CE (+ w25q64) by now.

  1. dfu-util -a "@Internal Flash /0x08000000/04*016Kg,01*064Kg,03*128Kg" -s 0x08000000 -D CMSIS-DAP_WeActStudio.bin

    While this command is okay for flashing,
    dfu-util -a "@Internal Flash /0x08000000/04*016Kg,01*064Kg,03*128Kg" -s 0x08000000 -D CMSIS-DAP_WeActStudio.bin
    I have successfully used a different form and had it exit into the application immediately after reflashing: (CC @linuxtim)
    dfu-util -d 0483:df11 --alt 0 -s 0x08000000:leave -D CMSIS-DAP_WeActStudio.bin
    Or even flash your firmware using a Blackmagic Debug Firmware compatible board (connect under reset, because this DAP apparenly unmaps its SWJ-DP pins).
  2. Why is the shipped binary presenting a fixed serial number of 0001A0000000 despite F401CC and F411CE have unique serial numbers at ST DESig UID_BASE 0x1FFF7A10? This makes it impossible to plug two such debuggers (or more) and address them from desktop software programs. You even refer to it in your project in GetSTM32MCUID() but USB callbacks should be configured to read, compute and return that value.
  3. Why is the shipped binary only supporting HID transport but not Bulk vendor-specific transport? This is especially slow on Full-Speed devices like F401/F411. ARM CMSIS-DAP reference implementation may support both options.
  4. Why is the shipped binary only supporting SWD, but not JTAG? Two extra pins is easy enough to configure and manage. This prohibits debug of JTAG-only targets, like RISC-V, and reprogramming FPGAs.
  5. Why do you implement System Reset as a SWD sequence to AIRCR SYSRESETREQ, and not as a GPIO open-drain pull low? Most gdbservers can do a soft reset write already, but they can't tell the adapter to pull its nSRST pin low otherwise. This is important for debugging some of the targets.
  6. Why is the shipped binary missing a Virtual COM port secondary interface? Most debug firmware solutions provide a UART-USB channel to communicate with the debugged device. Is it related to the 1+3 endpoints limitation of DWC2 OTGFS in F401/F411?
  7. Can you please convert the Keil project into something I could import in, say, Eclipse MCU CDT? Or I should recreate an STM32CubeIDE project for this?

c251:f001 Keil Software, Inc. WeAct CMSIS-DAP

Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: SWO streaming trace supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Black Magic Debug App v1.10.0-898-g4e482088
 for Black Magic Probe, ST-Link v2 and v3, CMSIS-DAP, J-Link and FTDI (MPSSE)
Using c251:f001 0001A0000000 CMSIS-DAP by ARM
 WeAct CMSIS-DAP ---
Using hid transfer
CMSIS-DAP v2.0.0, Capabilities: 71 (SWD, Atomic commands)
Adaptor supports DAP SWD sequences
## => Board Name | Unique ID
-- -- ----------------------
 0 => CMSIS-DAP by ARM WeAct CMSIS-DAP | 0001A0000000

SVD file

Please add .svd file for STM32F411CEU6. Could be useful for debugging in tools like Segger Ozone.

Noisy 3.3v (is it a clone?)

We are prototyping a big project using these and have probably used nearly 100 so far from different suppliers. We find some are having inaccurate ADC reading. We have traced this down to what we suspect is a noisy 3.3v supply. See below for some oscilloscope shots of the 3.3v rail on a good, ok and bad board respectively. All tests powered from the same stable 5v USB.

  1. I suspect some are probably clones. Is there a definite way to check if they are clones or not?
  2. Has anyone else seen this kind of noise on the 3.3 rail or could this issue be something else?
  3. We may try replacing the regulator, what is the official regulator used on the genuine boards?

Good (Stable ADC readings)
20231010_162656_good

OK (Slight errors in ADC)
20231010_162959_ok

Bad (Wildly off ADC)
20231010_163639_bad

Datasheet for STM32 F405 and F446

Hi would need explanation on these two board the STM32F405 and STM32F446 as there are very little documentation and schematics found online
particular on the SB jumper and the SD card SDIO or SPI information

SB1 , SB2 , SB3 - what pin and what it does?
SD card - is it an SDIO or SPI?

Board improvement

I am currently working on a battery powered sensor node. For data storage I have attached a W25Q32 EEPROM to the board. The EEPROM works fine, but when I switch to standby mode on the STM32 using the HAL_PWR_EnterSTANDBYMode() function. The EEPROM still consumes 1-2mA which is very much higher than the uA level current it should do.
The problem lies in the fact that PA4 (CS) goes low when the STM32 goes into standby and therefore /CS for the EEPROM is active which causes the chip to become active and consume 1-2mA. I found the solution to be to place a pullup resistor of 100k-1M between pin 1 (/CS) and pin 8 (3V3). In my case the current went down to 3uA. Maybe it is a board improvement to include unpopulated pads for this resistor just like there are unpopulated pads for the decoupling capacitor for the EEPROM on the bottom side of your board.

How is "blackpill" ADC analog voltage supplied?

I am interested in the ADC analog voltage supplies - specifically VDDA and Vref+

Is it possible to isolate these and supply the analog voltage from an external supply? One developer, Martin Loren*, says he "removes a component" (capacitor ?) on the blackpill board and wires a "shunt" to supply an external Vref+ from board pin PA2 but I can't find any blackpill board schematics or PCB layout to get more details.

STM provided a seperate analog supply to the ADC for a very good reason and I would like to be able to use them in the Blackpill or some future iteration.

Many thanks!

Derek Eder

IMG_20200929_180800

IMG_20200929_183735

Not powering on using USB-C cable with E-Mark

I'm having problem connecting the board to MacBook Pro with the default USB-C to USB-C cable, which has a E-Mark chip. The board is not powering on at all. It is working well with a USB-C cable without E-Mark, or a USB-A to USB-C cable.

Looking at the V20 Schematics, I noticed that the 2 CC pins are shorted. The board should have a 5.1kOhm pulldown resistor on each of the CC1 and CC2 lines, not shorting them.

It seems that Raspberry Pi 4B has made a similar mistake. Here is a in-depth analysis: https://hackaday.com/2019/07/16/exploring-the-raspberry-pi-4-usb-c-issue-in-depth/.

Unrecognized Black Pill (STM32F401CCU6) in DFU mode

Hello!

I have a problem with the Black Pill not being recognized by my Ubuntu computer (and Macbook) when trying to enter DFU mode. When I follow the instructions given for entering DFU mode (both method 1 and method 2 listed here in the repo) the board is only recognized approximately every 1 in 20 attempt. I don't really understand the "heating the chip up" instruction, but it is 25°C.

The board is recognized as an UART interface normally. I have connected it with a USB-C cable and my Ubuntu computer is a Nuc8i5.

best regards,
Karl Johannes

Bug with ST32F411CEU6 V3.1 in arduino programming, Platformio and STM32LowPower lib (STM32duino Low Power)

With Black Pill ST32F411CEU6, arduino coding, platformio

If the code is:
``
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
``

The LED is blinking.

But if the code is:
`
#include <STM32LowPower.h> //Last STM32duino Low Power lib
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
LowPower.begin();
}

void loop() {
digitalWrite(LED_BUILTIN, HIGH);
LowPower.deepSleep(2000);
digitalWrite(LED_BUILTIN, LOW);
LowPower.deepSleep(2000);
}
`
The LED does not blinking
What is the problem ?
Do you know a method to perform a deepsleep ?

STM32L4xx for significantly better USB support

The USB OTG FS controller in the F401/F411 is severely crippled, as it support only 3 USB Endpoints per direction, which makes it impossible to implement more than 1 USB CDC interface (1 Bulk IN and 1 Interrupt IN required per interface).

The L4xx support 6 endpoints per direction, so up to 3 USB CDC could be supported, or a variety of other compositions.

The L4xx are mostly pin compatible with the F401/F411 (and are fully compatible with the BlackPill schematic).

Given the BluePill+ (which does not have these restrictions) is completely unavailable, this would be very welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.