2022-05-31 04:09 AM
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?
(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 ?
Solved! Go to Solution.
2022-06-10 07:19 AM
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
2022-06-10 07:19 AM
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