Skip to content

Speed tickets on RS232 Level Converters

As practice has shown, simple level converter with -12V supply derived from DTR/RTS is not capable to work on high speed. Therefore I have made several tests on speed with the original PNP-based design and a RS232 line driver SN75150 and publish test results in this post. Test summary is given in Table 1.

(Continued)

A Simple Environment for Automated Testing

This post describes how SISAM can be used to build a simple environment for automated testing of embedded applications.

(Continued)

SISAM Protocol

SISAM uses RTS/CTS flow control for reading command and DTR flow control for sending acquired data. This means that PC should set RTS before sending commands and watch for CTS (e.g. use CTS sensitivity option). When PIC goes into data acquisition mode, it sends an ASCII string starting with Y4-MODE: followed with new mode description. This description can be directly used with mode command or with BuildCommDCB function.

(Continued)

Simplescope

Simplescope is a simple solution for data acquiring, signal visualizing and analysis.
It is build up from three components:

SISAM – PIC-based dual channel sampler
SISAM1 a COM interface to SISAM
SISAN – Windows application that controls sampler, acquires and visualizes logical signals
Please follow respective link to read more about components and their capabilities.
To get the best performance you will also need a high speed serial driver, such as Serial XP by Leo Yuriev or HiSerial.

SISAM hadware is cheap and simple enough to be built at your own.
All sofware is free and available for download:Download Simplescope v1.1
(Continued)

SISAN Screenshots

In this post I have published more SISAN screenshots.
(Continued)

SISAN Overview

SISAN – SImlpe Signal Analyser – is a Win32 application capable to control Simple Sampler hardware, acquire sampling data, store sampling data to a file, and visualize logical signals reading data either from a file or directly from the sampler. SISAN provides basic facilities for timeline navigation, beam and surface look customization.
(Continued)

Overclocking COM port

Most of recent mainstream motherboards have USART chip supporting speeds above 115200. However, there are few obstacles.
(Continued)

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.

(Continued)

SISAM Command Language

This chapter describes SISAM Command Language, provides Command Language BNF and describes SISAM responses

(Continued)

SISAM Hardware

SISAM Hardware schematic is given on Figure 1.
Besides the MCU PIC16F690 it includes a 20 MHz crystal and a RS232 matching circuit.

(Continued)