Question
HAL_I2C_Slave_Receive_IT() with varying length
Posted on April 26, 2016 at 17:00
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? #!i2c #i2c-slave #no-hablo-hal #!stm32