[En-Nut-Discussion] Ethernut with SPI Ethernet Chip

Balázs Vincze vincze.balazs.87 at gmail.com
Tue Oct 1 17:48:39 CEST 2013


Thanks for the answers!

MMC is a good idea:)
Best regards,
Balázs


2013/10/1 Ole Reinhardt <ole.reinhardt at embedded-it.de>

> Hi!
>
> > Can you help me where can is start? Is it possible to make a driver for
> the
> > chip insert it to the dev_spi structure and insert the dev_spi to the
> > dev_eth? Or what is the good way?
>
> As mentioned in one of my last mails, I just found a board with EN28J60
> in my cupboard (http://www.lochraster.org/etherrape/  only german so
> far...)
>
> Unfortunately the original software is GPL based, and therefor not
> compatible with Nut/OS BSD license model. But however I have some
> different sources, which I will try to use as a starting base for a driver.
>
> The way to go would be:
>
> Create a new spi-bus client driver and add the SPI node struct as ICB to
> the ETH device struct.
>
> The SPI MMC driver is a good example how to integrate the SPI node with
> a "normal" device.
>
> The device can the be registered with NutRegisterSpiDevice() instead of
> NutRegisterDevice().
>
> Best regards,
>
> Ole
>
> --
> kernel concepts GmbH            Tel: +49-271-771091-14
> Sieghuetter Hauptweg 48         Mob: +49-177-7420433
> D-57072 Siegen
> http://www.embedded-it.de
> http://www.kernelconcepts.de
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>


More information about the En-Nut-Discussion mailing list