Author Topic: LPC2103 + ENC28j60  (Read 20607 times)

Offline naderus

  • Newbie
  • *
  • Posts: 1
    • View Profile
LPC2103 + ENC28j60
« on: January 20, 2008, 05:44:27 PM »
Hello Mark,
I really interested in a board with LPC2103 + ENC28j60 for performing some high rate data measuring on UDP socket.
as LPC2103 have very low in both FLASH and RAM:
1- could I use your TCP/IP stack without OS?(does your stack API is non blocking)
2-can your stack fit in LPC2103?
3- is it easy to fit enc28j60 driver to your stack?(some standard API for MAC)

Thanks a lot for your valuable help.
Best Regards.
Nader.
« Last Edit: January 20, 2008, 05:46:34 PM by naderus »

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3243
    • View Profile
    • uTasker
Re: LPC2103 + ENC28j60
« Reply #1 on: January 20, 2008, 07:57:35 PM »
Hi Nader

The LPC2103 has 8k RAM and 32k FLASH. If you look in the tutorial you will see the size requirements for the uTasker project. If you only need UDP protocol I estimate about 11k FLASH would be needed. 8k RAM is also adequate - the uTasker project for the NE64 works also with 8k RAM (including most protocols and Ethernet RAM buffers).

I see no benefits of removing the OS to save space since it is using about 3k FLASH and helping in a lot of areas - without this support the new code needed to solve various other problems would not result in any noticable gains - but a lot more work.

It would be possible to use the enc28j60 but I haven't used it myself. I don't consider it to be a very efficient solution due to the fact that the data has to be transfered by SPI using a FIFO method. In addition the current consumption of the enc28j60 (unless it has been improved since it first appeared) seems very high.

Regards

Mark

P.S. I once used the LPC2106 together with an NE64 via SPI, where the NE64 was performing the job of an Ethernet controller. This was only as an experiment but it did basically work.