Skip to content

SISAM Overview

SISAM – SImple SAMpler – is a simple PIC-based hardware for precision dual channel data acquiring with moderate resolution (up to 500 ksps in continous mode and up to 5 Msps for very short sequence). It uses USART and SSP for sampling signals and software routines for RS232 communication. USART is configured for synchronous master reception, while SSP is set for synchronous slave reception and is driven by USART clock via external circuit (wire).

In sampling mode signals are sampled on USART.RX and SSP.SDI pins. It timing mode it measures time between signal alternations on CC1 pin using CCP module. Acuired data is sent using RS232 protocol.

Schematic

Current version is build for PIC16F690. Hardware schematic is given in this post.

Capabilities

SISAM has a terminal-like console interface with a small set of ASCII-based commands and produces human readable and computer friendly responses.

SISAM – provides the following capabilities

  • S – Sampling single channel – RB5 up to 500 ksps (kilo sample per sec)
  • X – Sampling dual channel RB5, RB4 up to 200 ksps per each channel
  • J – Limited buffered sampling sole channel @ 5 Msps (1920 samples via internal buffer)
  • M – Measuring pulse timing on RC5 up to 12 kHz average,
  • o – drive (trigger) output pins right before (0.8us) sampling started
  • O – drive (trigger) output pins immediately and/or in a sequence (20 us per data byte)
    (two sequential commands Oxx;Oxx have interval approx 440 us – 436.6 + delay on PC USART)

Command language capabilities:

  • executing all commands via ASCII/RS232 console
  • command data is passed as hexadecimal digits

Communication capabilities

  • RTS/CTS driven RS232 communication @ 115.2 kbps
  • Parasitic -12V power RS232 matching circuit
  • 32 bytes long RS232 reception buffer
  • Data transfer mode operates on 115.2, 230.4, 460.8 and 921.6 kbps
  • Best data transfer speed is selected by SISAM and reported via console
  • Data transfer is driven by PC via DTR signal

System requirements:

To achieve high speed sampling rate, your COM port must be overclocked to the highest possible speed. Please follow this link to details on port overclocking. Table 1 lists maximal sampler resolution for possible baud rates.

Table 1. Maximal resolution versus baud rate

Baud rate

Operating mode

115200
230400
460800
921600
S – Sole channel sampling rate (ksps)
91
172
313
500
X – Dual channel sampling rate (ksps)
44
85
152
227
M – Timing pulses 10% duty (us)
40/360
20/180
14/135
10/90
M – Timing pulses 50% duty (us)
160
80
60
40

Applications

Sisam is designed for use in Simplescope and A Simple Environment for Automated Testing .

See details on Hardware for PIC16F690, Hardware for PIC16F88, Protocol, Command Language; Downloads

4 Comments