STM32G series ? - Page 1
Forum section: electronics / general

author: Kjelt
author_rank: Super Contributor
timestamp: July 14, 2017, 09:21:20 am
content: Hi, I have heard rumours of a new STM32G series coming out.Rumours have it that it is a new Cortex M0 (+?) ultra low power controller, anybody has something concrete/substantial to share about this new microcontroller?

author: koyodza
author_rank: Newbie
timestamp: August 09, 2017, 03:53:57 am
content: Do You have any link?I think, no one STM32G have. It can be misprint: G key near to FOr may be somebody misunderstood the name of one development board like STM3220G

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: August 09, 2017, 03:57:11 pm
content: There's the STM32H7 series, which is just a Cortex-M7 at double the clock rate of the STM32F7.

author: Kjelt
author_rank: Super Contributor
timestamp: January 06, 2019, 07:13:19 pm
content: It took them long enoughhttps://www.st.com/en/microcontrollers/stm32g0-series.html?querycriteria=productId=SS1960

author: Yansi
author_rank: Super Contributor
timestamp: January 06, 2019, 09:57:26 pm
content: Quote from: Sal Ammoniac on August 09, 2017, 03:57:11 pmNot quite just that.And we have plenty of STM32G0 parts and kits long available at work. They are even available at distributors for some time.An there are other very interesting lines currently in deveelopment (working samples already available for us), however I can't talk about these yet.//Okay, I can talk about STM32WB, they are public now, STM32L5 are also public.

author: krho
author_rank: Regular Contributor
timestamp: January 07, 2019, 05:33:40 am
content: What I'm interested about is the ~ pricing @1000pcs for STM32WB.Even at the Electronica they weren't at liberty to discuss that and I find it rather odd.

author: r0d3z1
author_rank: Regular Contributor
timestamp: January 08, 2019, 07:23:03 am
content: STM32G4 will be very interesting

author: josip
author_rank: Regular Contributor
timestamp: January 08, 2019, 10:36:18 am
content: I am definitely fan of 48+ MHz M0+ devices, but I am missing USB module here. I also dislike mentioning USB on the top of the datasheet, and than it is followed by all online distributors search engines, when it is related only to existing "power supply by USB" option.

author: Yansi
author_rank: Super Contributor
timestamp: January 08, 2019, 11:42:15 pm
content: Quote from: r0d3z1 on January 08, 2019, 07:23:03 amWho have told you about those? You are not supposed to know yetBut keep calm and wait, we're cooking some more interesting high performance stuff.

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 09, 2019, 01:17:29 am
content: Quote from: Yansi on January 08, 2019, 11:42:15 pmReally? Would be interested in a 32-bit MCU running at up to 400MHz with a power consumption of about 10µA/MHz. Is that coming soon?

author: lucazader
author_rank: Regular Contributor
timestamp: January 09, 2019, 04:01:05 am
content: Im hoping that since the Fo->G0 series went from the 180nm-> 90nm, that the future "G4" series will go from 90nm (i think thats what they use..?) down to the 28m, FD-SOI tech that ST has been working on for the last age.That would be great for super low power consumption, and higher clock speeds.

author: Psi
author_rank: Super Contributor
timestamp: January 09, 2019, 06:16:25 am
content: STM32H7 looks interesting, but expensive.

author: lucazader
author_rank: Regular Contributor
timestamp: January 09, 2019, 07:21:16 am
content: Have a look at the H750, low flash part intended to be used with external flash (eg qspi). But if you are looking at using an H7 then QSPI is a pretty logical step and a much cheaper way to get large amounts of program space without paying for the pricey on chip flash.

author: JPortici
author_rank: Super Contributor
timestamp: January 09, 2019, 10:56:37 am
content: Quote from: Yansi on January 08, 2019, 11:42:15 pmcan you tell if they are going to release cortex R stuff, too?(see TI hercules or NXP S32S24)(MPC/SPC series is approaching the end of the longevity program, while NXP is releasing new MPC5 parts along with the S32, recent marketing material from ST propose the SPC5 line for lawn mowers or other simple veichels.. I would guess that they are too moving to Cortex R for newer high performance automotive MCUs)STM32L5 -https://www.st.com/en/microcontrollers/stm32l5-series.htmlgetting a 403 forbidden error

