cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Write Data to Slave Device

steve feng
Associate
Posted on November 24, 2017 at 08:59

Hi everyone!

I am using the I2C to write some data to  two slave devices

this two devices need to drived by these imformation

The Board is STM32F429 discovery

the function I choose:

HAL_StatusTypeDef HAL_I2C_Mem_Write(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout)

the full code is in the ZIP file

I'm not sure this function can be use in these project,have anybody could give me some advice?

0690X0000060PENQA2.jpg

#stm32f429-discovery #stm32f4 #i2c #hal_i2c #i2c-sensor #i2c-write
0 REPLIES 0