Hi,
The offset 0x140,0x141 and 0x150~0x153 of pdi_reg_perm_array[] permission is ReadOnly. as following:
But the bsp_eeprom_load_esc_registers function in tiescbsp want to write the 0x140:0x141 register. as following :
Does ESC_ADDR_PDI_CONTROL register can be write from PDI interface?
And the "bsp_write_byte(ESC_ADDR_PDI_CONTROL+1) & ( 1 << 2 ) " is to check the 0x141.2 bit not 0x141.1 bit, is it wrong?
Best regards,
Louis