Question
Use HAL_I2C_Master_Receive_DMA when the receive size is contained in the first received byte?
I'm working with the Nucleo-64 development board with an STM32L476 microcontroller. I wish to receive data over I2C using DMA with the function HAL_I2C_Master_Receive_DMA. However, to use that function I need to specify the parameter Size, and I don't know that until I have received the first byte. Does anybody know how I can solve this?