cancel
Showing results for 
Search instead for 
Did you mean: 

Incompatibility between X-CUBE-TOUCHGFX and X-CUBE-SMBUS

PatriciaQ
Associate II

Hello!

I'm using an STM32u5a9 with a user interface and SMBus enabled battery and charger board.

CubeMX does not allow me to include both the X-CUBE-TOUCHGFX and X-CUBE-SMBUS libraries. I'm guessing there is some conflict with the I2C or how the HAL handles it?  if I choose X-CUBE-TOUCHGFX first then try to choose X-CUBE-SMBus, CubeMX reports "This component cannot be selected: this application cannot be selected while the application from pack STMicrolectronics.X-CUBE-Touchgfx is selected":

 

I'm wondering is there a way to get around this and use both libraries? It's my first time working with SMBus but I should also be able to configure an i2c bus separate from the one used for touchgfx to handle the smbus communication just without the HAL.

 

Appreciate anyone's input! Thank you!

 

 

0 REPLIES 0