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.

Compiler/AM6548: MDIO Clause 45 support

Part Number: AM6548

Tool/software: TI C/C++ Compiler

Hi ,

I need some help please in trying to understand how should I change the TI SDK clause 22 configuration to clause 45 configuration.

In clause 45 the OP Code has 1 0 for the Read + ADDRS that is missing in clause 22 (TI SDK ) and we need to change that .

  • Hello Florin,

    Checking http://www.ti.com/lit/ds/symlink/am6526.pdf I clearly see that this device supports Clause 45 MDIO PHY management.

    Checking www.ti.com/.../spruid7d.pdf, I see chapter 6.4.12 "PRU_ICSSG MII MIDO Module". Chapter 6.4.12.2.2 MIDO Clause 45 Frame Formats show operational codes [00], [11], and [01], but I do not see [10], which you refer as "Read + Address". So the image in your post does not seem to match the table in TI's Technical Reference Manual.

    Perhaps the TI device does not support Operational Code [10] "Read + Address" -- but I do not know with certainty.

    Is it possible to successively "Read" via OC=[11] and "Address" via OC=[00]? Again, I am no expert here. Just trying to help.

    I am no expert in this area, but I am considering your question and comparing it to the TI Technical Reference Manual. I am not able to comment about TI's support of operation code [10], but the manual seems to exclude this mode.

    Therefore I must defer to the greater TI support team to answer your technical question.

    I searched for "Clause 45 MDIO" at the TI Public E2E forum athttps://e2e.ti.com/ . I found a number of questions about MDIO and Clause 45, but I do not see relevant posts that contain an answer. Perhaps you can search and evaluate that. But again, I did not find a direct match.

  • Hello Florin,

    I consulted a colleague knowledgeable in this area.

    He is not aware of existing Clause 45 support in either TI Linux or TI RTOS software packages, stating that TI has no reference code to share at this time.

    TI plans to add basic read/write Clause 45 APIs into a later the PSDK Automotive release.

    The MDIO intellectual IP used by AM65xx does not support OP code "10" (read + address). As per the MDIO IP specification, the supported frames include ["00"-Address, "01"-Write and "11"-Read].