This FPGA design example shows the simple DHCP in LWIP service, running on the NB3000. The unique NB3000 ID is used to compute the MAC address. This MAC address is used by the DHCP server to allocate an IP address. Once the IP address is allocated and shown in the terminal instrument, the user can ping this IP address from a computer on the same network.
The TSK3000, SPI, EMAC(32) 10/100, Arbiter and SRAM controller are used in this example.
The embedded project demonstrates using the SPI driver to get access to the SPI bus on the NB2 to retrieve the NB3000 ID. It also demonstrates TCP/IP network Adapter and Serial Device I/O Context for serial output via the terminal instrument.
Altium Designer projects included in this download:
- NB3000_Unique_MAC.PrjFpg
- NB3000_Unique_MAC.PrjEmb