cancel
Showing results for 
Search instead for 
Did you mean: 

VD6283TX adress change

MHaro.1
Associate

Hello all,

i have 2 VD6283TX sensors connected on 1 i2c handler and i want to change adress on one of them. Which command should i send to sensor to change adress ?

Something like this ?

HAL_I2C_Master_Transmit(hi2c, A2_LIGHT_SENSOR_INSTANCE_0, txBuffer, 2, 1000);

tx buffer is array with old adress and new addres

Thank you so much.

1 REPLY 1
Anne BIGOT
ST Employee

Hello,

To perform the address change the host must driver the GPIO1 (respecting some timings constraints). Such operations are handled by the system itself and not by the driver.

The way to change the I2C address is explained in the section 3.4.2 of the datasheet.

0693W00000aISZnQAO.pngRegards

Anne


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'