Skip to main content
Abhi1
Associate II
February 19, 2019
Question

I2C Driver STM32f469

  • February 19, 2019
  • 3 replies
  • 823 views

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.

This topic has been closed for replies.

3 replies

After Forever
Senior III
February 19, 2019

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
Abhi1Author
Associate II
February 19, 2019

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.

After Forever
Senior III
February 19, 2019

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.