Skip to main content
fatih yavuzy?lmaz
Associate
April 5, 2018
Question

STM32 I2C send 0XF0 slave address with 7bit slave address mode

  • April 5, 2018
  • 1 reply
  • 1480 views
Posted on April 05, 2018 at 18:09

I want to send F0 slave address with 7 bit slave address mode by I2C.

When I try to send I got ADDR10 error. Because F0 is reserved 10 bit slave address sending value

please let me know there any way to send F0 for slave address with 7bit mode?

thanks

    This topic has been closed for replies.

    1 reply

    T J
    Senior III
    April 5, 2018
    Posted on April 05, 2018 at 22:21

    F0 is too large to fit in 7 bits,

    which chip are to trying to work with ?

    I will look it up.

    fatih yavuzy?lmaz
    Associate
    April 6, 2018
    Posted on April 06, 2018 at 09:28

    hi,

    I use STM32 NucleoF401RE development board and I want to write and read data to /from RT750 

    this chip has 7 bit slave address and 1 bit(first bit) read-write.

    Also, this chip has 4 different register group and each register group has different slave address. 

    1.group register slave address is 1111000x, 2

    .group register slave address is 1111010x,

    3

    .group register slave address is 1111100x and 4

    .group register slave address is 1111110x,

    x=read-write bit

    if I want to write data to 3. and 4. group register with 7bit mode I can write. Because the slave addres is 11111000(0xF8),

    11111100(0xFC) but if I want to write 1. and 2. register group with 7bit mode I cant write. because 

    the slave addres is 

    11110000(0xF0) and 11110100(0xF4), I have ADDR10 flag error and the comnunication is stoped.

    when I use USB to I2C baord I can write and read data from RT750 by my computer. 

    T J
    Senior III
    April 6, 2018
    Posted on April 06, 2018 at 10:01

    I cannot find an  RT750  do you have a link ?