Part Number: TMS320F28386D
I have exactly the same question as Markus A: TMS320F28388D: MDIO clock: CSR clock source?, although I am using the F28386.
- The "CSR clock" mentioned in www.ti.com/.../spruii0f.pdf is not defined in that TRM.
Unfortunately, that question has not been answered. Strangely enough MS CoPilot suggests that the CM clock is the source of the CSR clock, referring to the question of Markus A.
I did some measurements to verify this suggestion, selecting different settings for the CR field in the MAC_MDIO_Address Register, with the same clock configuration as Markus:
- CPU 1 clock = 200 MHz
- AUX clock = 125 MHz
- CM uses AUX clock
- Ethernet clock = System clock with divider 2 = 100 MHz
| CR | divider | MDIO clock frequency |
| 0001 | 62 | 2.0 MHz |
| 0011 | 26 | 4.8 MHz |
| 1000 | 4 | 31.25 MHz |
As you can see, a value of 125 MHz for the CSR clock fits the measured MDIO clock values best.
So, until TI declares otherwise, I assume CoPilot's suggestion is correct and the "CSR clock" is equal to the CMCLK, or to be more precise the CM.PERx.SYSCLK for the Ethernet peripheral.