background image

                                               

       FMUSER INTERNATIONAL GROUP INC.    

广州市汉婷生物技术开发有限公司

 

18 

 
 
 

10 

COM Port Communication 

 

10.1 Connecting the RDS Encoder to a PC 

 

For configuration and control requirements a PC is connected to the RDS encoder via standard RS-232 interface 
provided by D-SUB9 male connector (DTE) on the RDS encoder side. On the PC side locate an unused COM port. If 
the free port exists in the form of a 25-pin connector, use a standard D-SUB9 (male) to D-SUB25 (female) adapter. 
For USB or Ethernet connection appropriate commercially available adapter will apply. 

 

It’s preferable to use standard crossed serial “lap-link” cable also called as “null-modem cable” with two female 
connectors for the connection. Following table represents the full connection diagram. In most cases (no flow control) 
the three highlighted wires are enough for the connection. 

 

RDS Encoder 

PC 

2 (RxD) 

3 (TxD) 

3 (TxD) 

2 (RxD) 

4 (DTR) 

6 (DSR) 

5 (GND) 

5 (GND) 

6 (DSR) 

4 (DTR) 

7 (RTS) 

8 (CTS) 

8 (CTS) 

7 (RTS) 

 

 

10.2 Working with a Terminal Application 

 

On the PC, run an application or program emulating or possessing an ASCII terminal. For example Windows 
HyperTerminal presents all the characteristics to easily communicate in ASCII mode with the RDS encoder. If you 
desire a higher level interface, user-friendly applications are available. The RDS-C basic control is also 
implemented in familiar broadcast automation systems. Please refer to the web site for more information. 

 

If you wish to continue with the terminal application, configure the communication parameters as follows: 

 

Transmission speed 

2400 bps (default, see note) 

Data bits 

Parity 

None 

Stop bits 

Flow control 

None 

Parity checking 

No 

Carrier detection 

No 

 

Note: Generally any speed of 1200, 2400, 4800, 9600 or 19200 bps is possible if previously set and stored in the 
RDS encoder EEPROM memory. 

 

Once configured, the terminal can be used. To check if the hardware and logic configuration work as planned, type 
for example 

HELP

 and press <Enter> to display the list of all commands. If no or unknown characters are displayed 

on the screen, try again a second time, otherwise, check the following points: 

 

RDS encoder turned on? 

 

Cable used (does the LED1 indicate incoming characters?) 

 

Configuration of the terminal application 

 

To display the commands entered at the keyboard on the screen, type the command 

ECHO=1

 followed by <Enter>. 

If all characters written are displayed twice, type 

ECHO=0

 and press <Enter>. 

 

To store this parameter into EEPROM memory, type 

*ECHO

 and press <Enter>. 

To display actual parameter value, type 

ECHO

 and press <Enter>. 

 

Now you made first steps with the RDS encoder command interpreter. Take a note that entirely all functions and 
settings of this RDS encoder can be controlled via the terminal making this device fully independent on the operating 
system or computing platform. 

Summary of Contents for RDS-C

Page 1: ... SCE n c o d e r T e c h n i c a l Ma n u a l V e r s i o n1 5 c S o f t w a r eD o w n l o a dh e r e h t t p a f mu s e r c o m u p L o a d p r o d u c t mo n t h _ 1 5 0 7 2 0 1 5 0 7 0 2 1 1 2 1 5 4 s o f t w a r e o f F MU S E R R D S C e n c o d e r r a r ...

Page 2: ... 2 Working with a Terminal Application 18 10 3 Command Interpreter 19 10 4 Additional Information 20 11 List of Commands 22 11 1 Command Summary 22 11 2 Basic Commands 24 11 3 EON Commands 29 11 4 Messages Commands 30 11 5 Scheduling Commands 31 11 6 System Commands 32 11 7 Advanced Commands 35 11 8 Memory Organization 40 11 9 Dynamic PS 1 and Dynamic PS 2 Summary 40 12 Further Features 41 12 1 By...

