cancel
Showing results for 
Search instead for 
Did you mean: 

I2C5 BSP/Details methods in the stm32mp15xx_disco_busc/.h

PVaaz.1
Associate III

Hello,

I have two questions :

(1) Is I2C5 the one on which the peripheral can be connected on the I2C lines on the Arduino connector with the cortex M4? I checked this and it is I2C5.PLease correct me?

0693W00000NqvWFQAZ.png 

(2) I was trying to search/look the BSP methods for this I2C 5 like the BSP for I2C4 as provided in the STM32Cube_FW_MP1_V1.5.0\Drivers\BSP\STM32MP15xx_disco_bus.c

where BSP methods related to I2C4 are defined and also the pin numbers in the corresponding header file.

Is it possible to generate these methods using a code generator?

or I can manually change the BSP I2C by looking at the ioc files ?

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @PVaaz.1​ ,

No there's no automatic generation of BSP.

By default peripheral available on extension and Arduino are not adressed.

You can probably easily derived method for I2C5 from I2C4.

To be complete, ST provide an guide to develop your own BSP :

STM32Cube BSP drivers development guidelines - User manual

Olivier

Olivier GALLIEN
In order 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.

View solution in original post

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @PVaaz.1​ ,

No there's no automatic generation of BSP.

By default peripheral available on extension and Arduino are not adressed.

You can probably easily derived method for I2C5 from I2C4.

To be complete, ST provide an guide to develop your own BSP :

STM32Cube BSP drivers development guidelines - User manual

Olivier

Olivier GALLIEN
In order 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.