Skip to main content
rsharifi9
Associate III
November 21, 2017
Question

STM32 I2C Only transmit address

  • November 21, 2017
  • 1 reply
  • 677 views
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
This topic has been closed for replies.

1 reply

john doe
Senior III
November 21, 2017
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?