Skip to main content
adam.wu
Associate
May 30, 2019
Question

how to find I2C address for MX_I2C1_Init()

  • May 30, 2019
  • 0 replies
  • 707 views

I am using nucleo L476RG with ​DS2482-100, also 1-wire DS28EC20 is connected with DS2482-100.  First I created the project with CubeMX, then  MX_I2C1_Init() 

My first question is: how to find the I2C address, which I need to fill hi2c1.Init.OwnAddress1 = ?

I checked the manual of DS2482-100, and tried a few address, the strange thing is, whatever you fill in, this function looks ok and not avoke Error_handle.... why?

This topic has been closed for replies.