This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x-ICE EtherCAT SYSBIOS SDK 1.0.0.8

Other Parts Discussed in Thread: TLK110

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

  • The PDI sets the configuration 0x140:0x141 via loading the EEPROM. Apart from that, the PDI has only read access to PDI Configuration. This section of code only reads 0x140:0x141.

    Indeed, DL Status enhanced-link setting should have been based on 0x141.1. However, enhanced-link detection on AM335x EtherCAT slave is done using the TLK110.