cancel
Showing results for 
Search instead for 
Did you mean: 

Beginner using Arduino framework and Blue Pill.

saiful4444333
Associate

I began to learn STM MCU programming. I use Arduino framework. Is It possible to get full access by using Vscode + platformIO + Arduino framework. 

Full access means can functioning all features of stm ic.  I have stm32 blue pill development board. 

Please give me the guideline to become a professional and perfect stm programmer. 

7 REPLIES 7
Dazed_N_Confused
Associate II

 A great start will be to use this forums search function and search and read post related to "Blue Pill". That should save you a great deal time time and heartache. 

MM..1
Chief III

You learn nothink with your choice. Arduino is abstract layer ... LEGO programming.

STM32duino · GitHub

 

TechyLegend
Associate

 If you are serious about ARM based Controllers then use Vendor backed Software for developing and learning/practicing on your blue-pill for e.g Stm32CubeIDE, Stm's Hal, and Arm CMSIS for indepth Architecture understanding. Use Arduino only for fast Prototyping or testing. 

Eastech
Associate II

You can use VS Code, PlatformIO, and the Arduino framework to develop for STM32 microcontrollers—such as the "Blue Pill."
However, if you require "full functionality," the Arduino framework does not provide complete coverage.
Arduino serves as a pre-packaged abstraction layer: while it is easy to use, it is not comprehensive.
www.eastechic.com

mfgkw
Senior III

Hi,

IMHO "professional and perfect" is the opposite of "blue pill" and Arduino.

 

Arduino is a bit like BASIC programming for children or Java for adults (sorry, if someone is offended now - exaggeration is intended).

 

Blue piill is a cheap and not bad by itself. But you have a good chance to get a fake MCU soldered on it with strange behaviour - your mileage may vary.

A black pill board is very similiar, has a bit more power, and maybe the average quality is better (at least it was better, when the faked blue pills showed up en masse).

If you get along with your blue pill, then use it. As soon as there are troubles put it aside and buy a NUCLEO board.

Besides of that I would recommend not to use Arduino environment in the first place for learning. Get an overview of what HAL, LL and bare metal means and decide where you want to start for learning (maybe HAL).

On the other hand there are better communities for Arduino than this if you want to stay with Arduino.

 

HTH Klaus

 


@mfgkw wrote:

Blue piill is a cheap and not bad by itself. But you have a good chance to get a fake MCU soldered on it 


@saiful4444333  And, thus, you have no guarantee that it will work properly - or even at all - with ST's tools.

A search of this forum for "Blue Pill" will find plenty of tales of woe due to this.

 

Also beware of fake/clone ST-Links: How to recognize a genuine ST-LINK/V2 versus a cloned one

In particular, anything which looks like this is a fake.

 


@mfgkw wrote:

If you get along with your blue pill, then use it. As soon as there are troubles put it aside and buy a NUCLEO board.


Absolutely!

 


@mfgkw wrote:

there are better communities for Arduino than this if you want to stay with Arduino.


Indeed.

For STM32 Arduino questions: https://www.stm32duino.com/

For general Arduino questions: https://forum.arduino.cc/ 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User

@saiful4444333 wrote:

Please give me the guideline to become a professional and perfect stm programmer. 


See For better learning STM32 programming and debugging - 98% of it is not specific to any particular microcontroller.

In particular, here is a practical approach.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.