LWIP stack port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LWIP stack port

788 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Nieur on Fri Aug 24 18:52:34 MST 2012
The LWIP port available on the LPCware is for LPC177x_8x.
I want to use LWIP for LPC1768. will this port work with LPC1768 without any major changes?

I will be using DP83848C as PHY if that helps

Thnaks
Labels (1)
0 Kudos
1 Reply

498 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wellsk on Mon Aug 27 14:10:00 MST 2012
The example included in the lwip_lpc port for the 17xx is setup for the EA1788 board. It should work just fine on the other 17xx devices that have a MAC , but you'll need to change pin muxing in the code, your MII/RMII configuration, and memory usage. You may need to tweak the lwip options file to adjsut the number of pbufs and your memory pool for the device depending on available memory. The 17xx devices can only use peripheral RAM or memory on the external bus for MAC buffers.

If you are using the FreeRTOS variant, you should also adjust/shrink the heap size in the startup file to optimize memory usage. If memory is tight, try starting with the standalone versions.

A DP83848 driver is already included in the lwip_lpc build!
0 Kudos