4. Pad_test

4.1. Function description:

This demo shows the the connections to GMII interface that cannot be detected by the loopback.

  • Writes 1 to RTC register that the offset is 0x40 & the filed is bit1, then the model will send data.

  • If the data detected on the MAC PAD is equal to the sent datas, set 1 to RTC register that the offset is 0x40 & the filed is bit2.

  • Read the RTC register to check.

4.2. Test result:

If the value of bit2 filed of RTC register that the offset is 0x40 is 1, then print pass, if not print fail.

4.3. IO connection:

None