6 Appendix: Microsemi Serial Interface Protocol
This appendix provides information about communicating with the SA.22c through the serial interface
connector provided in the developer’s kit (see ). It Appendix: Using the Developer’s Kit (see page 16)
includes output examples and a description of commands.
6.1 Using the Microsemi Serial Interface Protocol
The MSIP bridges communication with the SA.22c through the serial port when connected to a host PC.
All commands are a single ASCII letter and require no termination. Out of the eight developer-mode
RUN MODE commands, three require the host to supply data.
6.1.1 Host Terminal Emulator Setup
Set up the comm port of the PC with the following configuration:
Data rate (baud or B.P.S. – baud rate) of the SA.22c is 57.6K
No parity
Eight data bits
One stop bit
No local echo (unit echoes)
No hardware or software flow control
Note: The SA.22c’s UART connections are based on 5 Vdc logic levels. However, the developer’s kit
contains a TTL-to-RS232 converter that allows interfacing to a PC.
6.1.2 Run Mode Data Format (Customer Mode)
SA.22c outputs are all decimal data as ASCII coded hex except for the echoed characters. Do not convert
data to decimal when transmitting to the SA.22c. All data are sent to the SA.22c and received back as
. The following example shows how data are encoded.ASCII coded hex
Note: Flow control is not permitted in .Run Mode
The following is an example of the output from the SA.22c after power is supplied to the unit.
SA22C by Symmetricom, Inc., Copyright 2006
SA22 Version 6.01C of 7/2006; Loader Version 3
Mode CN01 Flag 0000 [D04D]ok
Unit serial code is 0612SA3763-h, current tuning state is 6
Crystal: 60000000hz, ACMOS: 10000000.0hz, Sine: 10000000.0hz
Ctl Reg: 004C, Res temp off: -1.5410, Lamp temp off: -1.9466
FC: disabled, Srvc: high
Enter Run Mode
FC mode is disabled
1pps mode is disabled
r>
Command i: The following example shows the response to the command i to get the serial number and
other information on the SA.22c:
r>i
SA22C by Symmetricom, Inc., Copyright 2006
SA22 Version 6.01C of 7/2006; Loader Version 3
Mode CN01 Flag 0004
Unit serial code is 0612SA3763-h, current tuning state is 6
Crystal: 3938700hz, ACMOS: 989680.00000000hz, Sine: