Application Note I C s f o r C a r R a d i o Outline Specification of High-End RDS/EON Car Radio System CCR520S V2.5 Report No: AN96007 A. Demmers M. Verheijden Product Concept & Application Laboratory Eindhoven, the Netherlands. Keywords Car Radio Radio Data System Radio Broadcast Data System EON CCR520S P83CE528 Clock function Date : February 1996 Pages: 18 i This Outline Specification is valid for CCR520S software release V2.5. Modifications with respect to the application note "Outline Specification of Computer Controlled Car Radio System CCR520S V2.0", report number AN95033 : 1. 2. NVM Initialization added. Clock with synchronisation to RDS added Modifications with respect to the application note "Outline Specification of Computer Controlled Car Radio System CCR520S V1.5", report number ERA/AN93008 : 1. USA option added for RBDS and USA band limits / tuning grid. 2. Allow AF-switching to Supra-regional transmitters for RDS. 3. PTY functionality. 4. During AST running frequency is not displayed anymore. 5. The TA / PTY Alarm volume level is programmable. 6. Improved RDS decoding and AF switching behaviour especially with respect to multipath. 7. Improved EON preset update. Philips Semiconductors Application Note AN96007 ii SUMMARY: CCR520 is a computer controlled high-end AM/FM car radio system with RDS/RBDS decoding. It is based on a single 8051 family microcontroller (P83CE528) and various I2C-bus controlled peripherals. The system contains functions such as PLL tuning, IF control, stereo decoding, RDS/RBDS+EON decoding, IAC, sound switching, sound fader control, LCD display, cassette interface, external audio input jack, clock function and a detachable front. Radio control and RDS/RBDS+EON processing are combined in a single microcontroller. "The purchase of Philips’ complete set of Integrated Circuits as specified in this Outline Specification for manufacture of a radio system conforming the relevant specification as herein given, secures immunity from suit on unauthorized use of those Philips’ patent rights, which specifically relate to automatic broadcast station storage (AST) and/or radio data system (RDS) features." Purchase of Philips' I²C components conveys a license under the Philips' I²C patent to use the components in the I²C-system provided the system conforms to the I²C specifications defined by Philips. (C) Philips Export B.V. All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any licence under patent- or other industrial or intellectual property rights. Philips Semiconductors Application Note AN96007 iii TABLE OF CONTENTS: page 1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 BASIC HARDWARE CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 SHORT SPECIFICATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 4 TARGET CHARACTERISTICS OF THE RADIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5 MICROCONTROLLER AND PIN ASSIGNMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 6 KEYBOARD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 7 OPTION DIODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 8 LCD DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 LIST OF FIGURES Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure 1 Block diagram of CCR520 with fixed keyboard . . . . 2 Block diagram of CCR520 with detachable keyboard 3 Dummy aerial to test the FM mode . . . . . . . . . . . . 4 Dummy aerial to test the AM mode . . . . . . . . . . . . 5 Pinning of CCR520S for fixed front . . . . . . . . . . . . 6 Keyboard configuration for fixed front . . . . . . . . . . . 7 Pinning of CCR520S for detachable front . . . . . . . . 8 Keyboard configuration for detachable front . . . . . . 9 Location of option diodes . . . . . . . . . . . . . . . . . . . 10 Liquid Crystal Display (LCD) layout . . . . . . . . . . . Philips Semiconductors Application Note .. . .. .. .. .. .. .. .. .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 12 13 14 14 15 15 18 18 AN96007 1 1 INTRODUCTION CCR520S is a computer controlled system based on a P83CE528 microcontroller. It controls a high-end AM/FM car radio with RDS (Radio Data System) or RBDS (Radio Broadcast Data System) and EON (Enhanced Other Networks information) and various I2C-bus controlled peripherals. The - - - - main features are: Radio control and RDS/RBDS decoding in a single microcontroller. Bands: FM, MW, LW. (Factory selectable FM only / LW disable) Tuning: manual, automatic (search and scan), Automatic Store Tuning (AST), selectable tuning grid and band limits for different parts of the world (Europe/USA option). Presets: 18 FM, 12 MW, 6 LW. External audio jack for e.g. CD player. Controls power stabilizer IC. PLL frequency synthesizer. Sound control: volume, bass, treble, balance, fader, loudness and mute via I2C-bus or potentiometers. RDS/RBDS functions: PS Programme Service name display and storage in Non Volatile Memory; PTY Programme TYpe display and searching; TP/TA Traffic Announcements break-in; AF/PI Alternative Frequency follow and storage in Non Volatile Memory; EON Enhanced Other Networks traffic announcements and update of preset AF lists in NVM. TIME Time information extraction for clock function. Security code: - enable/disable by the user; - preprogrammable in the factory by means of a service mode. Non Volatile Memory for: programme presets; RDS/RBDS information; System status. LCD display with 120 or 144 segments. Keyboard optionally detachable with up to 27 key functions. Clock function NOTE: RBDS is an extension of the European RDS system. Every reference in this document to RDS is also valid for the RBDS system, unless specified otherwise. Philips Semiconductors Application Note AN96007 2 2 BASIC HARDWARE CONFIGURATION The basic configuration of the computer controlled car radio system CCR520 is given in the figures below. External audio input Cassette audio input DIFFERENTIAL LINE AMP. TDA8579 FM / AM L FM FR O N T EN D TD A1 57 4 F osc IF SYSTEM TEA6100 Vtun T DA 15 52 Q or T DA 15 54 Q RDS D E MO D . SAA6579 EE PR O M PCF8582 PCF8594 RDSCLK RDSDAT F osc AM I F 10 . 7 M Hz A M T U NE R T EA 6 20 0 R POWER AMP IIC -BU S 40 k Hz PLL SYNTHESIZER TS A60 57 Vtun IAC & STEREO DEC. TDA 1591 AF CONTRO L TEA6330T OR TDA1526 V O L T AG E STABI LIZER TD A3 60 2 LCD DRIVER PCF85 76 or 2 X PC F8566 MICRO CONTRO LLER CCR520S ( P83CE528) EXTERNAL JACK CASSETTE INTERFACE LCD DISPLAY Figure 1 Block diagram of CCR520 with fixed keyboard Philips Semiconductors Application Note AN96007 3 External audio input Cassette audio input D IF F ER EN T IA L L IN E A MP . TDA8579 FM / AM L FM FR O NT E ND TD A15 74 F osc IAC & STEREO DEC. TDA 1591 IF SYSTEM TEA6100 Vtun RDS DEMOD. SAA6579 A M TU N E R T EA 6 20 0 T DA 1 5 52 Q or T DA 1 5 54 Q E EP RO M PCF8582 PCF8594 RDSCLK RDSDAT F osc AM I F 10 . 7 M Hz R POWER AMP IIC - BU S 40 k Hz PLL SYNTHESIZER TS A60 57 Vtun AF CO NTRO L TEA6330T OR TDA1526 V O L T AG E STABI LIZER TD A3 60 2 MICRO CONTRO LLER CCR520S ( P83CE528) IIC - BU S D E T A CH A B L E KEYBOARD SCAN NER P C F8 5 7 4 CASSETTE INTERFACE E X T ER N A L JACK LCD DRIVER PCF8576 or 2 X PCF8566 LC D DISPLAY Figure 2 Block diagram of CCR520 with detachable keyboard Philips Semiconductors Application Note AN96007 4 The CCR520 concept requires the next IC’s to be present in the system: - TDA1574(T) Performs all the FM front-end functions, except the R.F. pre-amplifier stage. Incorporates an FM/IF pre-amplifier. - TEA6200 AM tuner, up-conversion system. Does not need an aerial tuned circuit. I.F. frequency 10.7 MHz. No alignments needed. - TEA6100 Integrated FM/IF system including a digital AM/FM tuning interface for microcomputer controlled radios with an I2C-bus. - TSA6057(T) PLL synthesizer with separate prescalers for AM and FM and loop filter outputs. I2C-bus controlled. - TDA1591(T) System combination of adjustment free PLL stereo decoder with de-emphasis control and an Interference Absorption Circuit (IAC) with low component count. Specially designed for car radios. - TEA6330T or - TDA1526 I2C-bus (TEA6330) or potentiometer (TDA1526) controlled AF pre-amplifier for car and home receivers. Includes volume, bass, treble, balance, fader (TEA6330) control and mute (TEA6330). - CCR520S The microcontroller, based on a P83CE528EFB. It is a 8051 derivative with an 8-bit CPU, 32 Kbytes ROM, 512 bytes RAM and four 8-bits I/O ports in a 44pin QFP package. - TDA3602 Supply voltage stabilizer in SIL package with three output voltages (2 x 5V and 8.5V). Two outputs are switchable by external controls. - TDA1552Q Class-B audio power amplifiers in SIL plastic package with 4 identical amplifiers. The TDA1552Q can deliver 2 x 22 W in BTL configuration, the TDA1554Q can deliver either 4 x 11 W or 2 X 22 W. TDA1554Q - SAA6579(T) RDS demodulator with onboard 57 kHz bandpass filter and a digital demodulator. Outputs a digital data signal and a clock signal for further processing. - PCF8566T PCF8576T LCD display drivers that interface to almost any liquid crystal display (LCD) having low multiplex rates. They generate the drive signals for any static or multiplexed LCD with up to four backplanes and up to 24 (PCF8566) or 40 (PCF8676) segment lines and can easily be cascaded for larger LCD applications. I2C-bus controlled. - PCF8582/94E-2P/T 256/512 byte 5V electrically erasable programmable read only memories (EEPROM) that can be 100,000 times re-written. - PCF8574(T) Detachable Keyboard Scanner. I2C-bus controlled. - TDA8579(T) Differential Line Amplifier for external input. Philips Semiconductors Application Note AN96007 5 3 SHORT SPECIFICATION Tuning: - Frequency bands: Optionally the following frequency bands are used: FM: 87.50 MW: 531 LW: 144 - 108.00 MHz (50 / 100 kHz steps) - 1629 kHz (1 / 9 kHz steps) - 288 kHz (1 kHz steps) } } For application in Europe } FM: 87.90 AM: 530 - 107.90 MHz (100 / 200 kHz steps) - 1710 kHz (1 / 10 kHz steps) } For application in USA } - PLL tuning principle. - Manual tuning up / down. Initially slow pace / fine grid. After 2.5 sec. fast pace / coarse grid. - Local/DX switch. The local/DX feature controls the search sensitivity. If the FM tuner has a tuner attenuator, the local/DX switch controls the attenuator during search. If not, it controls the signal level threshold during search. Default after switching on is always DX mode. - Automatic search tuning up / down. Sensitivity is controlled by local/DX. If after one complete band sweep in local mode no station is found, the radio switches automatically to DX. Automatic muting and display of running frequency. - Frequency scan. Continuous automatic search tuning, pausing for 6 seconds on every station. - AST (Automatic Store Tuning) for FM and MW band. AST switches to FM-AST or MW-AST band, searches for the 6 strongest transmitters and stores them in the AST programme preset memory. In FM, duplication of PI codes will be avoided. - Programme preset memory. For each band (FM1, FM2, MW, LW, FM-AST and MW-AST) 6 programme presets and a "manual" frequency are stored. In FM, additional RDS information is stored: PI code (Programme Identification), PS-name (Programme Service), AF list (Alternative Frequencies) and AF follow mode on/off. Whenever another band is selected, the radio reverts to the last frequency tuned to in the new band. (This can be either a preset frequency or a manually tuned frequency). - Programme preset up / down control. Programme presets can be recalled/stored by two key control (up and down) or by 6 separate preset keys. Philips Semiconductors Application Note AN96007 6 - AF follow mode. If AF follow mode is on, the set will regularly measure the signal strength on alternative frequencies and compare it with the current station. If an alternative frequency offers better quality, the radio will switch over, and update the alternative frequency list. The measuring scheme is designed to cause minimum noticeable disturbance for the listener. The interval time between two measurements depends on the signal quality. - Intelligent preset programme recall. If an FM programme preset with a known PI code is recalled, the primary frequency and all alternative frequencies stored in NVM are examined. The frequency with the highest signal strength that broadcasts the correct PI code will be selected. Only when the programme is not found on one of the AFs, a search is started after 6 seconds for a station with the proper PI code. - TA mode. In TA mode the radio only searches for traffic stations. These are stations that may transmit (EON) traffic announcements. The radio will automatically start a search when switching TA mode on and the current station is not a traffic station. - PTY search mode. In PTY search mode the radio only searches for transmitters that transmit a user-selected PTY code. Dependent on the factory option USA/Europe the RBDS PTY-table or the RDS PTY-table is used. - Last status memory: frequency, PI code, PS Name, AF lists and AF follow mode on/off status are stored in memory for each preset in each band. This status is recalled during preset switch, band switch and switch on. RDS: - Bit, block and group synchronisation (inclusive RBDS E-block detection). - Data decoding and collection of: - PI, Programme Identification code; - AF, Alternative Frequencies; - TP, Traffic Programme; - TA, Traffic Announcement; - PS, Programme Service name; - PTY, Programme TYpe; - EON, Enhanced Other Networks information; - TIME, Time information. - AF follow mode using PI and AF (see also Tuning). - Display of the Programme Service name in 8 alpha-numeric characters (PS name). - Display of AF, TP, TA, PTY and regional mode status. Philips Semiconductors Application Note AN96007 7 - Regional mode on/off switching. When regional mode is on, the radio will, during AF switching, only switch over to stations with exactly the same PI-code or Supra-regional code. When regional mode is off, the radio will also switch over to stations broadcasting regional variants of the original PI-code. (so called "generic" or "family" PI-codes). For USA application (RBDS) the regional function will only work for PI codes above B000hex. PI codes below B000hex don’t have regional variants. (AF-switching is only allowed to stations with exactly the same PI code). - Break-in of traffic announcements and PTY alarm messages when the radio is muted or in Cassette / External mode. EON: - Temporally switch to an other station if EON information indicates a traffic announcement on that other station even when the radio is muted or in Cassette / External mode. - Update lists of alternative frequencies of other stations stored in preset memory with information received via EON. Detachable front: - Optionally, the keyboard and the LCD display unit can be placed on a detachable front, controlled by a 2nd I2C bus. Only 5 contacts are required to connect the detachable front (6 if it hosts also the power key). No extra hardware is required to detect its presence. Control: Clock Display: - Up to 27 local control keys on either a fixed, a detachable keyboard or a combination. : - A twenty four hour clock can be displayed if RDS time information has been received. - 120 Segment LCD or 144 Segment LCD with Umlaut (ü) and Accent (á) characters, 1:3 multiplexed. - 8 Alphanumeric characters + decimal point are used for display of: - Band and frequency (Example: "FM 103.50") - Indication "BALANCE", "FADER", "TREBLE", "BASS" and their position (either analog bar or digital) - The security code being entered - RDS programme service name (PS) in 8 alphanumeric characters - RDS programme type (PTY) - "MUTE", in case the user mutes the radio, cassette or external - Cassette mode function such as "PLAY ->", "CAS WIND", etc. - Clock display can be: " 08.12" or " --.--" if not yet synchronised to RDS clock. - 7 Segment display for the current programme preset number. Philips Semiconductors Application Note AN96007 8 - 8 Icons for display of: - STEREO On when stereo pilot signal is detected, off when forced mono is selected or no stereo pilot signal is detected. - AST On when AST band selected. - AF On when AF follow mode is enabled (see also Tuning). Flashes if no RDS data received. - TA On in TA mode and flashing during a traffic announcement in progress. - TP On when a traffic station is received, flashing when the station is not a traffic station and TA mode is on. - PTY On when PTY code received, flashing during PTY search. - DOLBY On in cassette mode when dolby selected. - ME/CR On in cassette mode when ME/CR selected. Non Volatile Memory: Either 256 or 512 bytes. The amount of memory determines the maximum number of alternative frequencies to be stored per preset (5/9 AF’s for 256/512 bytes EEPROM). The next information is stored in NVM: - Checksum to verify whether an EEPROM has been initialized or not. If a not initialized EEPROM has been detected default values will be stored to insure reasonable settings for e.g. the audio control values. - System status e.g.: band, audio source (radio / cassette / external). - User programmable options. - For each band (FM1, FM2, FM-AST, MW1, MW-AST, LW): six preset frequencies and one non-preset frequency, last used preset. - For - each stored FM frequency: PI-code PS Name (512 byte EEPROM only) AF List (9 AF’s maximum, 5 AF’s for 256 byte EEPROM) AF follow mode on/off. - Audio controls: volume, bass, treble, fader, balance and loudness. - Four digit security code (0000 - 9999). - Security code can be preprogrammed with the keyboard by means of a service mode, or a preprogrammed EEPROM has to be used. - Security code can not be changed by the user. The security code can be enabled or disabled by the user; enable/disable status is stored in NVM. - If enabled, the security code must be entered each time the main supply line has been interrupted or the radio has been removed from the retrack. Philips Semiconductors Application Note AN96007 9 External audio input: - Automatically switches to external audio source when a connector is inserted. - External/radio mode key. - Optional source switching to cassette mode (cassette is in) or always to radio mode (option diode D6 is in) when the external plug is removed. Sound: - Volume, balance, fader, treble and bass control with vol-up/down keys. - Analog control select key to cycle through balance, fader, treble and bass. - Mute key - Automatic muting during tuning and AST search (silent tuning). - Break-in of traffic announcements (in TA mode) and PTY-alarm messages when the radio is muted or in cassette / external mode. The volume level during a TA / PTY message can be installed to one of 5 fixed by means of the user programmable options. - Loudness switching. - Sound settings are stored at switch-off and recalled at switch-on. - "Bleep" tone to confirm user actions such as storing a programme preset, entering AST mode, etc. - Mono / stereo function. - Output pins for mute, loudness and traffic announcement, for use with conventional audio control circuitry. Power-amplifier: - Conventional power-amplifiers can be used such as two TDA1552Q (4 x 22 Watt), one TDA1554Q (4 x 11 Watt (2 Ω load) or 6 Watt (4 Ω load)) or one TDA1552Q (2 x 22 Watt (4 Ω load)) in a BTL stereo configuration. Options: Diode programmable - Detachable front - No LW band - FM only - No security code - Static on/off switch - Method of source switching - Application area of the radio (USA/Europe) Philips Semiconductors Application Note AN96007 10 User programmable - 2 / 4 Loudspeakers - Loudness on/off - Bar / digital sound control display - TA / PTY Alarm volume level - Security code enable/disable Automatically detected - Digital sound control chip or conventional controls - 120 / 144 segment LCD display - 256 or 512 bytes EEPROM - Loudness - Local/DX FM Tuner Control - AMS ) - Dolby ) Cassette deck functions - ME/CR ) Power connections: - Continuous power supply input. Normally connected directly to the car battery. All supply power is drawn from this input. - Ignition key input. Normally connected to the accessory contact of the ignition switch. Used for switching the radio on/off by the ignition key. This input is also used when the static on/off switch option is chosen instead of the momentary on/off key. In this case the static on/off switch button is connected to the ignition key input. Switching-on/off: - Recall of last system status (e.g.: frequency, band, sound control settings, RDS status and last selected audio source). - Switch on by: - Power key, can be static or momentary. - Ignition contact (after the set was switched off by turning the ignition off). - Switch off by: - Power key, can be static or momentary. - Ignition contact. - Removal of detachable keyboard. - Opening of the security contact. - Wrong security code entered (after 30 to 40 seconds). - When switched on while the ignition contact is (and remains) off, the set will automatically switch off after 60 minutes. - The radio will switch on again when switched off due to a power dip during engine start. Philips Semiconductors Application Note AN96007 11 Cassette: - Automatically switches to cassette mode after insertion of a cassette Interfaces with a mechanically controlled cassette deck Play/wind mode detection Play direction detection for auto-reverse cassette decks Radio reception during wind mode Cassette/Radio mode key Metal/Chromium tape on/off key DOLBY system on/off key AMS (Auto Music Search) on/off key Optional source switching to external mode (cd plug is in) or always to radio mode (option diode D6 is in) when the cassette is ejected. Philips Semiconductors Application Note AN96007 12 4 TARGET CHARACTERISTICS OF THE RADIO General Supply voltage range Quiescent current, 10.2 to -30 87.5 87.9 144 531 530 to to to to to to power off power on Operating ambient temperature FM frequency range Europe USA AM frequency range Europe USA IF-frequency (AM and FM) 16 2 520 75 108 107.9 288 1629 1710 10.7 V mA (typ.) mA (typ.) °C MHz MHz kHz (LW) kHz (MW) kHz (MW) MHz FM characteristics 4.3 12 0 Radio aerial in put (15 0 Oh m) 50 Vsupply = 14.4 V, Tamb = 25 °C, fo = 98 MHz, fdev = 22.5 kHz, fmod = 1 kHz unless otherwise specified. Dummy aerial as shown in Figure 3. Vin 55 Signal generator Figure 3 Dummy aerial to test the FM mode Aerial input voltage (Vin), for -3 dB limiting (fmod = 400 Hz) for (S+N)/N = 26 dB for 10 dB crosstalk (stereo) 10 3 150 µV µV µV Signal-to-noise ratio over most of the signal range RF signal handling capability for THD < 2% at 75kHz dev. 60 > 2 dB V AF output over most of the signal range measured at pin 11 of IF module TEA6100. AM suppression over most of the signal range Total Harmonic Distortion over most of the signal range. 75 kHz dev. 150 > 50 0.5 mV dB % (typ.) Adjacent signal selectivity (two signal method) S200 IF bandwidth 3dB bandwidth IF suppression > 44 160 > 85 dB kHz dB > 20 > 14 > 16 6.4 100 50 100 µV µV µV kHz kHz kHz kHz Search sensitivity RDS sensitivity: IF counter resolution Frequency grid Traffic Announcement PService Name Search Tuning Manual Tuning Philips Semiconductors Application Note Vin Vin Vin Europe USA AN96007 13 AM characteristics 60 Vsupply = 14.4 V, Tamb = 25 °C, fo = 999 kHz, m = 0.3, fmod = 1 kHz unless otherwise specified. Dummy aerial as shown in Figure 4. 15 pF Radio aerial input 50 Vin 50 65 pF Signal generator Figure 4 Dummy aerial to test the AM mode Aerial input voltage (Vin), for (S+N)/N = 26 dB MW LW 45 70 µV µV Signal-to-noise ratio for Vin = 1 mV > 45 dB AGC range Vin/500 mW for 10 dB variation of AF output 90 dB RF signal handling capability for THD < 10 % at m = 0.8 1.4 V Total Harmonic Distortion over most of the AGC range, m = 0.8, fmod = 400 Hz Total bandwidth B 3dB < 2 5 Fidelity ( -3 dB ) 30 Hz - 2 % kHz kHz IF suppression tuned frequency 1400 kHz, Vin = 20 µV 62 dB Image rejection tuned frequency 1400 kHz, Vin = 20 µV 76 dB IF selectivity 36 66 dB dB IF counter resolution 500 Hz Frequency grid, LW (search and manual tuning) MW (search tuning) Europe MW (manual tuning) MW (search tuning) USA MW (manual tuning) 1 9 1 10 1 kHz kHz kHz kHz kHz Search sensitivity S9 S20 Vin Philips Semiconductors Application Note > 45 µV AN96007 14 5 MICROCONTROLLER AND PIN ASSIGNMENTS CCR520S is based on a P83CE528 microcontroller. It is single-chip microcontroller, manufactured in an advanced CMOS process and is a derivative of the 80C51 microcontroller family. P1. 5 P1. 6 P1. 7 RST P3. 0 Vss P 3. 1 P3. 2 P3. 3 P3. 4 P3. 5 P0. 4 P0. 5 P0. 6 P0. 7 EA Vss ALE PSEN P2. 7 P2. 6 P2. 5 CCR520S (P83CE528) P3.6 P3.7 XTAL2 XTAL1 Vss Vdd P2.0 P2.1 P2.2 P2.3 P2.4 1 2 3 4 5 6 7 8 9 10 11 33 32 31 30 29 28 27 26 25 24 23 RM UT E CM UT E TA ON EA Vs s ALE PSEN H OLD KEYB6 KEYB5 RDSDAT EXMUTE XTAL2 XTAL1 Vss Vdd KEYB0 KEYB1 KEYB2 KEYB3 KEYB4 12 13 14 15 16 17 18 19 20 21 22 EXSTAT SCL SDA R ESET C M EC R Vs s PILOT R DSCL K SECUR BLPTST C DO LBY P1.4 P1.3 P1.2 P1.1 P1.0 Vss V dd P0.0 P0.1 P0.2 P 0.3 44 43 42 41 40 39 38 37 36 35 34 CENABL AUMUTE LOUDN LO/DX OPTROW Vss Vdd CPLYWD IGN CINDRV CDIR The pin assignments for CCR520S are given in Figure 5 and Figure 7. Figure 6 and Figure 8 show the keyboard configurations for the fixed and detachable front respectively. Figure 5 Pinning of CCR520S for fixed front 18 P2.0 KEYB0 P1 19 P2.1 KEYB1 P4 / P3 AMS P2 LOCAL/ DX PRE DOWN/ LOUD/ RESET 20 P2.2 KEYB2 P6 / P5 / DOLBY MECR AF/ REG FREQ VOL DOWN DOWN CCR520S 21 P2.3 KEYB3 AUTO/ MAN 22 P2.4 KEYB4 MODE DOLBY 23 P2.5 KEYB5 SEL. DISP. SCAN PRE UP/ STEREO FREQ. UP VOL UP MECR PTY TA AST BAND 24 P2.6 KEYB6 MUTE SELECT POWER Figure 6 Keyboard configuration for fixed front Philips Semiconductors Application Note AN96007 P1. 5 P1. 6 P1. 7 RST P3. 0 Vss P3. 1 P3. 2 P3. 3 P3. 4 P 3. 5 P0. 4 P0. 5 P0. 6 P 0. 7 EA Vss AL E PSEN P2. 7 P2. 6 P 2. 5 CCR520S (P83CE528) P3.6 P3.7 XTAL2 XTAL1 Vss Vdd P2.0 P2.1 P2 .2 P2.3 P2.4 1 2 3 4 5 6 7 8 9 10 11 33 32 31 30 29 28 27 26 25 24 23 RM U TE CM U TE TA ON EA Vs s AL E PSEN H OLD SCL_FRONT SDA_FRONT RDSDAT EXMUTE XTAL2 XTAL1 Vss V dd KEYB0 KEYB1 KEYB2 AMS KEYB4 12 13 14 15 16 17 18 19 20 21 22 EXSTAT SCL SDA RE SE T C M EC R Vs s PILOT R DSCL K SECUR BLPTST C D OL B Y P1.4 P1.3 P1.2 P1.1 P1.0 Vss Vdd P0.0 P0 .1 P0.2 P0.3 44 CENABL 43 AUMUTE 42 LOUDN 41 LO/DX 40 OPTROW 39 Vss 38 Vdd 37 CPLYWD 36 IGN 35 CINDRV 34 CDIR 15 Figure 7 Pinning of CCR520S for detachable front 4 P1 5 P4 / AM S P2 L O CAL / DX PR E D O WN / LOU D/ RESET DO L BY P3 6 P6 / P5 / DO LBY M EC R AF / REG F REQ VO L DOWN DOWN 7 DETACHABLE KEYBOARD AU T O / SCANNER MAN 9 PCF8574 MODE 10 15 SEL . DISP. SCAN PR E U P/ ST E R EO F REQ. U P M EC R PTY TA AS T B AN D 11 MU TE SDA 23 SCL 24 P2.5 SDA_FRONT VOL U P 14 P2.6 SCL_FRONT SEL EC T CCR520S 18 P2.0 KEYB0 SC AN 19 P2.1 KEYB1 F R EQ . LOU D/ DOWN R E SE T 20 P2.2 KEYB2 PT Y TA F REQ . UP 22 P2.4 KEYB4 AF / SEL . REG DI SP. L O CAL / POWER DX Figure 8 Keyboard configuration for detachable front When the detachable keyboard option is chosen it is not necessary to use all the keys in the small fixed keyboard. At least the power key should be mounted when is chosen for the momentary on/off key. (Static on/off switch option disabled) Philips Semiconductors Application Note AN96007 16 The following table gives a short description of all pins. PIN NAME I/O DESCRIPTION 1 2 3 4 5 6+16+28+39 7 8 9 10 11 12 13 14 15 17+38 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 40 41 42 43 44 EXSTAT SCL SDA RESET CMECR Vss PILOT RDSCLK SECUR BLPTST CDOLBY RDSDAT EXMUTE XTAL2 XTAL1 Vdd KEYB0 KEYB1 KEYB2 KEYB3 KEYB4 KEYB5 KEYB6 HOLD /PSEN ALE /EA ON TA CMUTE RMUTE CDIR CINDRV IGN CPLYWD OPTROW LO/DX LOUDN AUMUTE CENABL I I/O I/O I I/O Status of external audio jack I2C Bus Clock line I2C Bus Data line Device reset Cassette ME/CR select GROUND Stereo indication / mono/stereo control RDS Clock from RDS demodulator Security contact Bleep output / Test input (service mode) Cassette dolby select RDS Data from RDS demodulator Mute external audio source Oscillator output Oscillator input + 5 V supply voltage Keyboard matrix line 0 Keyboard matrix line 1 Keyboard matrix line 2 Keyboard matrix line 3 / AMS select Keyboard matric line 4 Keyboard matric line 5 / detach. I2C Data Keyboard matric line 6 / detach. I2C Clock Power supply OK in Program Store Enable (n.c.) Address Latch Enable (n.c.) (disabled) External Access (connect pull-up) Power supply on control Traffic announcement in progress Cassette mute Radio mute Cassette direction (forward/reverse) Cassette In drive Ignition contact status or static on/off switch Cassette play/wind mode Option row output Local / DX control Loudness General audio mute Cassette enable I/O I I I/O I/O I O O I I/O I/O I/O I/O I/O I/O I/O I O O I O O O O I I I I O I/O I/O O O Philips Semiconductors Application Note AN96007 17 6 KEYBOARD The keyboard consists of a 7-line triangular matrix connected to the microcontroller or the I/O expander PCF8574. The following table lists the available keys. NAME DESCRIPTION P1 P2 P3 P 4 / AMS P 5 / ME/CR P 6 / dolby POWER VOL-UP VOL-DOWN SELECT MUTE FREQ-UP FREQ-DOWN AUTO/MANUAL BAND AST AF / REG TA PTY LOUD / RESET MODE LOCAL / DX STEREO PRE-UP / ME/CR PRE-DOWN / dolby SCAN DISPLAY Preset-1 Preset-2 Preset-3 Preset-4 / Auto Music Search on/off (cassette) Preset-5 / Metal/Chromium on/off (cassette) Preset-6 / dolby on/off (cassette) Power on/off (momentary on/off key) Analog sound setting up Analog sound setting down Select analog function for update Mute on/off Manual / search tuning upward Manual / search tuning downward Switch between manual / search tuning Cycle through bands Automatic search tuning band select and programming RDS AF follow mode on/off / regional mode on/off RDS traffic information mode on/off Display current PTY / enter PTY search mode Loudness on/off / Sound settings reset Radio / cassette / external selection (/when pressed long, display clock) Local / DX selection Suppress/enable stereo mode Programme preset up / Metal/Chromium on/off (cassette) Programme preset down / Dolby on/off (cassette) Automatic frequency scan Select display ( Clock display / PTY / frequency / PS name) Philips Semiconductors Application Note AN96007 18 P1.4 P1.3 P1.2 P1.1 P1.0 Vss Vd d P0.0 P0.1 P0.2 P0.3 P1 .5 P1.6 P1 .7 RST P3 .0 Vss P3 .1 P3 .2 P3 .3 P3.4 P3.5 P0 .4 P0.5 P0 .6 P0 .7 EA Vss AL E PS EN P2 .7 P2.6 P2.5 CCR520S (P83CE528) 33 32 31 30 29 28 27 26 25 24 23 D6 D3 RMUTE CMUTE TA D4 D5 D7 D2 KEYB1 EXMUTE D7 1 2 3 4 5 6 7 8 9 BLPTST 1 0 11 Detachable front FM Only No LW band No security Static on/off switch Method of source switching USA Application P3.6 P3.7 XTAL2 XTAL1 Vss Vdd P2.0 P2.1 P2.2 P2.3 P2.4 D1 D2 D3 D4 D5 D6 Description D1 12 13 14 15 16 17 18 19 20 21 22 Diode 44 CENABLE 43 42 41 40 39 38 37 36 35 34 7 OPTION DIODES Figure 9 Location of option diodes 8 LCD DISPLAY The Liquid Crystal Display (LCD) is driven by either one PCF8576 or two PCF8566’s. Figure 10 shows all the segments of the display. To support the RDS programme service name (PS) feature, the display is equipped with 8 alpha numeric characters. With 13 segments per character, display is possible of all required RDS characters (capitals only); with 16 segments per character, umlauts and the accent can be displayed as well. Both displays operate in 1:3 multiplex mode. Digit 1 2 STEREO 3 AST 4 AF 5 TA 6 TP Umlaut display only N O P 8 Characters A F E H I J G K M L B Decimal Point 7 Segment Display 7 Total segments 9 PTY ME/CR Standard Umlaut 104 128 1 1 7 8 7 8 120 144 8 Single Segments C 8 A F B G E C D D Figure 10 Liquid Crystal Display (LCD) layout Philips Semiconductors Application Note AN96007