Page 3: ...ontrol of up to 255 units in a network Bypass relay high reliability External TA and Program switch Switchable MPX loopthrough mode Internal real time clock incl backup battery showing real time also as PS No special 19 kHz input needed pilot tone carefully recovered from MPX signal Digital 57 kHz phase locked loop rock stable RDS subcarrier in all cases CE conformance notice This device complies ...

Page 4: ...s directly supported PI PS PTY TP AF TA DI M S PIN RT RT TMC EON PTYN ECC LIC TDC IH CT ODA RDS signal Subcarrier frequency 57 kHz Sampling rate 361 kHz Bandwidth 2 4 kHz 50 dBc Output level adjust default 0 1 4 V p p Phase shift adjust stereo Full range in 9 5 deg steps transmission Audio MPX Pilot input Recommended load impedance mono 10 kΩ stereo MPX 2 kΩ Recommended MPX voltage JP1 1 2 1 3 3 3...

Page 5: ...NTERNATIONAL GROUP INC 广州市汉婷生物技术开发有限公司 5 3 Block Diagram Input JP2 Output Relay TR1 A 19 kHz D pilot recovery CPU EEPROM memory TR2 Enh bus RS 232 interface RS 232 TA PRG LED1 LED2 D A 1 3 Power 5 V supply JP1 ...

Page 6: ...6 Connected to pin 4 7 Connected to pin 8 8 Connected to pin 7 9 Not used J1 Power supply BT1 Lithium battery 3 V for real time backup Estimated endurance is 10 years Replace by CR2032 type 4 3 Adjustable Elements R56 Output MPX signal level adjust R12 Output RDS signal level adjust R4 19 kHz free running oscillator adjust section 5 4 3 4 4 LED Indicators D1 Poewr LED D2 TA LED D3 Pilot tone indic...

Page 7: ...nal TA EON1TA switch 6 Screen display 7 RS 232 Interface 9pin D SUB male DTE connector 10 Not used 5 V 11 Receive Data RDS encoder 12 Transmit Data RDS encoder 13 Connected to pin 6 14 Ground 15 Connected to pin 4 16 Connected to pin 8 17 Connected to pin 7 Rear Panel Illustration 1 AC 110V 230V Power Input 2 FUSE 3 Power Switch 4 RDS OUT 5 MPX RDS OUT 6 Pilot or MPX Input ...

Page 8: ...s used If stereo encoder is used one of its outputs MPX or pilot tone must be fed into the RDS encoder input to meet the synchronization requirement Following figures show various situations and corresponding methods of connection Separate stereo encoder default connection Stereo encoder with only one MPX output provided RDS SCA input MPX output FM transmitter with only one MPX input provided ...

Page 9: ...njection in the case that the FM transmitter has only one input connector 5 2 Jumper Settings 5 2 1 JP1 Analogue part power supply The jumper position depends on characteristics of the signal that is fed in the RDS encoder input Do not change the jumper position if the unit is powered Disconnect the power supply first RDS Encoder Input Conditions JP1 position Not used 1 2 Pilot tone 1 2 MPX signal...

Page 10: ...ed a little to meet the total deviation limit The deviation range of the FM carrier caused by RDS RBDS is 1 0 to 7 5 kHz The deviation range of the FM carrier caused by stereo pilot tone is 6 0 to 7 5 kHz The overall peak frequency deviation shall not exceed 75 kHz 5 4 2 Phase adjustment for stereo transmission The phase adjustment is made using the Windows control software or using the PHASE comm...

Page 11: ... GR MA IE MD 9 AL DK LI LB SI 2 DZ CY CZ TR EE A AT GI IS 3 AD SM PL MK B HU IQ MC HR 4 IL CH VA C MT GB LT 5 IT JO SK D DE LY YU 6 BE FI SY UA E RO ES SE 7 RU LU TN NL F E G FR NO BY BA The second character identifies program type in terms of area coverage 0 Local Local program transmitted via a single transmitter only during the whole transmitting time 1 International The same program is also tr...