author: Kjelt
author_rank: Super Contributor
timestamp: January 09, 2019, 11:18:06 am
content: Quote from: JPortici on January 09, 2019, 10:56:37 amTry again, I have no problems

author: JPortici
author_rank: Super Contributor
timestamp: January 09, 2019, 12:10:15 pm
content: now i don't have problems eitherit was funny though, given the "you shouldn't know this yet"

author: r0d3z1
author_rank: Regular Contributor
timestamp: January 09, 2019, 12:35:50 pm
content: Quote from: Yansi on January 08, 2019, 11:42:15 pmi think is nothing particulary secret, ST guys talk about it during seminars. However i can't still find nothing official on the ST website.

author: Kjelt
author_rank: Super Contributor
timestamp: January 09, 2019, 01:20:54 pm
content: Quote from: r0d3z1 on January 09, 2019, 12:35:50 pmA lot of companies get prototypes for testing and developing about 2 years before an official product launch, depending on the test outcomes.

author: Asantos
author_rank: Newbie
timestamp: March 26, 2019, 11:11:00 pm
content: Hi,I would like to receive Spoilers about the new STM32G4?Will it have HRTIM?How many ADCs?What is the ADC speed? (in MSPS)Analog comparators?OPAMP/PGA?CPU clock?Internal RAM?

author: Yansi
author_rank: Super Contributor
timestamp: March 27, 2019, 12:36:35 pm
content: I know all of it, but can't tell ya. I would get fucked. Wait until about end of april or May. Itll get released if it wont be postponed due to some later silicon bug fixing.But.. it is a very good improvement in some ways but has quirks as typical with STM32 portfolioEdit: lets say it is a rather nice improvement of the f3 line

author: MT
author_rank: Super Contributor
timestamp: March 28, 2019, 03:46:33 am
content: Quote from: Yansi on March 27, 2019, 12:36:35 pmI dont know who you are so you can tell me!BTW G0 mentioned with pictures on Chinese site!http://www.sohu.com/a/281055511_468692

author: lucazader
author_rank: Regular Contributor
timestamp: March 28, 2019, 05:12:33 am
content: The G0 has been announced and i believe you can buy dev boards for it now.The G4 sounds interesting....

author: Yansi
author_rank: Super Contributor
timestamp: March 28, 2019, 10:21:50 am
content: Quote from: MT on March 28, 2019, 03:46:33 amYou may not, but others do or may identify me. Online forums are not anonymous, there is that much compromising info out there, it is way easy to ID a personG0 is a boring MCU I don't even know or can't tell the target use for, but G4 I can tell pretty well right know, what it'll be god for. Unfortunately, development of G4 is plagued by silicon bugs, so the event of publication may get delays (which I'd say is almost for sure). The original date was April, but I already know that might not happen at all. Which is sad, as (not only) I am already looking forward for G4 for like two years already? The development is just slow & compliacted

author: JPortici
author_rank: Super Contributor
timestamp: March 28, 2019, 12:10:05 pm
content: Quote from: Yansi on March 28, 2019, 10:21:50 amusb with power delivery? i got a discovery board at embedded world but it didn't have USB on it.. that was useless.

author: MT
author_rank: Super Contributor
timestamp: March 28, 2019, 02:55:35 pm
content: Quote from: Yansi on March 28, 2019, 10:21:50 amNSA at Fort Meade have all our identities even penis/boobs sizes.G0 seams to be replacement of F0 and G3 as you say for F3. Then what do L5 replace? F4?

author: Yansi
author_rank: Super Contributor
timestamp: March 28, 2019, 10:32:49 pm
content: L5 is some lowpower crypto something (not even close to F4), G3 do not exist however G4 are an extension of F3.F7 may be considered as an update of F4.

author: Asantos
author_rank: Newbie
timestamp: March 29, 2019, 11:37:18 am
content: You can find STM32G474CET6 at Avnet parts source.There are STM32G4 references in some ST application notes and firmware headers files.I believe stm32g4 will be released soon.

