On all my previous XMOS ethernet designs I've always used a 25MHz oscillator and sent it to both the XMOS device for it's clock and my ethernet PHY (sometimes with a schmitt trigger in between). However, I notice that several of the reference XMOS designs use separate oscillators/crystals for the device clock and the ethernet PHY.
Is there a reason for this that I'm missing?
Sharing XMOS device and ethernet PHY clock? Topic is solved
-
- XCore Addict
- Posts: 131
- Joined: Wed Aug 03, 2011 9:13 am
-
Verified
- Respected Member
- Posts: 347
- Joined: Wed Jan 27, 2016 5:21 pm
Maybe because another clock may be needed for USB or Audio?
There is no reason not to run an XCore of a 25 MHz clock if you just use Ethernet.
There is no reason not to run an XCore of a 25 MHz clock if you just use Ethernet.
-
- XCore Addict
- Posts: 131
- Joined: Wed Aug 03, 2011 9:13 am
In some circumstances, yes that would explain it, but not always. For example, on the xCore-200 eXplorer board it uses a 24MHz clock for the XMOS device and a separate 25MHz clock for the ethernet PHY. Why not just use a single 25MHz clock for both?
-
Verified
- Respected Member
- Posts: 347
- Joined: Wed Jan 27, 2016 5:21 pm
Hi Redeye,
That is because of the USB PHY.
The xCORE200 can run on either 24 or 25 - but it can only use the USB PHY when running of a 24 MHz oscillator (or maybe a multiple).
Cheers,
Henk
That is because of the USB PHY.
The xCORE200 can run on either 24 or 25 - but it can only use the USB PHY when running of a 24 MHz oscillator (or maybe a multiple).
Cheers,
Henk
-
- XCore Addict
- Posts: 131
- Joined: Wed Aug 03, 2011 9:13 am
Ah, right. Now it makes sense. I knew there'd be an obvious explanation that I was completely missing. That'll be because although I'm using an XE232, I won't be using the USB sections at all, so I can use a single 25MHz clock as I have done before.
Great. Thanks for your help.
Great. Thanks for your help.