cancel
Showing results for 
Search instead for 
Did you mean: 

ALED1262ZT burn OTP I2C address

owiec
Associate

We've developed prototype board with 3 pcs AL1262ZT (https://www.st.com/en/power-management/aled1262zt.html). As a 'fresh device' it has 0x40 I2C address and it's need to specify unique addr (0x42, 0x44, 0x46) by burn OTP register.

Our procedure:

1. enable power supply

2. connect CS to 15V

3. write into device sample code:

 

 

 

#define CHIP_ADDRESS     0x40 //I2C ADDR 
#define REGISTER_ADDRESS 0x23 //BA_n_SAM_setting address   [4:0]

Wire.beginTransmission(CHIP_ADDRESS);
Wire.write(REGISTER_ADDRESS);
Wire.write(0x08);         //add 4-th bit to have 0x48 addr
Wire.endTransmission();

delay(1000);
//do it twice
Wire.beginTransmission(CHIP_ADDRESS);
Wire.write(REGISTER_ADDRESS);
Wire.write(0x08);
Wire.endTransmission();

 

 

 

4. release CS to let it pull down by internal resistor

5. restart device

 

It still has 0x40 addr, but we need 0x48. There is no clear procedure how to use it other way in datasheet.

Any hints will be much appreciated.

0 REPLIES 0