Part Number: DS90UB913A-Q1
Other Parts Discussed in Thread: DS90UB933-Q1
Hi,
I have a working code/setup for ub960+(ub953+sensor)
My setup is like :
2 deserializers -> each connected to 2 serializers (so, a total of 4) -> each connected to 1 sensor (so, a total of 4)
Now, we replaced ub953 module with (ub913+ a different sensor), now, I am not able to configure ub960 to successfully access ub913.
I did changed registers for speed {0x58, 0x58, 0x1}, RAW mode {0x6D, 0x7E, 0x1}
I am writing below config to ub960 :
------------------------------------------------------------------------------------------------------------
{0x01, 0x01, 0x10}, /* Digital Reset 0 */
{0x1F, 0x05, 0x10},
/* MARS AR0143 1 */
{0x4C, 0x01, 0x1},
{0x58, 0x58, 0x1},
{0x5C, ((uint8) (PORT_0_SER_ADDR << 1U)), 0x10},
{0x5D, ((uint8) (PORT_0_SENSOR_ADDR << 1U)), 0x10},
{0x65, ((uint8) (PORT_0_SER_ADDR << 1U)), 0x10},
{0x5E, (BOARD_APT_AR0143_I2C_ADDR_0 << 1U), 0x10},
{0x66, ((uint8) (PORT_0_SENSOR_ADDR << 1U)), 0x10},
{0x7C, 0x00, 0x1},
{0x6e, 0x99, 0x1},
{0x70, 0x2B, 0x1},
{0x71, 0x2C, 0x1},
{0x6D, 0x7E, 0x1},
/* MARS AR0143 2 */
{0x4C, 0x12, 0x1},
{0x58, 0x58, 0x1},
{0x5C, ((uint8) (PORT_1_SER_ADDR << 1U)), 0x1},
{0x5D, ((uint8) (PORT_1_SENSOR_ADDR << 1U)), 0x1},
{0x65, ((uint8) (PORT_1_SER_ADDR << 1U)), 0x1},
{0x5E, (BOARD_APT_AR0143_I2C_ADDR_0 << 1U), 0x1},
{0x66, ((uint8) (PORT_1_SENSOR_ADDR << 1U)), 0x1},
{0x7C, 0x00, 0x1},
{0x6e, 0x99, 0x1},
{0x70, 0x2B, 0x1},
{0x71, 0x6C, 0x1},
{0x6D, 0x7E, 0x1},
/* MARS AR0143 3 */
{0x4C, 0x24, 0x1},
{0x58, 0x58, 0x1},
{0x5C, ((uint8) (PORT_2_SER_ADDR << 1U)), 0x1},
{0x5D, ((uint8) (PORT_2_SENSOR_ADDR << 1U)), 0x1},
{0x65, ((uint8) (PORT_2_SER_ADDR << 1U)), 0x1},
{0x5E, (BOARD_APT_AR0143_I2C_ADDR_0 << 1U), 0x1},
{0x66, ((uint8) (PORT_2_SENSOR_ADDR << 1U)), 0x1},
{0x7C, 0x00, 0x1},
{0x6e, 0x99, 0x1},
{0x70, 0x2B, 0x1},
{0x71, 0xAC, 0x1},
{0x6D, 0x7E, 0x1},
/* MARS AR0143 4 */
{0x4C, 0x38, 0x1},
{0x58, 0x58, 0x1},
{0x5C, ((uint8) (PORT_3_SER_ADDR << 1U)), 0x1},
{0x5D, ((uint8) (PORT_3_SENSOR_ADDR << 1U)), 0x1},
{0x65, ((uint8) (PORT_3_SER_ADDR << 1U)), 0x1},
{0x5E, (BOARD_APT_AR0143_I2C_ADDR_0 << 1U), 0x1},
{0x66, ((uint8) (PORT_3_SENSOR_ADDR << 1U)), 0x1},
{0x7C, 0x00, 0x1},
{0x6e, 0x99, 0x1},
{0x70, 0x2B, 0x1},
{0x71, 0xEC, 0x1},
{0x6D, 0x7E, 0x1},
{0xB0, 0x1C, 0x10},
{0xB1, 0x13, 0x10},
{0xB2, 0x1F, 0x10},
{0x32, 0x01, 0x10},
{0x33, 0x03, 0x10},
{0x20, 0x00, 0x10}
------------------------------------------------------------------------------------------------------------
From my previous config, I was able to read 0x5B (address of serializer autoloaded) , but , in my current config, its not happening
I am new to this work, and I am not getting any start point of how to debug this issue.
Any help from the forum will be much appreciated
Thanks