4 serial communication and cli, 1 cli interface, Serial communication and cli – Maxim Integrated 78M6631 User Manual

Page 18: Cli interface, On and, Section 4

Advertising
background image

78M6631 Firmware Description Document

UG_6631_078

18

Rev 2

4 Serial Communication and CLI

The serial communication with the 78M6631 takes place over a UART (UART0) interface. The default

settings for the UART of the 78M6631, as implemented in this firmware, are given below:

Baud Rate:

38400bps

Data Bits:

8

Parity:

None

Stop Bits:

1

Flow Control: None

The host’s serial interface port is required to implement these settings on its UART. To verify

communication between the host and the 78M6631, the host must send a <CR> (carriage return) to the

78M6631. Communication is verified when the 78M6631 returns a > (greater than sign) known as the

command prompt. An example is given below:

The host sends the following to the 78M6631:

<CR>

The 78M6631 sends the following back to the host:

>

4.1 CLI Interface

The Command Line Interface (CLI) provides a simple ASCII interface to access input and output registers

and to invoke commands. The CLI interface connects to a HyperTerminal or any other terminal emulation

SW. The CLI interface can also be used to interface to a host processor.

Advertising