STM32G0 Support

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

Moderators: barthess, RoccoMarco

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

STM32G0 Support

Postby anadi » Sat Apr 13, 2019 7:06 am

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: 14026
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 989 times
Been thanked: 833 times
Contact:

Re: STM32G0 Support

Postby Giovanni » Sat Apr 13, 2019 7:53 am

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

Postby anadi » Fri Apr 19, 2019 2:24 am

Thanks for the update. I am still awaiting sample boards and would like to contribute in any way possible.

User avatar
FXCoder
Posts: 371
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 174 times
Been thanked: 125 times

Re: STM32G0 Support

Postby FXCoder » Sat May 11, 2019 3:54 am

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: 14026
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 989 times
Been thanked: 833 times
Contact:

Re: STM32G0 Support

Postby Giovanni » Sat May 11, 2019 5:41 am

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

Giovanni

User avatar
FXCoder
Posts: 371
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 174 times
Been thanked: 125 times

Re: STM32G0 Support

Postby FXCoder » Fri Jun 21, 2019 2:01 pm

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: 14026
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 989 times
Been thanked: 833 times
Contact:

Re: STM32G0 Support

Postby Giovanni » Fri Jun 21, 2019 2:04 pm

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

Postby vsly » Tue Jul 16, 2019 1:52 pm

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: 14026
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 989 times
Been thanked: 833 times
Contact:

Re: STM32G0 Support

Postby Giovanni » Tue Jul 16, 2019 6:10 pm

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
Contact:

Re: STM32G0 Support

Postby Softronic » Sat Jan 22, 2022 1:45 pm

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?
Best regards,

Peter


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 9 guests