STM32G0 Support

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

anadi
Posts: 2
Joined: Wed Aug 05, 2015 3:21 am

STM32G0 Support

Post by anadi »

In an earlier thread, there was a discussion on support for STM32G0 parts. These parts look to be quite exciting in terms of price and performance. Has there been any branching of code to support this new family? I can contribute, if there is some ongoing codebase that can be worked upon.

Cheers
Anadi
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32G0 Support

Post by Giovanni »

Hi,

Nothing done yet but it will start soon. I already have boards. What is missing is OpenOCD support.

Giovann
anadi
Posts: 2
Joined: Wed Aug 05, 2015 3:21 am

Re: STM32G0 Support

Post by anadi »

Thanks for the update. I am still awaiting sample boards and would like to contribute in any way possible.
User avatar
FXCoder
Posts: 403
Joined: Sun Jun 12, 2016 4:10 am
Has thanked: 188 times
Been thanked: 134 times

Re: STM32G0 Support

Post by FXCoder »

Hi,
Openocd support should be available soon.
G0 is being rolled into L4 NOR driver due to similarity (though this makes it somewhat non obvious where G0 support lives).
Anyway just a few things to get fixed/resolved and the changes should get signed off and merged to the main repo.
--
Bob
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32G0 Support

Post by Giovanni »

Good, the base port is mostly done and just OpenOCD is missing.

Giovanni
User avatar
FXCoder
Posts: 403
Joined: Sun Jun 12, 2016 4:10 am
Has thanked: 188 times
Been thanked: 134 times

Re: STM32G0 Support

Post by FXCoder »

FYI the openocd patch seems to be stalled. I posted a question regarding ”status” there but so far just crickets...
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32G0 Support

Post by Giovanni »

I noticed...

The HAL code is almost all there, what is the problem with the patch? could we accelerate it somehow making fixes?

Giovanni
vsly
Posts: 1
Joined: Sun Jul 07, 2019 10:07 pm

Re: STM32G0 Support

Post by vsly »

Any news so far?

As far as I understand, G0 support won't mean UCPD (USB-C Power Delivery) will be supported right away?
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32G0 Support

Post by Giovanni »

Hi,

Initial G0 support is already on trunk with a demo, many drivers already work others are in queue. Power delivery is not currently planned, the ST library could be used for that.

Giovanni
Softronic
Posts: 1
Joined: Sat Jan 22, 2022 12:41 pm

Re: STM32G0 Support

Post by Softronic »

Giovanni wrote:Hi,

Initial G0 support is already on trunk with a demo, many drivers already work others are in queue. Power delivery is not currently planned, the ST library could be used for that.

Giovanni


Hi Gionanni,

Let me start to say I'm absolute amazed by the quality of your code hence the ChibiOS project itself.

Mainly the reason why I'm moving away from STMCubeMX with FreeRTOS and into ChibiOS/ChibiStudio for my STM32G0 controller project.
I managed to start with one of the ready made demo's that worked out of the box, followed by creating my own set of board files and adding the shell to have some remote control over the application. All done within a single day.

So far so good, however there is one topic that's crucial to my project and that's at minimal the HAL drivers for the UCPD peripheral.
Now I understand from your previous post that you will not have the full PD stack (something that I would gladly spend time on writing them myself, hence the main purpose of my project) but I would appreciate to have at least the HAL drivers implemented into ChibiOS similar to the more common ones (SPI/I2C/...).

So would I be able to convince you somehow to give it some thought/priority implementing them?
Post Reply