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.

TDA4VM: eht_mac2_status

Part Number: TDA4VM

Hello, 

The controller equipped with TDA4VM reports an error in the status of the eth_mac2_status during experiments in a high temperature environment. 

And our operation is to obtain the Mac2_crc_Data and Mac2_carrier_Data of TDA4VM send it out through CAN, and when the data detected by the host computer is not 0, it is in an error state.

The register addresses are respectively (0x0C03A200UL+((2-1)*0x200) + 0x10UL) , (0x0C03A200UL+((2-1)*0x200) + 0x60UL).

We would like to see a description of these two values through the TI manual, and based on the first address we think it should be the register below.

However, the description is the storage of counter, and the state of the above two signals is not described.

So our doubts are:

1. Under what circumstances these two signals register returns a non-zero value?

2. Regarding the detection of eth_mac2_status, are we looking for the correct register address?

Thanks!

  • Hi,

    Sorry for the delayed response.

    The register addresses are respectively (0x0C03A200UL+((2-1)*0x200) + 0x10UL) , (0x0C03A200UL+((2-1)*0x200) + 0x60UL).

    For Port-2 you have to use "(0x0C03A200UL+((2*0x200) + 0x10UL)", Port Multiplier '0' for Internal Host Port and 1 to 8 for External Ports. Also, this register points to byte count of Priority packets. Here, 0x10 corresponds to priority-4 i.e. (4*0x4).

    Also, above 0x60UL is invalid as per Priority (range from 0 to 7).



    And our operation is to obtain the Mac2_crc_Data and Mac2_carrier_Data of TDA4VM send it out through CAN, and when the data detected by the host computer is not 0, it is in an error state.


    For CRC errors on Rx packet corresponding to port, you can refer to "CPSW_STAT_RXCRCERRORS_k Register (0003A010h + (k * 200h)) k from 0to 8 for CPSW9G.


    May I know what information you are exactly looking for.


    Best Regards,
    Sudheer