DN112-06v02
JYE Tech - 18 - www.jyetech.com
Serial Interface (SI)
Introduction
The Serial Interface (SI) of DSO112A is a serial connection that
can output captured data/waveform measurements and take
commands to operate the oscilloscope remotely. The connection
can be a virtual COM port on USB or LVTTL Uart to another
controller. For the latter please refer to the Section āUse as an
Integration Moduleā for more details.
The bit stream format for the SI is 115200 baudrate, 8 data
bits, 1 stop bit, and no parity. This is fixed and can not be
changed.
The USB connection is based on a CP2102 Uart-USB bridge
inside DSO112A. You need install driver for this bridge on PC
if it is the first time to connect to DSO112A. Please go to
Silicone Lab website to download the appropriate driver for
your system and install it correctly. The web page link is:
http://www.silabs.com/products/mcu/pages/usbtouartbridgevcp
drivers.aspx
Data transferred through the SI are in frames. All frames are
with the general format given in the table below.
This format observes three rules.
1) Frame ID must not be same as the Sync character (0xFE).
2) If a byte has the value of 0xFE a 0x00 byte must be
inserted right after it in transmission.
3) All multi-byte data fields are transferred in little endian
order unless otherwise stated.
Offset Field Name Size Value
-1 Sync character
1 0xFE
0 Frame ID 1
1 Frame Size 2
3 Payload starts Variable