Skip to main content
PVaaz.1
Associate III
May 31, 2022
Solved

I2C5 BSP/Details methods in the stm32mp15xx_disco_busc/.h

  • May 31, 2022
  • 1 reply
  • 1129 views

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 ?

This topic has been closed for replies.
Best answer by Olivier GALLIEN

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

1 reply

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
June 10, 2022

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.