STM32G431 vs STM32F411

Post here first, or if you can't find a relevant section!
Post Reply
justinjools
Posts: 41
Joined: Thu May 02, 2024 11:10 am

STM32G431 vs STM32F411

Post by justinjools »

Hi, I was looking at other STM32 MCU's are came across the STM32G431 and wondered how different it is to the STM32F411.

For some context I am designing a Eurorack module using 12v / 3v3 rails with current draw of about 100mA. So the STM32F411 seems the right choice but wondered if the faster 170 MHz and higher power consumption is much different for a 12v project.

Has anyone tried this?
STM32ardui
Posts: 139
Joined: Mon May 06, 2024 1:46 pm
Answers: 1
Location: Germany

Re: STM32G431 vs STM32F411

Post by STM32ardui »

It's early in the morning but I already had my pot of coffee.
I read your posting 3 times in between and still don't understand what you're talking about.

1. STM32F411 and STM32G431 are using 3,3 V as power supply.
2. For both MCU you can find a datasheet and inside are a lot of information about power consumption.
3. STM32G431 is more modern than F411, so normally µA/MHz should be lower. None of them takes 100mA.
4. You should choose a MCU by your needs: amount of Flash and RAM, amount of I²C or UART interfaces, DAC, comperators etc.
ag123
Posts: 1798
Joined: Thu Dec 19, 2019 5:30 am
Answers: 28

Re: STM32G431 vs STM32F411

Post by ag123 »

G431 has DAC, OpAmp and Comparators
less sram and flash
justinjools
Posts: 41
Joined: Thu May 02, 2024 11:10 am

Re: STM32G431 vs STM32F411

Post by justinjools »

Hi guys,

It's hard to know what people know but if you don't know what Eurorack synthesizer modules are here's a link:
https://intellijel.com/support/eurorack-101/

I was stating my project is low power consumption current draw of an estimated 100mA with 3v3 and 12v power rails and I am using STM32F11 which is of course 3v3. I should have said I am using Eurorack 12v power and LM1117 3v3 regulator for the power rails which might have caused some confusion so not actually drawing any power from the MCU for external peripherals (I took this for granted you'd know in Eurorack design).

I know all the specs of the two boards. RAM is a consideration and the STM32F411CEU6 standard has 128 RAM but WeAct also have an 8MFlash version - I have both of these I am trying out for my project. I can always add a flash drive though to a standard board if I need but have the convenience of not having to with the 8MFlash version.

The STM32G474CEU6 with 128kb RAM is more expensive than the STM32F411 while the STM32G431CBU6 32kb RAM is a bit cheaper.

The STM32G431 has 4 x 12-bit DAC channels which would suit my project well, as now I am using 2x MCP4822 external DACs for four channels so this may be a better consideration for the future.

Otherwise it has the IO's I need the same as the STM32F411.

What I was really asking was not technical though, I was asking if anyone has experience using the STM32G431 and what they thought.
GonzoG
Posts: 460
Joined: Wed Jan 15, 2020 11:30 am
Answers: 32
Location: Prudnik, Poland

Re: STM32G431 vs STM32F411

Post by GonzoG »

justinjools wrote: Fri Jul 12, 2024 10:34 am

I was stating my project is low power consumption current draw of an estimated 100mA with 3v3 and 12v power rails and I am using STM32F11 which is of course 3v3. I should have said I am using Eurorack 12v power and LM1117 3v3 regulator for the power rails which might have caused some confusion so not actually drawing any power from the MCU for external peripherals (I took this for granted you'd know in Eurorack design).
Bad idea for a low power consumption. Using 12V power and 3.3V LDO you will use only 1/4 power. 3/4 will be wasted on LDO.
justinjools wrote: Fri Jul 12, 2024 10:34 am I know all the specs of the two boards. RAM is a consideration and the STM32F411CEU6 standard has 128 RAM but WeAct also have an 8MFlash version - I have both of these I am trying out for my project. I can always add a flash drive though to a standard board if I need but have the convenience of not having to with the 8MFlash version.
External flash is not the same as built in flash, especially those single line SPI... And you CANNOT add RAM.
justinjools wrote: Fri Jul 12, 2024 10:34 am What I was really asking was not technical though, I was asking if anyone has experience using the STM32G431 and what they thought.
It runs the same as F401/F411.
Thoughts ... ?? It all comes down to MCU specs and what you need for a project.
STM32ardui
Posts: 139
Joined: Mon May 06, 2024 1:46 pm
Answers: 1
Location: Germany

Re: STM32G431 vs STM32F411

Post by STM32ardui »

justinjools wrote: Fri Jul 12, 2024 10:34 am It's hard to know what people know but if you don't know what Eurorack synthesizer modules are here's a link:
https://intellijel.com/support/eurorack-101/
Where do you connect a STM32F411 at such a rack? :mrgreen:

If you want a recommendation from other users, you first have to describe, want you want to do!
A STM32, a external DAC, a 4to16 port expander, in between a shift register (with SPI? really???) - what we should do with these pieces of information?

A LM1117 can give you IOUT = 800 mA :!:
And a lot of heat!
justinjools wrote: Fri Jul 12, 2024 10:34 am The STM32G474CEU6 with 128kb RAM is more expensive than the STM32F411 while the STM32G431CBU6 32kb RAM is a bit cheaper.
Again: no one knows, what you are doing.
RAM will be interesting, if you have to buffer a lot of data.
At the beginning you should take care about Flash. I think 128 kB is absolute minimum!
And a additional flash memory is only useful to store data (no program code), but you have to include it and read it.

Why is price important?
Do you need 100 STM32-boards?


justinjools wrote: Fri Jul 12, 2024 10:34 am What I was really asking was not technical though, I was asking if anyone has experience using the STM32G431 and what they thought.
I think it is a chip from ST and it is working. ;)
I wrote something about DAC and I will not repeat.
And once more: no one knows which frequencies you wants to generate.
Post Reply

Return to “General discussion”