I have a known good port from the main system board driving a DP83630 that is hard wired into the DP83630 on my peripheral module, this is the unit I'm trying to get running but asside from the device specification I can find little documentation for first time users.
The system board, running Linuz, recognizes and operates commercial modules that plug into the the peripheral connector but it's not detecting my module. So my problem is verifying the physical link between these two DP83630's.
I can read/write the DP83630 registers and have been combing the bit settings but as a first time user I'm not familliar with many of the settings.
When I set the BMCR register LOOP_BACK bit and the PHYCR register BIST_START, my MCU begins to recieve frames. I also noticed when I do this the BMSR LINK_STATUS bit becomes active.
The basic configuration is 100mbps, full duplex using an RMII inteface. My startup register values are shown below.
How do I debug the physical interface?
Thanks
Doug
00, PHY_REG_BMCR 2100
01, PHY_REG_BMSR 78D9
02, PHY_REG_ID_R1 2000
03, PHY_REG_ID_R2 5CE1
04, PHY_REG_ANAR 0101
05, PHY_REG_ANLPAR 00
06, PHY_REG_ANER 04
07, PHY_REG_ANNPTR 2001
10, PHY_REG_PHYSTS 44
11, PHY_REG_MICR 00
12, PHY_REG_MISR 00
13, PHY_REG_PAGESEL 00
14, PHY_REG_FCSCR 00
15, PHY_REG_RECR 00
16, PHY_REG_PCSR 014B
17, PHY_REG_RBR 21
18, PHY_REG_LEDCR 00
19, PHY_REG_CR 21
1A, PHY_REG_10BTSCR 0904
1B, PHY_REG_CDCTRL1 00
1C, PHY_REG_CR2 02
1D, PHY_REG_EDCR 6011
1F, PHY_REG_PCFCR 00