MDK-ARM Keil, MDK-ARM Datasheet - Page 73

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Getting Started: Building Applications with RL-ARM
Once the RL-TCPnet library has been configured, we need to add the following
code to our application code.
void timer_poll ()
}
int main (void)
}
The main while loop must be a non-blocking loop that makes a call to the RL-
TCPnet library on each pass. In addition, we must provide a timer tick to the RL-
TCPnet library. This must use a hardware timer to provide a periodic timeout
tick. The tick period should be around 100ms. If you need a different tick rate,
you should reconfigure the timer and change the timer tick interval in
Net_Config.c
Once configured, the project can
be built and downloaded into the
microcontroller so that we can
test it on a real LAN.
Exercise: PING Project
This project demonstrates how to configure the RL-TCPnet library to create a
minimal TCP/IP station.
if (100mstimeout)
}
timer_init ();
init_TcpNet ();
while (1)
}
timer_tick ();
tick = __TRUE;
timer_poll ();
main_TcpNet ();
.
{
{
{
{
// RL-TCPnet function
73

Related parts for MDK-ARM