2024-11-15 05:36 AM
Hello,
I started development on the EVSPIN32G4 development board.
After generating the project in MC Workbench, the resulting CubeMX project shows up with a STM32G431VBTx MCU. This is a LQFP100 package, but the STSPIN32G4 is only a 64pin device.
I am running into problems trying to add more functions to it. So far I added two GPIO's, one input and one output that work fine, but some functions only exist on pins that are not on the physical device.
Please advise how I can work around this and possible solutions to develop on this device.
Thank you
2024-11-15 09:12 AM
Hello @Frakk2136 and welcome to the ST Community,
Please refer to EVSPIN32G4 page. STSPIN32G4 is a system-in-package that contains the STM32G431VBTx (exposed by CubeMx). STSPIN32G4 datasheet is available here for more details.
2024-11-15 10:47 AM
Hello,
I did read all documentation and literature and study my options.
It seems like the only solution is to manually check the pins and work backwards from the EVSPIN32G4 schematic, and develop with the pin restrictions.
This is rather cumbersome as I don't think it would have been too much work to make the CubeMX represent the STSPIN32G4 device properly 1:1.
2025-01-20 07:37 AM
Hello,
I have the exact same problem! Why can't the CubeMX display the correct pinout?
Even if I select the MCU STM32G431x (64 pins) that the STSPIN32G4 contains the power pins are wrong. I cannot download code to the MCU knowing that the power pins are incorrect.
Is there a way to manually set the power pins? How should I proceed otherwise??
B.R,
Leif S
2025-01-21 08:01 AM
CubeMX displays the STM32G431VBTx microcontroller die used in the STSPIN32G4, and not the device itself.
There are internal connections between the microcontroller die and the integrated components, these pins are not accessible and must be reserved.
When designing around the STSPIN32G4 you must use it's datasheet and pinout for reference. Use this to map your I/O and power connections.
When setting up for programming just use the default 100pin CubeMX device and take it with a grain of salt. There are 35pins that don't exist physically, and a bunch more that are internally reserved.
Hope this helps!