author: matherp
author_rank: Contributor
timestamp: April 04, 2019, 12:56:20 pm
content: Look in C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\Data_Base\STM32_Prog_DB.xmlmight give some clues

author: nano
author_rank: Contributor
timestamp: April 17, 2019, 08:31:38 pm
content: This appnotealready contains some information about the STM32G4 series.

author: dave j
author_rank: Regular Contributor
timestamp: April 26, 2019, 07:17:23 pm
content: It looks like it's getting close to an official announcement of the G4 chips. There's a new version of STM32CubeMX (version 5.2.0) that supports them and they'vereleased the STM32Cube stuff onto github.Interesting stuff with the ADCs - although I haven't found anything about the speed yet.The OPAMPs have PGA up to 64x so that implies greater gain bandwidth.

author: Yansi
author_rank: Super Contributor
timestamp: April 28, 2019, 09:51:25 am
content: Yup shall be within a week.

author: Blue_Alien
author_rank: Contributor
timestamp: May 10, 2019, 11:13:26 pm
content: I am wrapping up a project based on the G0 series. I original had it designed with an F0 and a discrete USB PD Phy, but right as I was getting ready to build boards, the G0 came out. So I switched and was able to shave some cost on the BOM.https://hackaday.io/project/161771-lipow-the-usb-c-lipo-battery-chargerhttps://github.com/AlexKlimaj/LiPow-FirmwareOverall I really like the G0. Mostly just using it as an F0 with built in USB PD.

author: Harjit
author_rank: Regular Contributor
timestamp: May 13, 2019, 08:10:08 pm
content: Quote from: Yansi on April 28, 2019, 09:51:25 amBeen a couple of weeks and no new info as yet.

author: Yansi
author_rank: Super Contributor
timestamp: May 13, 2019, 08:21:20 pm
content: Well.. delays. Usual ST problems...Download the new CubeMx 2.1.0, should have the G4 inside now, so you can take a peek what is there.They should really have had publish G4 already, I'll ask on Friday, what happened. They are way behind schedule.

author: Harjit
author_rank: Regular Contributor
timestamp: May 28, 2019, 04:06:37 pm
content: Finally launched:https://www.globenewswire.com/news-release/2019/05/28/1853203/0/en/STMicroelectronics-Raises-Performance-Efficiency-and-Security-of-Next-Generation-Digital-Power-Applications-with-STM32G4-Microcontrollers.htmlhttps://blog.st.com/stm32g4-mixed-signal-mcu/Has some really nice motor control and analog features.

author: splin
author_rank: Frequent Contributor
timestamp: June 04, 2019, 03:55:53 am
content: Odd that there's no performance data for the new FMAC feature. There's lots of information in the reference manual about how to use it but nothing at all (that I can see) as to how it performs. Given it only supports 16 bit DSP I'd expect it to be much faster than software DSP but the lack of any such highlights in the G4's marketing makes me think the gains are somewhat limited. Perhaps it's main raison d'etre is that it can operate in parallel to the CPU?

author: MT
author_rank: Super Contributor
timestamp: July 10, 2019, 04:33:27 pm
content: STM32G4 OLT - 30 . Peripheral Filter Math Accelerator

author: andersm
author_rank: Super Contributor
timestamp: July 10, 2019, 09:54:08 pm
content: I honestly can't tell if that video is narrated by a human or robot.

author: exe
author_rank: Unknown
timestamp: July 10, 2019, 10:02:45 pm
content: Watched only first 15 seconds. Sounds like a robot, but a really good one. Still don't want to watch the video.

author: westfw
author_rank: Super Contributor
timestamp: July 10, 2019, 11:21:59 pm
content: Yeah; I really don't understand using Text-to-speech programs to produce videos like this.I mean, the voice quality is really impressive, and it's doing a much-better-than-average job of speechifying the technical terms, but the value-add of voice is mostly in cues OTHER than you'd get by just reading text. In this case, I would have rather just had the text that they're working from. (like, it's missing the pauses and/or different intonation that a technical presenter would normally use when mentioning a variable name, which is weird to hear and surprisingly difficult to follow.)

author: MT
author_rank: Super Contributor
timestamp: July 11, 2019, 03:32:22 pm
content: Before i posted that video link i listened through to the end and thought, well that was sorta creepy, but at the end the AI robbut declared FMA unit was 15% faster then the DSP lib equivalent. Robbut should have said that in the beginning!

author: capt bullshot
author_rank: Super Contributor
timestamp: July 11, 2019, 04:01:17 pm
content: 15% faster and only 24+2 bit accumulator, meh.I've done DSP programming on real DSPs, having a real MAC unit, so this thing look quite poor to me, as the CORDIC does (I've skimmed the ref manual a few days ago). Additionally, one has to setup the RAM (transfer coefficients and data into the FMAC RAM), and its registers before it starts, even if this can be done by DMA it appears rather inefficient to me.

