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.

CCS/DP83640: DP83640 PHY Status Frame config/Rx trouble

Part Number: DP83640
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

I'm having trouble trying to get PHY Status Frames from the 83640.  I'm using LwIP, HalCoGen, CCS 7 and an RM48.  We have PTP working, I just can't confirm whether PTPSetPhyStatusFrameConfig() is doing anything and I'm not seeing the status frames coming from port 319.  Any debugging tips?

  • Hi,

    Check your MDIO/MDC access is ok. Are you able to access Phy Link Status register 0x0001 or phy id register 2 and 3 ?


    Regards,
    Geet
  • Hi,

    Thanks, I fixed my problem.  MDIO was working already (ethernet was working and also our PTP service was syncing).  My problem was in porting the PHYTER development guide example code to my platform.  Once i started trying to trap the packets down in hdkif_rx_inthandler() then I was seeing them.  From there I realized that IsPhyStatusFrame() was looking at headers that would be stripped away by the time my udp_recv callback ran.  Now that it works, my next challenge will be to see if I can get PCFs working (even though MDIO does work).

    Thanks again.