Page 12: ... during traffic announcements The flag shall be taken into account during automatic search tuning 5 5 5 MS Music Speech This is a two state signal to provide information on whether music or speech is being broadcast The signal would permit receivers to be equipped with two separate volume controls one for music and one for speech so that the listener could adjust the balance between them to suit h...

Page 13: ...ick Store 6 The status bar at the bottom of the window shows whether the data was sent successfully If Communication Error is shown check the connection to the RDS encoder its power supply and that the correct COM port is selected in the Preferences dialogue box 7 Follow the instructions in the application Help Magic RDS 3 default Windows control software Download the Software here http a fmuser c...

Page 14: ...ffers advanced implementation of the Dynamic PS service Basic text message length is up to 255 characters mode independent Two varieties of the Dynamic PS are present Dynamic PS 1 DPS1 and Dynamic PS 2 DPS2 Both varieties are configurable independently from each other Basic configurable parameters are Text content text source Display mode Label period or scrolling speed Number of transmissions Exa...

Page 15: ...nts but none are being 1 0 broadcast at present and may also carry EON information about other traffic announcements 1 1 A traffic announcement is being broadcast on this program at present Station which uses the code TP 0 TA 1 must refer to at least one program service which carries traffic information and has the flag TP 1 When a particular program service begins a traffic announcement the stati...

Page 16: ...y to Friday at midday The news duration is 40 minutes During the news the PS is set to HOT NEWS and the PTY is set to 1 News In common program the PTY is set to 3 Info Scheduling item 01 Days Monday Tuesday Wednesday Thursday Friday Times 12 00 PTY 1 News Command PS HOT NEWS Scheduling item 02 Days Monday Tuesday Wednesday Thursday Friday Times 12 40 PTY 3 Info Command PS PRO 88 8 1 3 Text message...

Page 17: ...p individual text features enable settings etc using the Windows control software or terminal application and command line Store all setting into EEPROM Exit the Windows control software or the terminal 3 Find out the baudrate speed that is used by the broadcast automation system for communicating with the RDS encoder If this parameter is not clear from the documentation and no baudrate control is...

Page 18: ...add the RT1 or DPS1 prefix typically satellite streamed text feeds For this case the RDS encoder provides special no header communication option enabling direct connection When this option is active any text incoming through the serial interface including any control commands and followed by Enter will be automatically parsed and will appear as Radiotext 1 Dynamic PS 1 or both Control of other RDS...

Page 19: ...lso implemented in familiar broadcast automation systems Please refer to the web site for more information If you wish to continue with the terminal application configure the communication parameters as follows Transmission speed 2400 bps default see note Data bits 8 Parity None Stop bits 1 Flow control None Parity checking No Carrier detection No Note Generally any speed of 1200 2400 4800 9600 or...

Page 20: ...Memory store command with argument ex MSG01 Assigns the value to the parameter and stores it immediately into the non volatile EEPROM memory Not all methods are available for all commands see Command Summary section Depending on the command processing success several characters followed by two pairs of carriage return and line feed characters can be returned by the RDS encoder Command processed su...

Page 21: ...edback from the unit Unsuitable for higher user data rates Bidirectional Reliable remote control both channels are used recommended mode High user data rates possible due to real command sync Backward channel may be hard to realize in some cases 10 4 2 Command synchronization Unidirectional communication If sending more commands in sequence the execution times must be taken into consideration In o...

Page 22: ...time Legend TX data sent to the RDS encoder RX data read from the RDS encoder CR char 13 LF char 10 10 4 3 Useful notes ASCII char 9 TAB is converted to char 32 space In addition to the Enter char 13 CR used for command validating character 26 EOF can be used This allows to insert the validating character on platforms where char 13 CR is not accepted The command interpreter ignores other character...

Page 23: ... Enable RT1 RT1 RT1 Radiotext 1 RT1EN RT1EN RT1EN RT1 Enable RT2 RT2 RT2 Radiotext 2 RT2EN RT2EN RT2EN RT2 Enable RTPER RTPER RTPER Radiotext Switching Period RTTYPE RTTYPE RTTYPE Radiotext Type RSTDPS RSTDPS RSTDPS Restart Dynamic PS SCRLSPD SCRLSPD SCRLSPD Scrolling PS Speed SPSPER SPSPER SPSPER Static PS Period TA TA TA Traffic Announcement TATMOUT TATMOUT TATMOUT TA Timeout TP TP TP Traffic Pr...