author: aheid
author_rank: Regular Contributor
timestamp: July 11, 2019, 09:33:48 pm
content: As a non-expert, the FMAC seems a bit weird. Why only 26bit accumulator? Why is the scaling exponent R restricted to non-negative values?

author: splin
author_rank: Frequent Contributor
timestamp: July 12, 2019, 01:21:21 pm
content: Quote from: capt bullshot on July 11, 2019, 04:01:17 pmActually the FMAC is *slower* then than CMSIS - see 16:37. The FMAC does a multiply accumulate in 1 cycle but it take 2 cycles to read the data and coefficients from the single port RAM.@ 17:35 51 tap FIR: arm_fitr_fast_q15() CMSIS 92 cycles, FMAC 104 cycles.*BUT* the FMAC operates in parallel to the main CPU (and yes, DMA can be used to provide the data) so whilst it's not the most powerful DSP around it's still much better than none. It's all about compromise between die area, power consumption and market needs. I'd guess the target market for a full blown DSP aren't likely to be interested in a low cost, mid range Cortex M4.I wish they'd included some support for FFT operations though - not necessarily a full blown FFT processor but something to speed up the M4 itself perhaps with a few extra instructions.

author: splin
author_rank: Frequent Contributor
timestamp: July 12, 2019, 03:27:19 pm
content: You've also got to wonder if there's much point to the more expensive versions of these when the 480MHz STM32H750 @ $3.37 will blow away the 170MHz G4 performance wise (even with the FMAC)? EG. the $2.96 STM32G441VB is a value line product with 32K RAM compared to 1MB on the H7 which also has way more peripherals too.The G4 has CORDIC which may help in some applications, but 1MB RAM allows some large tables of pre-computed values. The G4 has two more DACs however.The G4 uses less power - 25.5mA at 170MHz (periph off) v H7, 34.5mA @ 200MHz (the H7 @ 200MHz should match G4 + FMAC at q15 FIR). Most applications aren't going to be 100% DSP so other code will be faster on the H7 so overall they might not be far off. OTOH the G4 may use less power for the FMAC alone with the main core sleeping.The smallest H7 is 100 pins so clearly the smaller G4s have their place but the upper end looks to be seriously squeezed by the H7.

author: SiliconWizard
author_rank: Super Contributor
timestamp: July 12, 2019, 03:36:22 pm
content: Quote from: splin on July 12, 2019, 01:21:21 pmThat would be interesting, but I'm not sure they would even be allowed to add extensions to the ARM Cortex instruction set unless those come from ARM. Anyone knows about this?So an FFT co-processor might be the only workable solution.

author: splin
author_rank: Frequent Contributor
timestamp: July 12, 2019, 03:50:41 pm
content: You're right, ST almost certianly can't extend the instruction set themselves but Freescale added extensions via perhiperals where you can write data to a specific address and the H/W transforms that data or whatever.It wouldn't have to be a full blown DSP unit but could be something as simple as a memory addressing unit which knowns about the data layout for the FFT butterflys and returns the next data without the CPU having to compute its address - a lot of processing time is spent in the M4 calculating addresses and loading the data compared to doing the actual MAC operation. A bit reversal perhiperal might be useful as well.

author: SiliconWizard
author_rank: Super Contributor
timestamp: July 12, 2019, 04:07:45 pm
content: Yes, a bit reverse addressing mode would be quite handy.Actually, just a couple MAC instructions supporting a bit reverse addressing mode would already accelerate FFT significantly and would be rather simple to add...