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.

TMS320C6678: srio the question about the 16 device id..

Part Number: TMS320C6678

Hi, I have read the document sprugw1b for some details about multicast and device ID. but still got some questions:

1. in section 2.3.12, the document said 'the device's main baseID is now automatically copied into the RIO_DEVICEID_REG1 by hardware'. should it be RIO_DEVICEID_REG0?

2. when does the hardware do the copy?

3. how does the internal 16 device ID registers inherit the values from BRR? RIO_DEVICEID_REG0-3 to TLM_SP0_BRR0/1/2/3_CTL, RIO_DEVICEID_REG4-7 to TLM_SP1_BRR0/1/2/3_CTL,  and so on?

  • Hi,

    I've notified the software team. Their feedback will be posted here.

    Best Regards,
    Yordan
  • 1. in section 2.3.12, the document said 'the device's main baseID is now automatically copied into the RIO_DEVICEID_REG1 by hardware'. should it be RIO_DEVICEID_REG0?

    Yes, you are correct, RIO_DEVICEID_REG0, the first register is the one driven by BASE_ID register.

    2. when does the hardware do the copy?

    It is essentially a shadow register and is immediately updated when BASE_ID is updated.

    3. how does the internal 16 device ID registers inherit the values from BRR? RIO_DEVICEID_REG0-3 to TLM_SP0_BRR0/1/2/3_CTL, RIO_DEVICEID_REG4-7 to TLM_SP1_BRR0/1/2/3_CTL, and so on?

    Same as above with the BASE_ID register, immediately. REG0 comes from BASE_ID register, the REG1-15 comes from the BRR registers. Note that RIO_PLM_SP0_BRR_0_CTL (Offset 0x1B3A0) is not used, again this is the one that will be sourced from BASE_ID rather than BRR.

    Regards,
    Travis
  • thank you so much for the detailed reply.
    But there is one thing still not so clear to me, maybe I should change how I ask: "Does the RIO_PLM_SP0_BRR_1_CTL contribes to RIO_DEVICEID_REG1 and RIO_PLM_SP1_BRR_0_CTL contributes to the RIO_DEVICEID_REG4?".
    I just want to make absolutely sure.
  • Yep. 

    RIO_BASE_ID --> RIO_DEVICEID_REG0

    RIO_PLM_SP0_BRR_0_CTL --> Not Used

    RIO_PLM_SP0_BRR_1_CTL --> RIO_DEVICEID_REG1

    RIO_PLM_SP0_BRR_2_CTL --> RIO_DEVICEID_REG2

    RIO_PLM_SP0_BRR_3_CTL --> RIO_DEVICEID_REG3

    RIO_PLM_SP1_BRR_0_CTL --> RIO_DEVICEID_REG4

    RIO_PLM_SP1_BRR_1_CTL --> RIO_DEVICEID_REG5

    RIO_PLM_SP1_BRR_2_CTL --> RIO_DEVICEID_REG6

    RIO_PLM_SP1_BRR_3_CTL --> RIO_DEVICEID_REG7

    RIO_PLM_SP2_BRR_0_CTL --> RIO_DEVICEID_REG8

    RIO_PLM_SP2_BRR_1_CTL --> RIO_DEVICEID_REG9

    RIO_PLM_SP2_BRR_2_CTL --> RIO_DEVICEID_REG10

    RIO_PLM_SP2_BRR_3_CTL --> RIO_DEVICEID_REG11

    RIO_PLM_SP3_BRR_0_CTL --> RIO_DEVICEID_REG12

    RIO_PLM_SP3_BRR_1_CTL --> RIO_DEVICEID_REG13

    RIO_PLM_SP3_BRR_2_CTL --> RIO_DEVICEID_REG14

    RIO_PLM_SP3_BRR_3_CTL --> RIO_DEVICEID_REG15