Thanks for your helpful answer!
1. Which bit I expect to change?
In fact, I wanted to configure the PHY to Loop-back enalbed, 100Mbps, Duplex Mode and without Auto-negotiation, so I write the command into its Control Register. After verifying the value in the Control Register is correct, I then go to read the Status Register. But the only bit that changed is the "Link Status". The other bits are all at their default values. Note that by default, the 4 bits 100B/10B Full Duplex, 100B/10B Half Duplex are all showed 1 and the Auto-Negotiation Ability bit is also 1.
2. The PHY must be configured properly to send/received frames.
I don't quite understand "be configured properly". BUT it does seem that all data remains in the ENET queue. I think the main reason is that the interrupt routine is never called, so neither the frame can be removed from the transmit queue nor it can be added into the receive queue. I tried to look for where in the generated codes the interrupt is enabled, but unfortunately I did't find that. Even when I enabled the Rx/Tx interrupt manually, still nothing changed :smileysad:
3. About the demo codes in Help
I'm using the demo codes in the Component help, and I looked through it and it seems to me that everything is OK. But I'm still wondering if these codes are reliable?
Thanks very much!