Код
Command_config Register = 0x00802220
Wait Command_config Register = 0x00800220
Tx_section_empty = Max FIFO size - 16
Tx_almost_full = 3
Tx_almost_empty = 8
Rx_section_empty = Max FIFO size - 16
Rx_almost_full = 8
Rx_almost_empty = 8
Tx_section_full = 16
Rx_section_full = 16
mac_0 = 0x17231C00
mac_1 = 0x0000CB4A
Frm_length = 1518
Tx_ipg_length = 12
Pause_quant = 0xFFFF
Command_config Register = 0x00802220
Wait Command_config Register = 0x00800220
Command_config Register = 0x00802223
Wait Command_config Register = 0x00800223
link_timer (address offset 0x12) = 0x0D40
Link_timer (address offset 0x13) = 0x03
if_mode = 0x0003
PCS Control Register = 0x1140
PCS Control Register = 0x9140
Wait PCS Control Register RESET bit is clear
Wait Command_config Register = 0x00800220
Tx_section_empty = Max FIFO size - 16
Tx_almost_full = 3
Tx_almost_empty = 8
Rx_section_empty = Max FIFO size - 16
Rx_almost_full = 8
Rx_almost_empty = 8
Tx_section_full = 16
Rx_section_full = 16
mac_0 = 0x17231C00
mac_1 = 0x0000CB4A
Frm_length = 1518
Tx_ipg_length = 12
Pause_quant = 0xFFFF
Command_config Register = 0x00802220
Wait Command_config Register = 0x00800220
Command_config Register = 0x00802223
Wait Command_config Register = 0x00800223
link_timer (address offset 0x12) = 0x0D40
Link_timer (address offset 0x13) = 0x03
if_mode = 0x0003
PCS Control Register = 0x1140
PCS Control Register = 0x9140
Wait PCS Control Register RESET bit is clear
88e1111 конфигурю хардово следующим образом:
Код
1110 = Auto-Neg, advertise all capabilities, prefer Master
0100 = SGMII without Clock with SGMII Auto-Neg to coppe
0100 = SGMII without Clock with SGMII Auto-Neg to coppe
В результате с платой на ПК в 1Гбит/с конектится и работает отлично, а на скорости в 100Мбит работает тока на передачу, и почему такое происходит непойму.
Если кто в теме, подскажите что нетак. Зарание спасибо.