[DEV] STM32G4xx support

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
MasterSpoon
Posts: 3
Joined: Fri Aug 27, 2021 7:43 am
Has thanked: 1 time
Been thanked: 2 times

Re: [DEV] STM32G4xx support

Postby MasterSpoon » Fri Aug 27, 2021 7:50 am

Not sure if this is the correct place to ask but it is about STM32G4xx support.

Is there a current ETA on when the STM32G491xx and STM32G4A1xx range will be supported by ChibiOS ?

They are the higher capacity variants of the STM32G431xx's which are already supported and sit between the G431 and G471 in terms of features.
https://www.st.com/en/microcontrollers- ... 2g4x1.html

I can see the header files are already available from ST
https://github.com/STMicroelectronics/S ... xx/Include

User avatar
Giovanni
Site Admin
Posts: 13751
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 922 times
Been thanked: 787 times
Contact:

Re: [DEV] STM32G4xx support

Postby Giovanni » Fri Aug 27, 2021 7:52 am

Hi,

Problem is availability of HW mainly.

Giovanni

preisi
Posts: 2
Joined: Mon Sep 27, 2021 2:48 pm
Has thanked: 2 times

Re: [DEV] STM32G4xx support

Postby preisi » Mon Sep 27, 2021 2:55 pm

Hello,
recently I've been trying to get FDCAN to work with a STM32G474 but so far, I didn't succeed. Thus, I was wondering what the current state of FDCAN for STM32G4xx actually is. Reading through this thread was not very conclusive in my opinion (at some point people only wrote about STM32Hxxx support?).
Therefore my question: Is FDCAN already working with STM32G4xx on upstream? If that's the case, is there any working example/documentation?
Best regards,
preisi

User avatar
Giovanni
Site Admin
Posts: 13751
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 922 times
Been thanked: 787 times
Contact:

Re: [DEV] STM32G4xx support

Postby Giovanni » Mon Sep 27, 2021 3:59 pm

Hi,

FDCAN is not yet functional, several people have proposed patches but none has yet been integrated or tested.

Giovanni

preisi
Posts: 2
Joined: Mon Sep 27, 2021 2:48 pm
Has thanked: 2 times

Re: [DEV] STM32G4xx support

Postby preisi » Tue Sep 28, 2021 12:01 pm

Hello,
thanks for your response. At least now I know why it didn't work :D
Is at least 'normal' CAN functional at the moment?
Best regards,
preisi

User avatar
Giovanni
Site Admin
Posts: 13751
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 922 times
Been thanked: 787 times
Contact:

Re: [DEV] STM32G4xx support

Postby Giovanni » Tue Sep 28, 2021 12:40 pm

Hi,

The normal CAN driver works but that peripheral is not present on the G4 family.

Giovanni

Guillaume227
Posts: 11
Joined: Tue Apr 18, 2017 6:52 pm
Has thanked: 6 times

Re: [DEV] STM32G4xx support

Postby Guillaume227 » Wed Sep 29, 2021 6:31 pm

I am wondering about ADC5 support : I see earlier in this thread that support was not added at the same time as ADC 1...4. What's different about ADC5 that we can't mimic what's been done for the other ADC in its group, namely ADC3 and ADC4?

User avatar
Giovanni
Site Admin
Posts: 13751
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 922 times
Been thanked: 787 times
Contact:

Re: [DEV] STM32G4xx support

Postby Giovanni » Wed Sep 29, 2021 6:47 pm

Guillaume227 wrote:I am wondering about ADC5 support : I see earlier in this thread that support was not added at the same time as ADC 1...4. What's different about ADC5 that we can't mimic what's been done for the other ADC in its group, namely ADC3 and ADC4?


There is nothing preventing it except it could not be used in dual mode because there is no ADC6.

Giovanni


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 10 guests