Page 24: ...Local Time Offset MJD MJD MDJ Modified Julian Day PHASE PHASE PHASE RDS Signal Phase PILOT Pilot Tone Present RDSGEN RDSGEN RDSGEN RDS Generator RESET Reset SEL Select Unit SPEED SPEED SPEED COM Port Speed STATUS RDS Encoder Status TIME TIME TIME Time VER Firmware Version Advanced CC CC Conditional Command ECC ECC ECC Extended Country Code ECCEN ECCEN ECCEN ECC and LIC Enable G Group GRPSEQ GRPSEQ...

Page 25: ...ding on pilot tone presence DPS1 Dynamic PS 1 Up to 255 characters long text message to be displayed on receiver instead of static PS name Primarily used for song titles streaming etc DPS1 Hello World Sets the DPS1 text DPS1 Clears the DPS1 DPS1ENQ Dynamic PS 1 Enqueue Advanced version of the DPS1 command Places the text to a one level deep queue New text will not be displayed on the receiver unti...

Page 26: ...cleared Default text means the RT1 text that is stored in EEPROM memory using RT1 1 254 Timeout in minutes 0 Function disabled DTTMOUT 10 EQTEXT1 Equal Text 1 0 1 If set to 1 any update of RT1 updates also DPS1 and vice versa Does not apply to UECP control EQTEXT1 1 DPS1 Hello World RT1 LABPER Label Period 0 255 Label Period used in DPS Mode 0 and 2 Increasing the value by 1 increases the period b...

Page 27: ...Information 18 Foreign Language 3 Sports 19 Religious Music 4 Talk 20 Religious Talk 5 Rock 21 Personality 6 Classic Rock 22 Public 7 Adult Hits 23 Leisure 8 Soft Rock 24 College 9 Top 40 25 unassigned 10 Country 26 unassigned 11 Oldies 27 unassigned 12 Soft 28 unassigned 13 Nostalgia 29 Weather 14 Jazz 30 Emergency Test 15 Classical 31 Emergency PTY 10 Sets the Pop Music Program Type EU PTYN Prog...

Page 28: ...change in the A B flag then the received text segments or characters are written into the existing displayed message Some receivers have two memory spaces for the Radiotext one for type A and one for type B Then they display both messages consecutively in the loop RTTYPE 2 RSTDPS Restart Dynamic PS 0 1 1 When the Dynamic PS text is changed and no Dynamic PS is running it will start immediately 0 T...

Page 29: ...ly switch on the TA identification during traffic announcements The signal shall be taken into account during automatic search tuning Note In some cases the RDS encoder drives the TP and TA flags automatically mainly if EON feature is enabled This ensures that these flags are set correctly under all conditions TP 1 TPS Traffic PS Static text displayed on receiver during traffic announcements Max 8...

Page 30: ...ntains four hexadecimal digits EON1PI 24F1 EONxPIN EON x Program Item Number The code in DD HH MM format should enable receivers and recorders designed to make use of this feature to respond to the particular program item s that the user has preselected EON1PIN 12 16 40 EONxPS EON x Program Service name Program Service name of the Other Network EON1PIN 12 16 40 EONxPTY EON x Program Type number 0 ...

Page 31: ...present in the memory and its destination MSGLIST DPS2MSG Dynamic PS 2 Message Number 0 99 AUTO 0 Default DPS2 text specified by DPS2 command or last DPS2MSG command is selected 1 99 The message of the number is selected for the DPS2 AUTO Messages are selected automatically in ascending order Only messages chosen by the MSGxxD command are selected DPS2MSG AUTO RT2MSG Radiotext 2 Message Number 0 9...

