Skip to main content
DQiu.1
Visitor II
November 16, 2022
Question

What is the I2C transaction size for the STM32 HAL_I2C_Mem_READ Function? I know for Arduino the I2C transaction size is limited to 32 bytes but I was unable to find similar information about STM32's I2C. I'm currently using the STM32L010RB chip.

  • November 16, 2022
  • 1 reply
  • 1001 views

..

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
November 16, 2022

Not sure if the limit there is from the AVR or the driver.

The STM32 doesn't have that issue. The Slave device might have limits to its auto increment, perhaps to 256 or the page boundary, check the Data Sheet for the slave.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..