Skip to main content
DQiu.1
Visitor II
Nov 16, 2022 12:27 PM UTC
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.

..

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
Nov 16, 2022 1:32 PM UTC

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..