2025-08-06 2:35 AM - last edited on 2025-08-07 7:29 AM by Andrew Neil
Hi all
For the STM32U5, the reference manual shows the GCCFG register as
but STM32CUBEIDE shows
bit 16(and a lot of other bits) are differing. Is this an error and if so which is the right one
Solved! Go to Solution.
2025-08-07 7:23 AM
Hello @Maaz1 ,
The reference manual is correct, the issue is related to svd file shared in this link.
To clarify the issue, the STM32CubeIDE and STM32CubeProgrammer toolchains used the same svd file register.
I will let you know when the issue is solved.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-08-06 2:35 AM
2025-08-07 1:04 AM - edited 2025-08-07 1:05 AM
Hello @Maaz1 ;
As mentioned in RM0456 the STM32U575/585 support only the USB on-the-go full-speed (OTG_FS) which the OTG general core configuration register (OTG_GCCFG) have these bits filed:
And the STM32U59x/5Ax/5Fx/5Gx support only USB on-the-go high-speed (OTG_HS) which OTG general core configuration register (OTG_GCCFG) have these bits filed:
If you using the STM32U575 or STM32U585, you need to refer to Section 72.15.15 not 73.14.18 in reference manual.
Which STM32U5 are you using?
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-08-07 3:17 AM
Hi
I am using STM32U5G9J-DK2
2025-08-07 6:20 AM
Hello @Maaz1 ;
Thank you for bringing this issue to our attention.
I reported internally for verification and correction.
Internal ticket number: 215484 (This is an internal tracking number and is not accessible or usable by customers).
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-08-07 7:15 AM - last edited on 2025-08-07 7:30 AM by Andrew Neil
Hi
Another discrepancy to support the fact that the reference manual might be wrong
STM32CubeIDE seems to support the stm32CubeProgrammer and not the reference manual.
Thank you for the ticket, and I hope to hear from you soon since this is of interest to me as well.
2025-08-07 7:23 AM
Hello @Maaz1 ,
The reference manual is correct, the issue is related to svd file shared in this link.
To clarify the issue, the STM32CubeIDE and STM32CubeProgrammer toolchains used the same svd file register.
I will let you know when the issue is solved.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-08-07 8:05 AM
Hi, thanks for getting back to me.
That's such a huge error lol, I'm glad I posted it here and followed reference manual instead of chasing ghosts. Thank you for replying, really put me at ease :)
2025-08-07 8:47 AM
Hello @Maaz1 ;
Thank you for your contribution in STCommunity.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which answered your question.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-08-11 2:18 AM
Hi, are there any updates?