Skip to main content
Visitor II
May 30, 2021
Question

i2c slave issue

  • May 30, 2021
  • 0 replies
  • 558 views

i2c issue

i am using stm8s207m8t6 controller

i need 30 slaves and master

master side code ok

but issue in slave when initilize i2c

I2C_Init(300000, 0X30, I2C_DUTYCYCLE_2, I2C_ACK_CURR, I2C_ADDMODE_7BIT, 16);

if use 0x30 slave address slave respond.

if change slave address if any in 7 bit only slave not working.

out of 30 slaves only one save working 0x30 slave remaining all not respond

iam using STM8S_StdPeriph_Lib i2c two boards code

please help to solve this issue

    This topic has been closed for replies.