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.

SDK 1.1.0.8 EtherCAT update. ICEv2.J4.Pin21

Update was added some board specific implementations.

I want to know that these implementations don't need to original board.

And I want to know these setting is what to do.

tiescbsp.h

#define PDI_ISR_EDIO_NUM    7 //GPMC_CSN(2) -> pr1_edio_data_out7 for ICEv2.J4.Pin21

tiescbsp.c

bsp_clear_digio_out(PDI_ISR_EDIO_NUM);
bsp_write_byte((1 << PDI_ISR_EDIO_NUM), ESC_ADDR_TI_PDI_ISR_PINSEL);




  • Hi,

    This is an optional feature we added to 1.1.0.8 implementation, you can find some details here

    processors.wiki.ti.com/.../AM335x_EtherCAT_firmware_API_guide

    PDI ISR DIGIO pin selection register   0x0E0A             
          0-7  R/W  R/W 
    PDI ISR DIGIO pin selection register, selects one of pr1_edio_data_outN pins as PDI ISR hw pin, configure 255 to disable. Set corresponding bitmask to enable. Application needs to configure pinmux correctly for this to work

    For ICE board, we are configuring pr1_edio_data_out7 and PDI ISR h/w pin. If your application does not require this

    You can do the following

    bsp_write_byte(0xff, ESC_ADDR_TI_PDI_ISR_PINSEL);

    and do not configure pinmux to select pr1_edio_data_outN