MDK-ARM Keil, MDK-ARM Datasheet - Page 109

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
Serial Drivers
Although most RL-TCPnet applications will connect to a TCP/IP network using
an Ethernet interface, it is also possible to use a UART connected to a modem to
establish a Serial Line Internet Protocol (SLIP) or Point-to-Point (PPP)
connection with the network.
In order to configure the RL-TCPnet library to establish a PPP connection, you
must enable the PPP support in
PPP interface allows you to define the IP address, subnet, and the DNS server. It
also gives you the option of
having them assigned
automatically by the PPP host.
In addition to these basic
parameters, we can also define a
character map, which defines
replacement strings for
characters used for modem and
flow control. If you are
communicating with a modem or
using software flow control, it is
necessary to send control
characters alongside the data
packets. The values used for the
control characters may not be sent in the data packets. We must encode the
values used as control characters, in order to send them in a data packet. For
example, if we are using the Xon/Xoff software flow control, the value
used to start the serial data stream,
To allow the values
define a two-byte encoding that replaces each instance of these values in the data
stream. The encoding used in SLIP and PPP protocols is the ASCII escape
character (
XON =
XOFF =
When a data packet contains
0x11
0x13
0x7D
Async control character =
Async control character =
), followed by the value to be encoded XORed with
0x11
and
0x13
0x11
Net_Config.c
to be sent as part of a data packet, we must
it will now be replaced with
0x13
is used to halt it.
0x31
0x33
first. Like the Ethernet interface, the
0x7D 0x31
0x20
.
.
0x11
is
109

Related parts for MDK-ARM