beautypg.com

3 serial communication, 4 command line interface, 1 identification and information commands – Maxim Integrated 6612_OMU_S2_URT_V1_13 User Manual

Page 6: Serial communication, Command line interface, Identification and information commands

background image

6612_OMU_S2_URT_V1_13 Firmware Description Document

FDD_6612_010

6

Rev. 1.1

3 Serial Communication

The serial communication with the 78M6612 takes place over a UART (UART0) interface. The default
settings for the UART of the 78M6612 are given below:

Baud Rate:

38400bps

Data Bits:

8

Parity:

None

Stop Bits:

1

Flow Control:

Xon/Xoff

The host’s serial interface port is required to implement these settings on its UART. To verify
communication between the host and the 78M6612, the host must send a (carriage return) to the
78M6612. Communication is verified when the 78M6612 returns a > (greater than sign) known as the
command prompt. An example is given below:

The host sends the following to the 78M6612:

The 78M6612 sends the following back to the host:

>

Commands the host may send to the 78M6612 in order for the host to configure the 78M6612 or to
receive the measurement data are given in the next section.

4 Command Line Interface

Firmware 6612_OMU_S2_URT_V1_13 contains an instruction set called the Command Line Interface
(CLI), which facilitates communication via UART between the 78M6612 and the host processor. The CLI
provides a set of commands which are used by the host to configure and to obtain information from the
78M6612.

4.1 Identification and Information Commands

The I command is used to identify the revisions of Demo Code and the contained CE code. The host
sends the I command to the 78M6612 as follows:

>I

The 78M6612 will send back to the host the following:

TSC 78M6612 OMU S2 URT v1.13, July 20 2009(c)2008 Teridian Semiconductor Corp.
All Rights Reserved
CE6612_OMU_S2_A01_V1_2
>