cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 I2C Only transmit address

rsharifi9
Associate III
Posted on November 21, 2017 at 20:54

dear All,

what is the probable reason of HAL_I2C_Master_Transmit() transmits only address?

regards,

Rasool

#i2c #stm32f4 #master-trasnmitter
1 REPLY 1
john doe
Lead
Posted on November 21, 2017 at 21:29

slave not at that address or otherwise unable to reply

no data in the buffer you're trying to send

you're telling it to transmit something other than a buffer containing data

i'd start with the first one. are you shifting the address one bit to the left?  are you giving the function the address of a buffer with data in it?