cancel
Showing results for 
Search instead for 
Did you mean: 

how to find I2C address for MX_I2C1_Init()

adam.wu
Associate II

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?

0 REPLIES 0