Forum Discussion
Altera_Forum
Honored Contributor
22 years agoUsing LAN91C111 and LWIP in 16-bit mode?
Hello, Currently I’m working with the Cyclone Development Board and the Nios II to evaluate some things for a new system. The new board will be equipped with an EPC1C12 in a 240-PQFP package. T...
Altera_Forum
Honored Contributor
20 years agoI've found to make the LAN91c111 really work as a 16 bit device
on the Nios2 development board, one has to modify the file "class.ptf" in the altera_avalon_lan91c111 component folder. When the 'LAN91C111 MAC/PHY On Daughtercard' option is chosen then specifically these sections matter the most: $SPW/PORT byteenablen/width = "2"; $SPW/PORT address/width = "15"; $SPW/PORT data/width = "16"; $SBI/Data_Width = "16"; $SBI/Address_Width = "15"; $CONSTANTS/CONSTANT LAN91C111_REGISTERS_OFFSET/value = "0x0300"; $CONSTANTS/CONSTANT LAN91C111_DATA_BUS_WIDTH/value = "16"; After that the posted driver works great.