Page 32: ...rs disables the command for the item 04 SxxD Scheduling Item Days 1 7 Specifies the days for which the item is valid Monday 1 S03D 12367 SxxP Scheduling Item PTY 0 31 Allows including optional Program Type information so that the Command may be used for another RDS service change S03P 15 Sets the PTY to 15 Other M S04P Clears disables the PTY option for the item 04 SxxT Scheduling Item Times Speci...

Page 33: ...800 bps 3 9600 bps 4 19200 bps This command has the same effect as SPEED but the format of input is different COMSPD 1 CT Clock Time and Date 0 1 Enables 1 or disables 0 time and date transmission in CT format CT 1 DATE Date Specifies the actual date in DD MM YY format The time value stored into EEPROM memory is used on next power up if no battery backup circuit is connected to the IIC bus DATE 30...

Page 34: ...ent 1 or not 0 PILOT RDSGEN RDS Generator 0 1 Disables 0 or enables 1 the RDS subcarrier generator Does not affect any other functions RDSGEN 0 RESET Reset Provokes a hardware reset of the RDS encoder and is equivalent to an off on cycle of the RDS encoder RESET SEL Select Unit 0 255 ALL Selects unit s with specified address Unit addresses 0 and 255 are equivalent Only selected units accept other ...

Page 35: ...me effect as COMSPD but the format of input is different SPEED 2400 STATUS RDS Encoder Status Shows the most important operating values of the RDS encoder You may also type STATUS TIME Time 00 00 23 59 00 00 00 23 59 59 Specifies the actual time in HH MM format sets the second counter to 00 or in HH MM SS format The time value specified is a local time valid in the area of coverage The time value ...

Page 36: ...2 characters 28 Message counter RT2 29 Message counter DPS2 34 number of DPS1 characters 68 timer 0 8A reset every minute 6A one of the status bytes bit 02 DPS2 is running bit 03 DPS1 is running bit 06 external program switch 71 Dynamic PS counter points to the character that is actually transmitted on the first PS position 76 static PS counter 0 SPSPER 78 DPS number of repeats counter 8B Group Se...

Page 37: ... default 20 minutes to 5 minutes If address of the unit is equal to 254 Disables the selection timeout CC 71 20 DPS1MOD 1 Shows first part of DPS1 in mode 1 then switches to mode 2 for CC ELSE DPS1MOD 2 the rest of the text CC Shows actual CC settings CC ELSE Disables the ELSE command CC Completely disables the Conditional Command feature ECC Extended Country Code H 00 FF Uniquely determines the c...

Page 38: ...High transmission rate of UDG2 PTYN and RT is disabled GRPSEQ X The RDS content is fully controlled via UDG1 and possibly G command LIC Language Identification Code H 00 FF Enables a broadcaster to indicate the spoken language he is currently transmitting LIC 00 Unknown not applicable LIC 09 English NOHDR No Header Communication 1 If activated any text incoming through the serial interface and fol...

Page 39: ...ontains RT data automatically set to 1 on next RTP entry 1 Bit set high actual RT1 contains RT data 2 Disable internal RT feature This command is not required for common use since the running bit is set automatically RTPRUN 1 SHORTRT Short Radiotext 0 1 If enabled 1 all new inserted Radiotexts shorter than 60 characters will be followed by Carriage Return and the remaining spaces will be cut Defau...

Page 40: ... to handover texts between most commands or services See the examples below If the last value is empty or not available cleared by launching a Scheduling or CC item nothing will happen This command is not recommended for automated processing PS RADIO 88 Sets the RADIO 88 program service name TPS and uses the same name also for Traffic PS MSG01 Shows the Message 01 text MSG02 and copies it to Messa...

Page 41: ...ty yes in mode 0 yes in mode 0 and 2 and 2 Display modes available 4 4 Text queue available yes no Max text length 255 255 Max queued text length 127 N A Removing redundant spaces from the text end yes in mode 2 no and 3 Allows transmission of Messages no yes Commercials Fixed texts from Typically used for news and the Messages on air texts bank ...

