AnsweredAssumed Answered

HAL_I2C_Slave_Receive_IT() with varying length

Question asked by kureigu on Apr 26, 2016
Latest reply on May 9, 2018 by Sandro G
I've got an STM32F0 based I2C slave device which I'd like to send simple commands to, as well as updates containing additional bytes of data. 

HAL_I2C_Slave_Receive_IT() seems to require you to directly set the number of bytes you are waiting for however, so all received data must be the same length. Is there any way around this using the HAL system?

Outcomes