This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SMSC LAN 9118,9218 or 89218 driver



Has anyone created a driver for a C2000 processor to do ethernet using SMSC's LAN9118, LAN9218 or LAN89218 ethernet chip?

If so  do you have reference source code you can share?

I have ported over SMSC's sample code for an ARM processor, but am having issues with it resplying to a received packet once and then not able to transmit again after that.  Clearly I am getting something hosed up in the register settings within the LAN89218 chip, but am having problems putting a finger on the exact problem.

Any help would be appreciated.  Thanks!!!

  • i know that was a old post, but did you ever get it figured out? i can talk to  the chip and get the id#. thats it. i cant figure out how to create a IP address for the chip (it connects directly to a network card on a computer to talk to a labview program.)  im trying to communicate between the c2000 with Lan9218 device and my labview program.  im not even sure if the packet i am sending is UDP standard?? there is so little info out there, and very small amount of forum support or info.. nothing anywhere talks about assigning a IP address just a mac address and in labview UDP says it requires a IP address.  and like you said the program was for a ARM device...  If i can figure out how to get labview and the controller talking using UDP packets (if i dont need ip then fine), but is the standard Data packet the lan9218 manual refers too a UDP packet or something else?

    thanks so much if you have anything to offer,

    Chuck