Page 42: ...mple switch or a device with digital output The PROGRAM parameter must be set to 0 to enable this feature The program input is level controlled the switch shut off or logical 1 selects the Program 1 the switch closure or logical 0 selects the Program 2 Alternatively the switch input can be used for selecting a text message or for control of other RDS service or setting For more details see chapter...

Page 43: ...t For address 0 and 255 the unit is selected for an unlimited time If a unit is selected other units are unselected immediately Unselected units listen on the port for selection of their address Other commands are ignored The addressing feature is controlled by ADR and SEL commands or simply by Windows control software Note If only one unit is connected to the port and has address 0 or 255 default...

Page 44: ...oder address and Site address using the commands ADR and SITE or using the Windows control software 3 Find out and set the right baudrate speed 4 The UECP support is disabled by default Type UECP 1 or use the Windows control software to turn on the UECP support 13 1 2 General UECP frame format Note Read more information about the UECP in the document SPB 490 Universal Encoder Communication Protoco...

Page 45: ...s 3 group long gap between two different TMC groups in the data transmitted 6 Timeout and buffer configuration ignored Always inserts one group through the FIFO buffer 7 Priority mode and buffer configuration ignored Always inserts one group through the FIFO buffer 8 Other MEC s are ignored incl all possible Message elements that may follow within the same Message field Due to mistake in the UECP ...

Page 46: ...roups using the commands UDG1 or UDG2 for example UDG1 30100646CD46 30104080CD46 UDG1 In this case make sure the UDG groups are included in the Group sequence symbols X or Y 3 Decide for the communication baudrate Configure the RDS encoder and TMC data provider baudrate 4 Configure the Site and Address values 13 2 3 Application example This application example shows TMC data and ODA AID informatio...

Page 47: ...4a or later is recommended The firmware upgrade utility is free for download from the website The bidirectional communication flowcharts apply to all firmware versions Send command basic flowchart unidirectional communication 14 1 2 Bidirectional Communication Confirm sequences definition CS1 Chr 13 Chr 10 Chr 13 Chr 10 Chr 13 Chr 10 CS2 Chr 13 Chr 10 Chr 13 Chr 10 Chr 13 Chr 10 CS3 Chr 13 Chr 10 ...

Page 48: ...FMUSER INTERNATIONAL GROUP INC 广州市汉婷生物技术开发有限公司 47 Send command flowchart bidirectional communication ...

Page 49: ...FMUSER INTERNATIONAL GROUP INC 广州市汉婷生物技术开发有限公司 48 Read value flowchart ...

Page 50: ...s ample flexibility to interleave the various kinds of message to suit the needs of the users at any given time The first four bits of the second block of every group are allocated to a four bit code which specifies the application of the group group type Groups are referred to as types 0 to 15 For each type 0 to 15 two versions can be defined The version is specified by the fifth bit of block 2 0...

Page 51: ...decimal representation 30BBCCCCDDDD where BB CCCC and DDDD represent the contents of the block 2 bits 4 to 0 block 3 and block 4 These groups are used to identify the Open Data Application in use on an RDS transmission The type 3A group conveys to a receiver information about which Open Data Applications are carried on a particular transmission AID Code and in which groups they will be found Appli...

Page 52: ...TN N A set as zeros AID code is 4BD7 for the RT service Blocks 2 to 4 in binary representation 0011 0000 0001 0110 0000 0000 0000 0000 0100 1011 1101 0111 Blocks 2 to 4 in hexadecimal representation 3016 0000 4BD7 Group 11A Let s assume following variable values AGT group type 11 version A 0 ITG 0 IRB 1 RTCT1 1 Title SM1 9 10th RT character LM1 16 17 characters long RTCT2 4 Artist SM2 0 first RT c...

Page 53: ...at data 9 2 4 No header communication is active are received Enable Bidirectional and 10 2 Try after disabling the 11 6 Autodetect port speed options Try on each baudrate 11 7 Options Preferences bidirectional mode in SEL ALL 12 2 Options Special Assign unit Preferences and clicking on ESC ESC ESC Enter any Send button or using address Disable override Hyperterminal and typing a Options Special No...

Reviews: