2019-01-12 8:38 AM
Hello.
I'm interfacing my STM32F7 with the following current sensing chip:
https://datasheets.maximintegrated.com/en/ds/MAX34408-MAX34409.pdf
And page 8 describes that I need to send a repeated START command during communication. I cannot find a method of doing this using the I2C HAL library.
Could somebody please point me in the right direction please?
Thanks
2019-01-12 10:19 AM
Apply the following memory R/W calls which will apply the required repeat START transaction:
HAL_I2C_Mem_Write
HAL_I2C_Mem_Read
HAL_I2C_Mem_Write_IT
HAL_I2C_Mem_Read_IT
HAL_I2C_Mem_Write_DMA
HAL_I2C_Mem_Read_DMA
Also using the search engine, found the same solution here:
2019-01-16 7:18 AM
Hi @Adam Davis ,
You can use the following APIs that allow to manage repeated start condition:
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.