lpc17xx ethernet rmii mdc clock polarity

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc17xx ethernet rmii mdc clock polarity

680 Views
hugohabicht
Contributor II

Hi,

we are having problems with an LPC17xx ethernet PHY interface.   According to the PHY datasheet the MDIO pin should change values on the falling edge of the MDC pin and they are sampled by the PHY at the rising edge.   On our LPC1768 the MDIO pin changes on the rising edge and communication with the PHY is not possible.   System clock is 64MHz and clock divider used is 48.

Can somebody confirm the clock polarity?  Is there any register where the clock polarity can be changed?   I could not find anything in the GPIO or Ethernet control registers.

Any help / hint would be appreciated.

Kind regards,

Labels (1)
0 Kudos
1 Reply

476 Views
jeremyzhou
NXP Employee
NXP Employee

Hi hugohabicht,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.

I was wondering if you can tell me which PHY device you use.

I'm looking forward to your reply.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos