background image

Contemporary 

Research    

   

232-STSi PAL TV Tuner

 

 

RS-232 Control Protocol

 

 

Overview 

 

The 232-STSi full duplex RS-232 scheme enables a system programmer to control all TV Tuner functions as well 

as monitor 3 groups of TV Tuner status. All commands are sent as ASCII strings. No delays between characters 

or commands are required, as data is interrupt driven and buffered.  

 

The 3 status groups are: Channel/Source Select, Audio Levels/Mode and Front Panel. The Mute A/V button-

function status from the 232-STSi front panel has been grouped with the Channel/Source for simplicity in the 

most common modes of operation. Each of the groups has one ASCII status response string containing all of 

the status data for that group. The current status string of a group is sent from the 232-STSi whenever a valid 

command for that group is received by the 232-STSi RS-232 port or front panel. A group's status may be 

requested at any time via the RS-232 port. Status of all 3 groups is sent at power up. The format of each 

group's status response string remains the same always.  

 

Up to 9 232-STSi units may be cabled together and addressed for individual control from a single RS-232 port. 

Each 232-STSi is assigned a unique unit code (Front Panel Mode 2).  

 

Communications parameters (Front Panel Mode 1) are 300 to 19.2K baud, 8 data bits, No parity, and 1 stop bit. 

Factory default is 9600 baud, Unit#1.  

 

All settings are saved to NVRAM in the 232-STSi. 

 

The tuner will accept non-standard RS-232 control such as voltage that swings from 0 to +5 VDC, commonly 

found when IR ports are used to send RS-232 commands. 

 

General protocol specifications 

 

Characters in command strings to the 232-STSi are common ASCII keyboard characters. 

 

Command strings sent to the 232-STSi begin with the ASCII > (greater than symbol) as an 'Attention' character 

and end with carriage return - ASCII CR, Hex $0D, or keyboard Enter - as an 'End-of-command' character. 

 

Responses from the 232-STSi begin with the ASCII < (less than symbol) as an 'Attention' character and end 

with a carriage return followed by line feed an ASCII LF or Hex $0A as 'End-of-command' characters. 

 
A carriage return is required at the end of each command and is assumed in all examples

.

 

 

Command String Structure

 

 

[Attention] (Unit#) [Command] (Parameters) [Return] 

 

Attention 

Single character (>) starts the string

 

Unit# 

The Unit# is expressed as an ASCII 1 2 or 3 when used in multi 232-STSi applications.  

 

It may be omitted for a default of Unit#1 for a single 232-STSi set as Unit#1. 

Command

 

A two-character command  

Parameters

 

Added attributes to some commands 

Return 

A carriage return ends the command string, you may use ASCII CR, Hex $0D, or keyboard 

‘Enter’ in programming. For simplicity, the programming examples in the manual will not show 

the ‘CR’ – so remember, you’ll need to add it in your control code. 

 

Summary of Contents for 232-STSI

Page 1: ...rt Road Suite 113 Dallas TX 75252 Phone 972 931 2728 Toll Free 888 972 2728 Fax 972 931 2765 E Mail Sales crwww com Website www crwww com Product Manual 232 STSi Stereo PAL TV Tuner S Video Version 6...

Page 2: ...ions 9 Command String Structure 9 General RS 232 Commands 10 Character Generator Commands 13 Keypad Channel Command 14 IC RC Remote Emulation 14 Preset Commands and Replies 15 Terminal Communication C...

Page 3: ...ware available from www crwww com Features intelligent auto tuning of TV frequencies with the ability to save channel presets that include the frequency and TV Standard Outputs S Video signal for impr...

Page 4: ...ypad Channel selection press Enter to select channel Volume Up Down and Mute Channel Channel Up Down Presets Up Down Left Right and Top keys search add and delete channel presets CC Selects Closed Cap...

Page 5: ...r stereo mono and dual modes Stereo Dual Total Harmonic Distortion THD 0 6 maximum 0 3 typical Response 30Hz to 14KHz Channel Separation 40dB minimum 45dB typical Mono Total Harmonic Distortion THD 0...

Page 6: ...le in this mode 5 Changes are saved in non volatile memory as they are entered 6 The Volume up down buttons scroll through programming modes 0 through 9 and 10 7 The Channel up down buttons scroll thr...

Page 7: ...NICAM 3 9 SECAM L Rev 6 2 Future Future AV Status 13 0 13 1 13 2 13 3 No AV status default Stereo Mono status only Video Loss status only Both status sent Panel Lockout 4 0 4 1 4 2 4 3 4 4 4 5 4 6 4...

Page 8: ...tuner will display on screen text to confirm which standard is active The first standard to appear is the current setting PAL B G H A2 PAL B G H NICAM PAL D K NICAM PAL I NICAM Search for Broadcasts P...

Page 9: ...2K baud 8 data bits No parity and 1 stop bit Factory default is 9600 baud Unit 1 All settings are saved to NVRAM in the 232 STSi The tuner will accept non standard RS 232 control such as voltage that...

Page 10: ...re selected Q3 AV Detect Status 0 3 Enables disables sending status response when Stereo Mono or Video Loss Detect changes Only status operation is affected the functions continue to operate 0 Disable...

Page 11: ...annel status Example ST Unit sends T Channel Source status string Returns Channel Source status response string SV Request A V status Unit sends V Audio status string TR Set Tune Ring TR Not applicabl...

Page 12: ...in stereo or mono and the video sensor looks for presence of video If you desire your control system can respond whenever the status of the audio or video detectors change For example you can change...

Page 13: ...rrent channel label on screen for about 10 seconds DG row column Moves the cursor to the specified row and column position If row is 0 then row will not be changed and if column is 0 then column will...

Page 14: ...er 3 seconds with no other key the selected channel will be tuned to Optionally you can have an Enter key send the command KC or KT to select the channel immediately Using the KD command can cancel a...

Page 15: ...l number and software version Z Zap Reconfigures unit for all factory default settings RS 232 Command Hints and Tips Leading zeros may be included or omitted from command parameters Example TC 009 Sel...

Page 16: ...1 Video Mute N A Video Present Reference 1 9 U On M Off Current Channel 3 digits U Unmuted M Mute 2 digits N No Video Y Video Frequency TV Standard xxx xx xx 1 T U 008 U xx Y 271 25 02 Audio Status Re...

Page 17: ...rt Set the first unit in the RS 232 chain to the highest Unit then wire in sequence to the last tuner in the chain The reason for this is that CR tuners use an intelligent data bus the highest number...

Page 18: ...e four 4 supplied 8 32 by black countersunk screws RK2 Side by Side Rack Kit 1 Remove top cover of the first unit by removing the ten 10 black screws 2 Attach cover of first unit to the side of the se...

Page 19: ...ctric shock 7 Object and Liquid Entry Never push objects of any kind into this product through openings as they may touch dangerous voltage points or short out parts resulting in a fire or electric sh...

Page 20: ...mages are sought or a claim is made under this warranty or as a tort claim including negligence and strict product liability a contract claim or any other claim This limitation of liability cannot be...

Reviews: