Forum Discussion
Altera_Forum
Honored Contributor
19 years agoTake a look at the existing code (which sets the PHY to auto negotiate) and modify it. I've already mentioned which file it's in... <components>/altera_avalon_lan91c111/UCOSII/src/altera_avalon_lan91c111.c
There's a section which starts with the comment/* Start the Auto Negotiation process */
/* Try to negotiate, we have a go at this five times if it fails */ You need to modify the code, in this section, to set the PHY to 10/Full. It appears that all of the masks that you'll need to do this are already provided...in the <components>/altera_avalon_lan91c111/inc/altera_avalon_lan91c111.h header file. Best of luck! - slacker