Rubidium RS232 Capabilities.: Temex Neuchâtel Time SA Rubidium Atomic Clock
Rubidium RS232 Capabilities.: Temex Neuchâtel Time SA Rubidium Atomic Clock
1. RS232 CONNECTIONS
1.1. PIN AFFECTATION OF THE VARIOUS RUBIDIUM MODELS
MCFRS / HPFRS /
LPFRS RMO
LTCRO
1. Lock Monitor
2. Frequency adjust
3. GND
4(HPFRS). Lamp mon.
4(others). TxD (TTL) 1. +24V (+12V)
5. RxD (TTL) 2. 0V (GND)
6. Heating +24V 3. Lock indicator 1. Frequency output
7(LTCRO). NC 4. Vref (5V reference) 2. Vref / lock indicator
7(others). XTAL mon. 5. GND 3. Ground
8. Vref (+5V) 6. RS232 TxD, TTL 4. Frequency control input
9. Power (+24V) 7. GND 5. Power supply
10. GND 8. Frequency adjust 6. RxD (TTL) (optional pin)
A1: Frequency output 9. RS232 RxD, TTL 7. TxD (TTL) (optional pin)
Use pin10 for RS232 Standard = RS-232 present.
return
Keys: GND = Ground, TxD = Serial Transmit, RxD = Serial Receive, TTL = 0 to 5V level
Note for RMO users: if the pins 6 and 7 are physically presents, your RMO has the full RS-232 capabilities.
The rubidium clock does not care about control lines, only transmit, receive and ground are active. Your terminal
program must be configured to ignore the control lines.
Be careful of the RS-232 serial cables available on the market. Some provide the inversion of the transmit and
receive lines, some does not. Always verify the correct wiring. Sometimes you may plug a NULL-MODEM inverter
in serial.
If you use BIOS level serial communication functions (on a X86 based PC), like Interrupt 0x14, you may need to
strap additional wires on PC connector side to satisfy the BIOS verifications. Connect RTS to CTS and DSR to DTR.
For example, on a DB25 connector, strap pin 4 with pin 5 and pin 6 with pin 20 (see schematics in chapter 2.3).
2. SERIAL INTERFACE OPERATION
2.1. INTRODUCTION
The TNT rubidium clocks are equipped with a microcomputer, associated with multi-channel D/A converters, used
for setting its parameters. This microcomputer is also used for the interrogation and detection of the Rb absorption ‘
dip’ .
The built-in serial interface allows an automatic parameter adjustment during the manufacturing process as well as
coarse and fine adjustment of the centre frequency.
All the working parameters are stored in a built-in EEPROM memory. In addition an 8 channel A/D converter is
used for monitoring the main internal signals such as: light level , signal level , thermostats heating currents etc...
2.2. RS-232 LIMITATIONS FOR SEVERAL RUBIDIUM MODELS
In standard, all the TNT rubidiums are able to receive commands by RS-232.
All the TNT rubidiums, except the HPFRS, can transmit information by RS-232.
Only on request, for full pin compatibility with double oven OCXO, TNT can remove the RS-232 pins on the RMO
model.
2.3. GENERAL INSTRUCTIONS FOR SERIAL INTERFACE COMMUNICATION
For serial communication with a computer :
● The following chapters describe the various commands that can be send to the rubidium by RS-232. Please
note that all the commands shall be send in UPPER CASE.
● If the rubidium does not understand a command, it returns a quotation mark (?) through the RS-232.
● <CR> means Carriage Return which is ASCII decimal code 13 or hexadecimal code 0x0D.
● When using Windows Terminal, just type the <Return> key of the keyboard.
● Do not type space characters between the command and the carriage return.
● This page is issued for users who own a rubidium with full rubidium RS-232 capabilities (see chapter 2.2).
For serial communication with a microcontroller:
● The numerical value transmitted to the rubidium are coded into ASCII. For example, if you want to send the
Read-Back command L06, you have to send four ASCII characters: 'L', '0', '6', and 'Carriage return'.
This gives (in hexadecimal): " 4C 30 36 0D ".
● An ASCII table is included at the end of the page to help you convert your commands into hexadecimal codes.
● The SCI (Serial Communication Interface) used into the Rb is a full-duplex UART-type asynchronous system,
using standard nonreturn-to-zero (NRZ) format (1 start, 8 data, 1 stop bit). Both the transmitter and the
receiver are double buffered. The UART resynchronize the receiver bit clock on all one-to-zero transitions in
the bit stream; therefore, differences in baud rate between the sending device and the Rb are not likely to cause
transmission errors.
● The coding for ASCII character is 8 bits (signed).
● After the start bit, the byte transfer begin by the LSB up to the MSB (8 bits) and ends with a stop bit.
● The theoretically admited worst case commulated baud rate frequency mismatch is 4.2%
● Usually, microcontrollers provide a TTL TxD signal, compatible with the Rb RxD.
2.4. SERIAL INTERFACE CONNECTION
The data transfer from the Rb can be made by direct connection to a PC or standard terminal .
Parity None
Start bit 1
Data bit 8
Stop bit 1
IMPORTANT NOTE:
In most cases, the serial PC interface accepts the 0 to 5V level and a direct connection can be made. In case this 0
to 5V standard is not working , please refer to the small adaptation circuit called ‘ RS 232 adapter circuit’
described in chapter 3.
WARNING:
In case of wrong connection, for example, in case of plug-in the PC transmit to the RB transmit, you may damage
both PC and Rubidium serial port.
This operation is detailed in the rubidium Operating Manual. Follow the links:
MCFRS, HPFRS, LPFRS, RMO, LTCRO.
2.6. CENTRE FREQUENCY READ-BACK
Except in the HPFRS, coarse and fine frequency corrections value can be read back by the following commands:
L06 <CR> for coarse adjustment
L0A <CR> for fine adjustment
2.7. RUBIDIUM IDENTIFICATION
Just after switching on, the rubidium identifies itself through the RS-232 (except the HPFRS).
This can be useful for testing the serial link between the rubidium and the PC.
The information given during identification and the identification itself is not formally guaranteed by Temex
Neuchâtel Time SA. It is provided as an indicator. The fail of the identification can not be accepted as a reason for
returning the material.
The format of the returned string is usually the following:
TNT/Model Rb Version Date Checksum
Model: Rubidium model (MCFRS/LPFRS/RMO etc...)
Version: Software version
Date: Software date
Checksum: Checksum indicator for the factory
This format can be changed at anytime without notice. The provided information is not guaranteed.
MCFRS01 and MCFRS02 usually return "MCFRS01" at model identification.
The same string is returned if the following "Version" command is send by RS-232 to the rubidium:
V <CR>
The command shall be send in UPPER CASE. <CR> means: Carriage Return (ASCII decimal code 13).
3. RS-232 ADAPTER CIRCUIT
In most cases, the serial PC interface accepts the 0 to 5V level and a direct connection can be made. In case this 0 to
5V standard is not working , please use the small adaptation circuit called ‘ RS 232 adapter circuit’ described below:
Connect to
Connect to
rubidium serial
personal
port according to
pin function computer DB25
layout serial port