cancel
Showing results for 
Search instead for 
Did you mean: 

STSPIN32G4 Project - Shows up as 100pin package in CubeMX but only 64pins exist - How to correct?

Frakk2136
Associate II

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

2 REPLIES 2
GMA
ST Employee

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.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Frakk2136
Associate II

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.