Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
S_V
Posts: 6
Joined: Mon May 11, 2020 5:50 pm
Has thanked: 3 times
Contact:

Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by S_V »

recently I have purchased "Prof ARM & PIC license" of Flow Code". Great software.

I request you to suggest preferred uC in STM32 ( in F0, F3, F4 Series ) and in PIC 16F & 18F series

generally the one you use in your flowcode development center

thanks
SV

Alkaline
Posts: 143
Joined: Mon Aug 20, 2018 11:04 am
Has thanked: 42 times
Been thanked: 41 times
Contact:

Re: Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by Alkaline »

Hello

For me these two

STM32F030RC cheap, good amount of flash and with many peripherals.

STM32F411CE good performance, many peripherals, and good energy performance

ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Re: Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by ronaldlijs »

Hi guys,

Thanks for your lines, st the moment I'm a happy PIC32 user with Flowcode as all works perefctly well....

STM32F030RC is indeed a nice MCU, but which components work exactly in Flowcode 8? I am tempted to start using STM32, but don't want to invest a lot of time if basic things don't work at all...

Thanks for your thoughts,
R

Alkaline
Posts: 143
Joined: Mon Aug 20, 2018 11:04 am
Has thanked: 42 times
Been thanked: 41 times
Contact:

Re: Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by Alkaline »

hello

Theoretically, almost all flowcode components are "cross platform", that is, capable of being run on different family MCUs.

Obviously, incompatibilities can arise.

An example.

If you use the i2c hw channel on stm32 the components that use i2c may not work because i2c arm is managed through Transaction while the flowocode components are not.

However, if you use the i2c software mode that works perfectly, then all the i2c components work perfectly

ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Re: Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by ronaldlijs »

Thanks Alkaline,

That's helpful, which other components are you using yourself with STM32? Hardware USART works? Do you use any LED components like WS2812 and alike? Are interrupts supported? Do you use any OLED displays like SSD1306?

Is there any list of supported/working FC components on STM32?

Cheers!
R

Alkaline
Posts: 143
Joined: Mon Aug 20, 2018 11:04 am
Has thanked: 42 times
Been thanked: 41 times
Contact:

Re: Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by Alkaline »

Hi right now I am communicating with a gsm module.

Uart communication works at all speeds from lowest to highest.

I'm having a problem with reading since RX accidentally stops receiving (I'm trying to find out what causes this block)

Here is the list of components that I have used successfully

Circular Buffer
ILI9341 (8BIT PARELL)
XPT2046 (SPI SOFTWARE)
Keyboard
LOOKUPTABLE
PWM
ADC
I2C SOFTWARE
I2C HARDWARE
STM32 TIMER
SERIAL EPPROM 24C32

Interuts are supported but with some attention.

For example, if you want to use them with a timer, you need to calculate the frequency using the st tool.

ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Re: Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by ronaldlijs »

Hi Alkaline,

This is VERY helpful, I might give STM32F0 a try for sure!! ADC workin really? That's neat.

Our main MCU is a PIC32MZ and as main MCU works really well... I was thinkinf of using the STM32 as an I/O extender via UART, we have a lot of I/O ports to switch things on and off and are using MCP2317 (expensive), but using an STM32F0 for this purpose could be good...

Defintely will do a few boards to develop with this chip! Would be GREAT if Flowcode development would start concentrating on ARM processors as they are so cost effective these days...

Thanks again!!!
R

Alkaline
Posts: 143
Joined: Mon Aug 20, 2018 11:04 am
Has thanked: 42 times
Been thanked: 41 times
Contact:

Re: Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by Alkaline »

Hi
if I can give you some advice.

If you need the bootloader and want to upload the new firmware via USB use this FT234XD-R.
There are already commercial PCBs with this chip that allow you to connect the STM32's UART and proceed with programming via the bootloader.
You can safely use the chip's VOUT pin to power the mcu in the programming phase.


If you want you can try to set the compiler settings differently.

For example, I set -Ofast and got a good performance boost for some operations.

For further details see https://gcc.gnu.org/onlinedocs/gcc/Opti ... tions.html

ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Re: Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by ronaldlijs »

Many MORE thanks for this, it was going to be my next question.

I think in the beginning I can use the device you mention to program it, but eventually we will implement reprogramming from the PIC32 directly via the USART connection ;-) We just need to add I guess a physical connection between the BOOT0 pin of the STM32 and the PIC32 on top of the USART connection that will be there to communicate between them :-)

We will probably use external 12MHz XO (as this is the one we use for the PIC32 currently), what clock arrangenment do you use yourself?

Cheers,
R

Alkaline
Posts: 143
Joined: Mon Aug 20, 2018 11:04 am
Has thanked: 42 times
Been thanked: 41 times
Contact:

Re: Most preferred STM32 uC ( in STM32F0, STM32F3 & STM32F4 series)

Post by Alkaline »

Hello

I think it' s possible.
To implement programming via pic32 you will need to refer to this application note

https://www.st.com/resource/en/applicat ... ronics.pdf

and

https://www.st.com/resource/en/applicat ... ronics.pdf


At the moment I'm using 32 MHz of input clock!

Post Reply