Ethernet controller clock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-15 8:59 AM
Sorry for a noob question...
The DS for STM32H7 (DS12117 Rev 7, 3.42) says that a PHY can be clocked using 25 MHz from the microcontroller. The PHY we want to use, KSZ8873, has its own connection for 25/50 MHz oscillator. We'd prefer to put only one oscillator on the H7.
I don't understand from the KSZ document, can it support clock from the microcontroller? If yes, is MII (vs. RMII) interface required? Is separate crystal for the PHY a much better option?
Thanks in advance
-- pa
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-16 2:57 PM
Ok
Other note would be to not use the STM32 PLL as a source.
One could use 50 MHz HSE and output via MCO at DIV1 or DIV2
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-15 10:11 AM
http://ww1.microchip.com/downloads/en/DeviceDoc/00002348A.pdf
You can provide a TCXO clock source into X1 of the KS8873, where X2 is NC (No Connect)
The source could come from the PA8 MCO pin of the H7 feeding thru HSE
Or you could feed the TCXO output, through a buffer, to OSC_IN(STM32) and X1(KS8873)
fHSE max for the H7 is 50 MHz
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-16 12:19 PM
Thank you Clive. the 2nd variant can work for me.
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-16 2:57 PM
Ok
Other note would be to not use the STM32 PLL as a source.
One could use 50 MHz HSE and output via MCO at DIV1 or DIV2
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-17 9:34 AM
This looks good too. Thanks Clive.
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-17 10:29 AM
Look at sections 3.1.3 and 3.3.9, especially TABLE 3-5. You can also use 25 MHz crystal or oscillator for HSE, output HSE on MCO and input on PHY's X1. PHY has it's own internal PLL, which will generate 50 MHz and other necessary clocks from your 25 MHz clock. The 25/50 MHz input clock is selected via SPIQ input strap.
