Bluepill with STM32F4

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
racemaniac
Posts: 364
Joined: Sat Nov 07, 2015 9:09 am

Bluepill with STM32F4

Postby racemaniac » Tue Dec 27, 2016 9:31 pm

I love the formfactor of the bluepill, but sometimes wished it had a bit more power.
So... i ordered some stm32f401 & f411 chips, (and a hot air smd rework station XD), and gave it a try to get one of these nice processors on a bluepill :).
(ok, a few tries :p)
STM is really good at keeping pin compatibility between their processors. all essential things (power supply, crystals & usb) are on the same pins on most processors (i did find an exception somewhere, always check with the cubemx tool). So i ordered a few of the 4 series chips that are also 48 pins to give it a try :).
If you look up these microcontrollers, you'll notice it's not a QFP package, but QFN, which is pretty annoying to work with, but if my current attempt worked, then it's quite doable with a hot air station. and the pads also extend to the side a bit, so if a pin isn't soldered properly, you should be able to add some solder to it with a fine tip and a steady hand.

After getting to know my hot air station a bit, i now have a bluepill with a stm32f401ceu6 that i've been able to program, and that is blinking the bluepill led :). Not sure yet how well my soldering job was and if all pins will work, but this is a good start XD.

Now could we somehow convince the chinese companies making bluepills/maple minis to make these? imagine being able to buy the likes of this for < 10$ XD.

If everything is succesful, this little bluepill now has 2 DACS, 3 I2C ports, 3SPI ports (of which 2 can do I2S) and can also be a usb host, not just a device . And it can go to 84Mhz (and the spi ports are thus also faster ). And to top it off, 96kb ram, 512kb flash!

User avatar
RogerClark
Posts: 5614
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Bluepill with STM32F4

Postby RogerClark » Tue Dec 27, 2016 10:23 pm

Thats super cool.

I wonder what the price difference is between teh F103C and the F401 (at 100 off quantities)

The manufacturer would probably be willing to make a batch of these, if there was sufficient order quantity e.g. 100 +

I wonder who makes the Black Pill (or the Blue Pill), as it may be worth us getting in touch with them and asking about a price.

zmemw16
Posts: 1099
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Bluepill with STM32F4

Postby zmemw16 » Wed Dec 28, 2016 1:24 am

first - oh why didn't i ... ...

um, baite mini maple with a 401

any others the same type of substitution might work on/with?

on aliexpress, you're swamped with all the nucleo-401's offered
on the stm32f401ceu6 chip, 3-4ukp, farnell uk are listing 5.50 area

someone is offering 50 for £1950, i suspect there's a missing zero typo in there, well i'd hope so.

stephen

racemaniac
Posts: 364
Joined: Sat Nov 07, 2015 9:09 am

Re: Bluepill with STM32F4

Postby racemaniac » Wed Dec 28, 2016 7:18 am

the compatible chips are the stm32f401, 411, 412, 413 and 423
I've also got a few 413's on the way from digikey (since i can't find those on aliexpress).
The're really insane 0_0 1.5Mb flash, 320kb ram, dacs, plenty of spi i2c i2s, you name it, sdio, usb host, .... it's all there in that tiny chip that fits on a bluepill/maple mini /...
There usually is 1 small difference with the pinout of the stm32f103: they have one output pin less, because one of the pins you're supposed to put a capacitor on for the internal reference voltage. but if not using that feature, you probably don't even have to bother :) (and otherwise it'll be like adding the bluepill parallel resistor for usb).
also if we'd convince a chinese factory to produce boards like this, they might want to swap out the qfp pad for something more suited for qfn :). it fit's on there, but it was not really made for it XD.

and you can indeed find some mucleo's 401 on aliexpress etc... but it's again a stupid uno sized board, and 20$ is just too much for such a clumsy thing >_<.
you can indeed find the 401 for about 4-5€, and the 411 for 5-6€ a piece, so making a modded bluepill/maple mini isn't that expensive XD.

And a maple mini with the better chip is indeed also possible :). In my previous dealings with the boards however (a while back i did the same with an stm32f303 on bluepill/maple mini) i noticed that the baite pcb is a bit more delicate to switch the microcontroller on. and since it costs a lot more, i stuck with bluepills from then on. With my SMD rework station it may work better now, i'll give it a try (finally a usage for all the maple mini, bluepill, blackpill, ... boards i've been hoarding XD)

User avatar
ahull
Posts: 1471
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: Bluepill with STM32F4

Postby ahull » Wed Dec 28, 2016 11:45 am

racemaniac wrote:t
The're really insane 0_0 1.5Mb flash, 320kb ram, dacs, plenty of spi i2c i2s, you name it, sdio, usb host, ....

You could almost run a "real" OS on that :o What maximum speed is the ADC ? I think I feel a turbocharged pig-o-socope in the offing. :D
- Andy Hull -

racemaniac
Posts: 364
Joined: Sat Nov 07, 2015 9:09 am

Re: Bluepill with STM32F4

Postby racemaniac » Wed Dec 28, 2016 12:08 pm

ahull wrote:
racemaniac wrote:t
The're really insane 0_0 1.5Mb flash, 320kb ram, dacs, plenty of spi i2c i2s, you name it, sdio, usb host, ....

You could almost run a "real" OS on that :o What maximum speed is the ADC ? I think I feel a turbocharged pig-o-socope in the offing. :D

i don't know, have a look in the datasheets of these processors, and see what they're capable of :). i'm just now getting to know them and start experimenting with them :).

User avatar
ahull
Posts: 1471
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: Bluepill with STM32F4

Postby ahull » Wed Dec 28, 2016 1:42 pm

12-bit ADC reaching 2.4 MSPS


stm32f413_f423_image.jpg
stm32f413_f423_image.jpg (36.5 KiB) Viewed 737 times


http://www.st.com/content/ccc/resource/ ... 32f4x1.pdf

Hmmm.. Very interesting.. I wonder what potential there is to overclock them...
- Andy Hull -

michael_l
Posts: 319
Joined: Mon Aug 24, 2015 6:11 pm

Re: Bluepill with STM32F4

Postby michael_l » Wed Dec 28, 2016 5:14 pm

F103 power has been ok for me but I'm running out of RAM :-)

Would be awesome to get a board with BP form factor and F4!

zmemw16
Posts: 1099
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Bluepill with STM32F4

Postby zmemw16 » Wed Dec 28, 2016 7:01 pm

what does the blue pill plus pin out diagram look like at the edges ?

a complete re-write or just a few pins ?

stephen

User avatar
Rick Kimball
Posts: 794
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US
Contact:

Re: Bluepill with STM32F4

Postby Rick Kimball » Wed Dec 28, 2016 7:20 pm

It seems like there are a couple of lqfp 48 parts available in the stm32l4xx line, the stm32l433cct6 and the stm32l443cct6. These don't have as much ram or flash (64k/256k) but might be an easier replacement, * assuming the pin outs are the same * Both are a step up from the f103's 20k

I wonder if you can just buy the bluepill pcb?

-rick
-rick


Return to “STM32F4 Boards”

Who is online

Users browsing this forum: No registered users and 1 guest