Other Parts Discussed in Thread: DP83822I,
Using STMCube generated LWIP stack - we are having major difficulties getting this thing to work. Status bit says not linked and PC does not see it on the other end.
1-RCV_CLK clock measured 25 MHz on scope
2-We think there is FLP activity on MDI pins.
3-
Reading internal registers:
DP83822I_SMR
0b1100'1100'0000'0001
0xcc01
DP83822I_PHYSTS
0x115
0b1'0001'0101
DP83822I_PHYCR
0xcc01
0b11
1100'0000'0001
Bit 14 Noteable: Force MDIX:
1 = Force MDI pairs to cross (MDIX)
0 = Normal operation (MDI)
When Force MDI/X is enabled, receive data is on the TD pair and
transmit data is on the RD pair. When disabled, receive data is on the
RD pair and transmit data is on the TD pair.
4:0 PHY Address
DP83822I_MLEDCR
0x45e1
0b100'0101'1110'0001
LAN8742_BCR
0x1000
0b1'0000'0000'0000
LAN8742_BSR
0x7869
0b111'1000'0110'1001
LAN8742_PHYI1R
0x2000
0b10'0000'0000'0000
LAN8742_PHYI2R
0b1010'0001'0011'0000
0xa130
LAN8742_ANAR
0x1e1
0b1'1110'0001
LAN8742_ANLPAR
0x45e1
0b100'0101'1110'0001
LAN8742_ANER
0x7
0b111
LAN8742_ANNPTR
0b10'0000'0000'0001
0x2001
LAN8742_MMDACR
0
0b0
LAN8742_MMDAADR
0
0b0
Help needed -
Dean KaplanV86652_3.3.pdf