Skip to main content

Serial Interface

3-Wire Serial Interface

The data serial interface is an RS-232 interface through which RockBLOCK Plus and your host controller transfer commands, responses, and SBD (Short Burst Data) message data. Within this setup, RockBLOCK functions as DCE (Data Communication Equipment), and the FA (Field Application) acts as DTE (Data Terminal Equipment).

🚧 TX/RX Labeling

  • TXD is an INPUT to the RockBLOCK.
  • RXD is an OUTPUT from the RockBLOCK.

Additionally, the Ground (GND) connection plays a critical role:

  • Ground (GND) serves as the common electrical return path and a reference point for the TX and RX signals, stabilizing the data transfer by reducing noise and ensuring signal integrity.

RockBLOCK 9602/9603 models operate using the same interface at 3.3V digital signal levels (LVTTL), and are 5V tolerant. If RS-232 voltage levels are required for compatibility with certain host controllers, an LVTTL to RS-232 level shifter must be included in the setup.

📘 Arduino Mega 2560

The Arduino Mega works with 5v level (TTL). The RockBLOCK is 5V tolerant and so no level-shifter is required.

RockBLOCK Plus Serial interface voltage levels

ParameterValue
Tx Low Maximum-0.5V
Tx High Minimum0.5V
Rx Input Low Threshold-0.5V
Rx Input High Threshold0.5V
Absolute maximum32.0V

RockBLOCK 9602/9603 Serial interface voltage levels

ParameterValue
Tx Low Maximum0.6V
Tx High Minimum3.0V
Rx Input Low Threshold0.6V
Rx Input High Threshold3.0V
Absolute maximum5.0V

The RockBLOCK 9602/9603 is 5v tolerant LVTTL, so as such the logic threshold is more like 2.4v as normal.

MinMax
VOH2.4vapprox 3.3v
VOLapprox 0v0.4v
VIH2.0v5.5v
VIL-0.3v0.8v

Baud Rate

Host controllers connecting to RockBLOCK should be configured to the baud rate settings in the table below.

SettingValue
Baud Rate19200
Data Bits8
ParityNone (N)
Stop Bits1

You are advised not to change the baud rate so the RockBLOCK uses a reliable, fixed baud rate. Automatic baud rate adjustment settings are not supported.

Flow control

❗️ It is strongly recommended to use RockBLOCK with flow control disabled.

The flow control setting can be set by AT commands. RockBLOCK has flow control disabled during manufacture, but should the device be reset to defaults then the following commands will disable flow control:

/* Issue AT command */

AT\r

/* Receive response */

OK\r

/* Disable Flow Control */

AT&K0\r

/* Receive response */

OK\r

/* Save configuration in non-volatile memory */

AT&W0\r

/* Receive response */

OK\r

AT Commands used in this section