cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Driver STM32f469

Abhi1
Associate II

After initialisation thru latest CubeMx I2C using LL_Driver, I found few functions missing in stm32f4xx_ll_i2c.h, ie. (LL_I2C_HandleTransfer).

I did refer few examples for some F0 device but could make out anything useful.

Please provide me some solutions for I2C Read/Write.

3 REPLIES 3

The F4's I2C LL API seems to be different (or older) than the F0.

There is no LL_I2C_HandleTransfer there. See the example projects at STM32Cube_FW_F4_V1.23.0/Projects/STM32F411RE-Nucleo/Examples_LL/I2C

Abhi1
Associate II

Thanks for being prompt.

It would be really helpful if you can provide a way to commit the I2C Transfer/Receive without using LL/HAL.

I know you are using F4 but I think in I2C's case you can safely refer to STM32F0 Snippetes at https://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32snippets.html?querycriteria=productId=LN1898

The I2C peripheral in various STM32 subfamilies is pretty much the same, but there might be a couple of differences in registers, I'm not sure.