ICs for Communications ACE Demo Car-Kit SEK 2172 Version 1.0 Tool Description 10.99 DS 1 * SEK 2172 Revision History: Current Version: 10.99 Previous Version: none Page Page (in previous (in current Version) Version) Subjects (major changes since last revision) For questions on technology, delivery and prices please contact the Infineon Technologies Offices in Germany or the Infineon Technologies Companies and Representatives worldwide: see our webpage at http://www.infineon.com. ABM(R), AOP(R), ARCOFI(R), ARCOFI(R)-BA, ARCOFI(R)-SP, DigiTape(R), EPIC(R)-1, EPIC(R)-S, ELIC(R), FALC(R)54, FALC(R)56, FALC(R)-E1, FALC(R)-LH, IDEC(R), IOM(R), IOM(R)-1, IOM(R)-2, IPAT(R)-2, ISAC(R)-P, ISAC(R)-S, ISAC(R)-S TE, ISAC(R)-P TE, ITAC(R), IWE(R), MUSAC(R)-A, OCTAT(R)-P, QUAT(R)-S, SICAT(R), SICOFI(R), SICOFI(R)-2, SICOFI(R)-4, SICOFI(R)-4C, SLICOFI(R) are registered trademarks of Infineon Technologies AG. ACETM, ASMTM, ASPTM, POTSWIRETM, QuadFALCTM, SCOUTTM are trademarks of Infineon Technologies AG. Edition 10.99 Published by Infineon Technologies AG TR, Balanstrae 73, 81541 Munchen (c) Infineon Technologies AG 1999. All Rights Reserved. Attention please! As far as patents or other rights of third parties are concerned, liability is only assumed for components, not for applications, processes and circuits implemented within components or assemblies. The information describes the type of component and shall not be considered as assured characteristics. Terms of delivery and rights to change design reserved. Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies AG is an approved CECC manufacturer. Packing Please use the recycling operators known to you. We can also help you - get in touch with your nearest sales office. By agreement we will take packing material back, if it is sorted. You must bear the costs of transport. For packing material that is returned to us unsorted or which we are not obliged to accept, we shall have to invoice you for any costs incurred. Components used in life-support devices or systems must be expressly authorized for such purpose! Critical components1 of the Infineon Technologies AG, may only be used in life-support devices or systems2 with the express written approval of the Infineon Technologies AG. 1 A critical component is a component used in a life-support device or system whose failure can reasonably be expected to cause the failure of that life-support device or system, or to affect its safety or effectiveness of that device or system. 2 Life support devices or systems are intended (a) to be implanted in the human body, or (b) to support and/or maintain and sustain human life. If they fail, it is reasonable to assume that the health of the user may be endangered. SEK 2172 Table of Contents Page Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 1 1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 System and Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 2 2.1 2.2 2.3 How to Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 Assemble parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 Demonstration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 Serial V.24 Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 3 3.1 3.2 3.2.1 3.2.2 3.3 3.4 Detailed Description of Car-Phone Demo . . . . . . . . . . . . . . . . . . . . . . . .13 Modules used in Car-Phone Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 Some Explanations about full- and half-duplex . . . . . . . . . . . . . . . . . . . . . .14 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Considerations to prevent echoes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Noise Reduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 Comfort Noise and Noise Adaptation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 4 4.1 4.1.1 4.1.1.1 4.1.1.2 4.1.1.3 4.1.1.4 4.1.1.5 4.1.1.6 4.1.1.7 4.1.1.8 4.1.2 4.1.2.1 4.1.2.2 4.1.2.3 4.1.2.4 4.1.3 4.1.4 4.2 4.2.1 4.2.1.1 4.2.1.2 4.2.1.3 4.2.1.4 4.2.2 4.2.2.1 Hardware Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 ACE Car-Kit Evaluation Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 List of Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 Microcontroller Connector JP1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 IOM Connector J7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 Analog Interface Connector P2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 Loudspeaker Connector J12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 Loudspeaker Connector J14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 Microphone Connector J11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 12 V Power Supply Connector JP3 . . . . . . . . . . . . . . . . . . . . . . . . . . .18 5.0 V Power Supply Connector JP4 . . . . . . . . . . . . . . . . . . . . . . . . . .19 List of Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 Microphone Feeding J10, J13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 Selection of Single-Ended Inputs, JP2 . . . . . . . . . . . . . . . . . . . . . . . .19 Enable Loudspeaker Power Amplifier, J9 . . . . . . . . . . . . . . . . . . . . . .20 Power Supply 5 Volts, J8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 Circuit Diagram of ACE Car-Kit Evaluation Board . . . . . . . . . . . . . . . . . .21 Footprint of ACE Car-Kit Evaluation Board . . . . . . . . . . . . . . . . . . . . . . .22 Microcontroller Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 List of Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 IOM Connector JP3, JP4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 Digital Expansion Port Connector JP1 . . . . . . . . . . . . . . . . . . . . . . . . .23 Analog Expansion Port Connector JP5, P2 and WJ1 . . . . . . . . . . . . .23 V.24 Serial Interface P1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 List of Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 Background light J1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 Tool Description 3 10.99 SEK 2172 Table of Contents 4.2.3 4.2.4 Page Circuit Diagram of Microcontroller Board . . . . . . . . . . . . . . . . . . . . . . . . .25 Footprint of Microcontroller Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 Tool Description 4 10.99 SEK 2172 Preface The ACE Demo Car-Kit is intended to demonstrate a full-duplex hands-free conversation with noise reduction in a car. It has been designed as a stand-alone box with microcontroller and optional PC access via serial port. The ACE Demo Car-Kit contains all necessary parts for a full-duplex hands-free demo in a car, apart from the dedicated mobile phone C25 from SIEMENS. The hands-free operation feature is carried out by an acoustic echo canceller which works in subband mode and provides a fast adapting FIR filter for reproduction of the acoustical car environment. To suppress car noise, a noise reduction block is included in the speakerphone module. The hands-free parameters are optimized for medium price range cars. In those environments a full-duplex conversation is provided in several volume steps. For demonstration purposes noise reduction, full-duplex speakerphone, comfort noise etc can be switched off and on. As a result the effects of the features can be pointed out at best. For evaluation there is access to all registers of ACE V2.1 (PSB 2170) and SAM-AFE dual codec (PSB4851) via common PC's serial port. With the coefficient program CP2170 the values can be displayed and changed in physical units. The peak meter, available as ACE module, can be dispayed as logarithmic bargraph and in hexadeximal values. The maximal value is hold. This makes gain adjustment with external register access easier. The external register access is not needed for usual operation, but advanced hardware setup can be done. There are two derivates of ACE Demo Car-Kit. SEK 2172 is not available now, but will be assembled with ACE V2.1. During the time, ACE V2.1 is not available, SEK 2172-D can be used to run the latest firmware as download in an evaluation chip (SAM-EVAL V3.0). By the way, the SAM-Eval chip combines the hardware of SAM (PSB4860) and ACE (PSB2170) and is only meant for development and evaluation. Therefore the handling of the SAM-Eval chip is more difficult than the use of the ready device, but offers the possibility to evaluate the firmware and the behavior of a non available device. In the ACE Demo Car-Kit, the microcontroller takes the difficult part - the download - and that is exactly why you can use the SEK 2172-D in the same way as with the ACE V2.1 mounted. The only difference is the download time at power up. Organization of this Document This Tool Description is divided into 4 chapters. It is organized as follows: * Chapter 1, Overview Gives a general description of the ACE Demo Car-Kit * Chapter 2, How to Start Cookbook like description of getting started Tool Description 5 10.99 SEK 2172 * Chapter 3, Detailed Description of Car-Phone Demo Some considerations about full-duplex hands-free phones * Chapter 4, Hardware Description List of connectors and jumpers, circuit diagram and footprint for ACE Car-Kit Evaluation Board and Microcontroller Board. Related Documentation * * * * Data Sheet: ACE PSB 2170 Version 2.1 Data Sheet: SAM-AFE PSB 4851 Version 2.1 Technical Description: ACE Car-Kit Evaluation Board SIPB2170 Version 1.0 (04.98) Software Description: Coefficient Program for SAM/ACE Version 1.0 (11.97) Your Comments We welcome your comments on this document as we are continuously aiming at improving our documentation. Please send your remarks and suggestions by e-mail to sc.docu_comments@infineon.com Please provide in the subject of your e-mail: device name ( ), device number (SEK 2172), device version (Version 1.0), and in the body of your e-mail: document type (Tool Description), issue date (10.99) and document revision number (DS 1). Tool Description 6 10.99 SEK 2172 Overview 1 Overview The ACE Demo Car-Kit (SEK 2172) is a demonstration platform to show the performance of the Acoustic Echo Canceller ACE (PSB 2170) for hands-free car-phone applications with noise reduction. The Demo Car-Kit contains an ACE Car-Kit Evaluation Board (SIPB 2170) and a controller board with keys and a display. The controller board and the firmware running in the C is described in the following chapters. For more information about the ACE Car-Kit Evaluation Board, please refer to the tool description of SIPB2170. 1.1 System and Block Diagram Figure 1-1 shows the system diagram of the ACE Demo Car-Kit. SAMAFE C display EPROM 1 2 ok Figure 1-1 3 - ACE 4 + ACE Demo Car-Kit C25 (SIEMENS) ACE Demo Car-Kit system overview Microphone, Loudspeaker (8 ) and mobile phone C25 can be directly connected to the ACE Demo Car-Kit. C25 is automatically switched to hands-free car-kit mode when plugged in the Comfort-Cradle which is part of the package. Please connect an external antenna to the cradle to avoid EMC effects. Tool Description 7 10.99 SEK 2172 Overview SP Test LEDs 3.3 V Power Supply 5V 8..16V Figure 1-2 shows the block diagram of the ACE Demo Car-Kit. passive components SAM-AFE PSB 4851 or SAM/ACE-Emulation Board SEB 2160 PA 5V passive components SUB-D 9 Analog I/O ACE PSB 2170 ACE Car-Kit Evaluation Board v24 driver display SUB-D 9 serial port reset IOM-2 / SSDI Connector C EPROM 1 2 ok 3 - 4 + expansion port (unused) Figure 1-2 Controller Board Block diagram The ACE Car-Kit Evaluation Board contains the analog and digital signal processing part of the ACE Demo Car-Kit. The dual codec SAM-AFE (PSB 4851) converts the analog signals to digital and digital signals to analog. Digital signal processing is carried out in ACE (PSB 2170). The modules used in the ACE are the analog interface channels, AGC, Equalizer and Speakerphone. See Chapter 3 for further information. The startup and volume setting is done by the controller board. The C reads the needed values from the EPROM and writes parameters via SCI to SAM-AFE and ACE. In case of a download version of ACE, the download is also stored in the EPROM. In this case, SEB 2160 is mounted on the Evaluation Board instead of the ACE chip. Tool Description 8 10.99 SEK 2172 Overview The controller board contains the display and keys for menu based parameter setting. This is done with parameter files which program SAM-AFE and ACE via SCI. For direct access to all parameters available in ACE, a PC's serial port can be directly connected to the ACE Demo Car-Kit. In Figure 1-2 the SAM/ACE Emulation Board (SEB2160) is shown as a replacement for the ACE. The SEB2160 is mounted in the ACE Demo Car-Kit with download (SEK 2172D). In this case the EPROM contains the download firmware and the ACE Demo Car-Kit needs about 1 minute for downloading the firmware to the evaluation chip. After download the evaluation chip acts similarly to the ACE and all features are available. Tool Description 9 10.99 SEK 2172 How to Start 2 How to Start This chapter describes the procedure how to assemble the parts of the ACE Demo CarKit and operation step by step. Additional equipment, which is not included in the kit, are the mobile phone C25 from SIEMENS and an antenna for car use (for example with magnet socket). 2.1 Assemble parts * Place the - microphone near the rearview mirror - loudspeaker in the foot area of the front passenger or in the compartment in the door - antenna at the top of the car * connect - comfort-cradle, microphone and loudspeaker to ACE Demo Car-Kit - antenna to comfort-cradle of C25 * plug in C25 to comfort-cradle * power up the ACE Demo Car-Kit (red cable +12V, black cable ground) e.g. at cigarette lighter. If the ACE Demo Car-Kit (SEK 2172-D) is equipped with SIPB2160, the display shows . . . .downloading for about 1 minute. If not, press the reset button. During download, all key and V.24 access is ignored. After download has been completed, the system is running with volume 5 and all features enabled. As startup information, the following is displayed: Infineon Technologies ACE Demo Car-Kit 9909 This message occurs after power up if no download is needed. This is the case, if the ACE V2.1 is mounted on the ACE Car-Kit Evaluation Board.1) After this a call with the C25 can be set up. During the first call, please select softest volume at the C25 and store this selection. With this setup, the internal signal processing of the C25 has the least effect. This is important as you want to listen to the full-duplex signal processing of ACE. For demonstration of ACE's features and loudspeaker volume control, select one of the demonstration files described below. 1) device number SEK 2172 Tool Description 10 10.99 SEK 2172 How to Start 2.2 Demonstration Files The demonstration files, stored in the EPROM, can be accessed by the menu key + and -. Demonstration files are, for example Echo Canceller on/off. To load the register setting of a file to ACE and SAM-AFE, the specific file is selected by key +, or - and confirmed by key ok. The first 4 files can be selected by the shortcut keys 1 to 4. Demonstration Files 1. Echo Canceller on/off 2. Noise Reduction on/off 3. Wiener Filter on/off 4. Comfort Noise on/off 5. Volume 1 (softest) 6. Volume 2 7. Volume 3 8. Volume 4 9. Volume 5 (default) 10.Volume 6 11.Volume 7 (loudest) 12.Show Peak value 13.Extended Menu File 1 to 4. For more information about Echo Cancelling, Noise Reduction, the Wiener Filter and Comfort Noise injection refer to Chapter 3. File 5 to 11. To increase the volume of the loudspeaker, please do not change the volume setting at the C25, but select one of the volume files. The default is volume 5. To increase the volume, select volume 6 or 7. The volume should be adjusted to a pleasant volume when the car engine is switched off. Due to the noise of a driving car, the loudspeaker gain is increased up to 10dB to keep a pleasant volume. This is one feature of the ACE. File 12. Show Peak value displays the total peak value in logarithmic and hexadecimal. It is very useful if someone wants to adjust the parameters of SAM-AFE and ACE via V.24 serial port with a PC and the register software CP2170. The peak meter is implemented in the ACE at register 45hex and 46hex. The ACE Demo Car-Kit Software continously reads the peak meter (register 46hex) and holds the maximum peak value for about 1 second and as a result, gain adjustment is very easy. To stop the peak display, press the key ok. The default input of the peak meter is the microphone output signal (S3). Tool Description 11 10.99 SEK 2172 How to Start File 13. The Extended Menu is not a set up file like the others, as it offers the possibility to restart the ACE Demo Car-Kit. This is selected by key 1. Restart means, that no download is done (only SEK 2172-D), but all startup register setting is forced. This is very useful, if after a V.24 register access a system restart is wanted. If no download is implemented (SEK 2172), a hardware reset does exactly the same. 1) Restart 2) Load set 3) Store set After a V.24 parameter optimization, it may be desired to store the parameters in the ACE Demo Car-Kit. This can be done by key 3. With this, all ACE and SAM-AFE registers are stored in the EEPROM of the controller. To reload the stored setting, press key 2. 2.3 Serial V.24 Access To use the CP2170 with the ACE Demo Car-Kit only one setting for the V.24 interface is valid: 19200 baud, 8 data bits, no parity, 1 stop bit, no handshake. The COM port can be selected in the configuration file (cp.cfg). After execution of CP2170, a simple status information appears in the right half of the bar in the first line of the screen. A * means that everything is OK. Any other character indicates an error ('E'rror or 'T'imeout). In this case the software will no longer try to access the kit and must be terminated. Once the software has been successfully started, the keys are locked and no demonstration files can be started. If CP2170 is terminated, the keys work as usual. For connection of the serial PC port with the V.24 interface of the ACE Demo Car-Kit, a null-modem cable is required. Please read the software description of CP2170 for further information. Tool Description 12 10.99 SEK 2172 Detailed Description of Car-Phone Demo 3 Detailed Description of Car-Phone Demo This chapter explains the effects which can be heard while running the ACE Demo CarKit. Please note that this chapter does not include a full description of all features which are provided by ACE V2.1. 3.1 Modules used in Car-Phone Demo The signal path built with the freely configurable modules in ACE can be seen in Figure 3-1. The receive signal (downlink) is A/D-converted in channel 1 of SAM-AFE. Analog gains are optimized to the lowest volume of C25. With this volume, the influence of C25's signal processing is very small. After that, the signal is amplified or attenuated in an AGC to about -15dB (reference: full 16bit range = 0dB). The leveled signal passes the Speakerphone module and reaches one of the equalizers. In the equalizer, the frequency response is processed in that way so that no resonances of the loudspeakerbox can occure. After that, the signal is D/A-converted and amplified in the Codec. The volume of the loudspeaker must be controlled by the ACE Demo Car-Kit's keys and display, and not by the C25 mobile phone! What comes next in the signal path? The signal is reflected in the car and reaches the microphone. Here it is amplified and A/D-converted. The frequency response is filtered into the second equalizer and fed to the Speakerphone module. Here the echo is removed, as described below and the remaining signal reaches the D/A-converter for transmit (uplink). A D Codec SAM AFE PSB4851 A A Figure 3-1 Speakerphone line D acoustic A ACE V2.1 PSB2170 D D AGC Car-Phone signal path Tool Description 13 10.99 SEK 2172 Detailed Description of Car-Phone Demo 3.2 Some Explanations about full- and half-duplex 3.2.1 Introduction In a traditional telephone connection which uses handsets on both sides there is always a full-duplex conversation. Because the gains required for the microphone and the earpiece are moderate, no extra work has to be done to prevent acoustical feedbacks (echoes). As soon as people start to enjoy hands-free telephony - whether in the office or in the car - the signal levels for loudspeaker and microphone become greater. If there would be no circuitry to prevent the acoustical feedback, the calling partner at the far-end telephone would hear himself very loudly, especially if the phone conversation takes place on a mobile phone, the speech is delayed and the echoes extremely disturb the person calling. 3.2.2 Considerations to prevent echoes In the past when DSPs were expensive, slow and weak in performance, the only possibility to prevent an echo was to cut off the unused signal connections. This means signal transmission is permitted only in one direction. Either from the handset phone to the speakerphone, or the other way round, but not both transmission paths at the same time. In this document this method is called half-duplex. A circuitry in a phone or an algorithm in a DSP has to decide, which person is the caller and which the receiver, and the corresponding path has to be switched to transmission. The other path gets an attenuation of about 40 dB to prevent the echo. This algorithm is also called the Stronger-Wins-Algorithm because in a double talk situation the person with the stronger voice will get the transmission path and the other can not be understood. In case of a half-duplex conversation both persons have to be very disciplined and let the other finish speaking to avoid misunderstandings because of cutting off words. Nowadays' DSP performance is much more powerful, and sophisticated algorithms can process speech signals. Therefore it is possible to simulate the acoustical behavior of the room where the hands-free phone is used by a digital FIR Filter and subtract the simulated signal from the microphone signal. The better the image of the room acoustics, the better the echo cancellation. The performance of an Echo Canceller can be benchmarked by the rate, the algorithm needs to adapt the Echo-Cancel-Filter to the room acoustics. The faster the adaptation, the better the echo cancellation, as in a car acoustics continuously changes: The driver is turning the steering wheel, the gear shift lever is used, because of a strong break passengers move around, etc. In all these situations the Echo Canceller has to adapt to the new room acoustics. The Echo-Filter is well adapted, if the echo, which can be heard at the far end telephone is reduced to a minimum. Otherwise a strong echo can be heard. To prevent this, a combination of Echo Canceller and Stronger-Wins-Method are available in the ACE. Tool Description 14 10.99 SEK 2172 Detailed Description of Car-Phone Demo ACE provides an AGC which is useful to give the far-end input a defined level. In view of the SNR of the signals, a signal value as high as possible is advantageous but to avoid signal overload the compare level of the AGC is adjusted to -15 dB. The AGC is a very good method to comfortably adjust the volume in the car. Because people speak with different strength, the person in the car can adjust the signal level at his will and need not care about different speakers. 3.3 Noise Reduction The speakerphone module supports a Noise Reduction block in the receive path which reduces sound by regular signal power. Signal power of speech is usually rather irregular and will not be filtered. One parameter is provided to adjust the maximal amount of noise reduction. If speech is distorted too much, the parameter has been adjusted too high. Values from 12 to 16 dB give best performance of the Noise Reduction unit. The background noise is reduced to a minimum and the distortion of the speech signal is negotiable. 3.4 Comfort Noise and Noise Adaptation The comfort noise algorithm makes conversation more easy for the far-end caller. Think of a situation, the echo canceller is not fully adapted because the driver is turning. The echo suppression gives some attenuation to prevent echoes. In this case, the far-end caller will recognize the attenuation because the car noise is getting softer. To cover this, artificial noise is injected in the transmit signal. As a result of this, the attenuation can only be heard in the speaker's voice and not in the background noise. After a short time, the echo canceller has fully readapted and the echo suppressor is not needed. Though the comfort noise is only needed for very short periods of time, it improves the performance of the car-phone. Noise Adaptation shows it's effect inside the car. With this, four parameters can be adapted depending on the noise level in the car. There are two important parameters: the loudspeaker gain and the total attenuation. The loudspeaker gain is incremented if the noise level in the car rises. This makes manual volume control unnecessary. To prevent distortion in the loudspeaker, the volume increase is limited. The total attenuation is reduced if noise level in the car rises as the echo is masked by car noise. With this, a side effect is eliminated. In a noisy environment, the echo canceller needs a little more time to fully adapt. If echo cancel requirement is decreased, the adaptation time to full-duplex is also decreased. Tool Description 15 10.99 SEK 2172 Hardware Description 4 Hardware Description The ACE Demo Car-Kit hardware consists of two boards. The ACE Car-Kit Evaluation Board and the Microcontroller Board with keys and display. 4.1 ACE Car-Kit Evaluation Board 4.1.1 List of Connectors 4.1.1.1 Microcontroller Connector JP1 Instead of using a PC for initializing the PSB2170 and PSB4851 a microcontroller is used. All signals required for this purpose are available at pinhead J7. The connector is located on the controller board at the same place. Table 4-1 Microcontroller Connector pin signal purpose 1 SDX SCI-Interface, data from PSB2170/PSB4851 2 SDR SCI-Interface, data to PSB2170/PSB4851 3 SCLK SCI-Interface, bit-clock 4 CS SCI-Interface, chip-select for PSB2170/PSB4851 5 GND ground 6 RES reset (active-high) for PSB2170/PSB4851; see schematics 7 INT interrupt request from PSB2170; normally not needed 8 Vdd5 5.0V power supply (100 mA max.) 9 Vdd3V3 3.3V power supply (60 mA max.) 4.1.1.2 IOM Connector J7 The SDI/IOM21) interface of the PSB2170 is available at pinhead J7. This interface is of interest if a digital connection to one of the acoustic/line signals is available. The PSB2170 is capable of processing 16 bit linear PCM data or 8 bit A/-law data with different bit-clocks. For further details, please refer to the PSB2170 data sheet. The IOM connetor is also available on the controller board, so that access is easy. 1) SDI: serial data interface; IOM: ISDN Oriented Modular (Interface); general purpose serial PCM interface for data exchange; operates as slave and requires a 8kHz frame signal as well as a bit-clock Tool Description 16 10.99 SEK 2172 Hardware Description Table 4-2 IOM Connector pin signal purpose 1 GND ground 2 DU data upstream; normally data output for the PSB2170 3 DD data downstream; normally data input for the PSB2170 4 DCL bit-clock up to 4.096 MHz (input) 5 FSC frame-sync 8 kHz (input) 4.1.1.3 Analog Interface Connector P2 This is a SUB-D 9 Connector (female) which carries all four analog signals (in and out) provided by the SAM-AFE. With this, the connection to the C25 is possible. All analog signals are differential in order to obtain the best signal transmission performance. They can be jumpered as single-ended signals. Refer to the description of Jumper JP2. For a detailed description of signal levels and driving capability, please refer to the PSB4851 data sheet. - HONO to line/network + HOPO 5 1 9 + 6 P2 D-SUB 9 female MIP1O - - LSNO from line/network to loudspeaker MIN1O + LSPO MIN2O from microphone MIP2O Figure 4-1 4.1.1.4 + Pinout and Connections at the Analog Interface Connector P2 Loudspeaker Connector J12 A 3.5mm phone jack provides the output signal of the loudspeaker power amplifier. Note that this is a differential output without reference to ground. The signal at the loudspeaker connector is identical to the signal available at LSPO/LSNO but capable of driving a 4 load. Tool Description 17 10.99 SEK 2172 Hardware Description Note: The ACE CAR-KIT Evaluation Board is equipped with a stereo jack (L and R tied together). Be careful when inserting 3.5mm mono plugs as this may cause a short circuit. Compare the description of jumper J14 and J9 as well. The integrated circuit for the loudspeaker power amplifier is a TDA1519. It features short-circuit and overtemperature protection. The power supply of approx. 12 Volts is taken directly from JP3. 4.1.1.5 Loudspeaker Connector J14 The pinhead J14 carries the output signal of the loudspeaker power amplifier. The signal is identical to the one provided at J12 (see chapter 4.1.1.4). Note: Do not place a jumper on J14 as this causes a short circuit of the power amplifier 4.1.1.6 Microphone Connector J11 A 3.5mm phone jack serves an input connector for an external microphone. Note that the connector carries no ground signal. Because the board is equipped with a stereo connector, it may be necessary to carefully check if a proper electrical connection is possible with a mono plug. J11 is connected in parallel to the signals MIP2O/MIN2O; for details refer to chapter 4.1.1.3. See description of jumper J10/J13. 4.1.1.7 12 V Power Supply Connector JP3 A car battery or any other DC source can be connected to JP3. The input voltage range is 8...16 Volts. The current consumption with activated power amplifier is below 200 mA. The current for driving an external load has to be considered separately. The input is protected against reverse polarity. Using the 12 V supply requires J8 to be closed. Table 4-3 12 V Power Supply Connector JP3 pin signal purpose 1 GND ground 2 VCC +12 Volts power supply; Note: J8 must be closed Tool Description 18 10.99 SEK 2172 Hardware Description 4.1.1.8 5.0 V Power Supply Connector JP4 If only a 5.0 V supply is available and the power amplifier is not needed, the external 5.0 V power supply can be directly connected to JP4. In this case J8 must be open. The tolerance for the 5.0 V supply is +/-5%. Table 4-4 5 V Power Supply Connector JP4 pin signal purpose 1 VDD5 +5.0 Volts power supply; Note: J8 must be open 2 GND ground 4.1.2 List of Jumpers 4.1.2.1 Microphone Feeding J10, J13 The biasing for electret microphones which are connected directly to MIP2O/MIN2O are activated by setting J10 and J13. The feeding resistors are R18/R28 (refer to schematic). If MIP2O/MIN2O are not used for a microphone, the jumpers should be removed. 4.1.2.2 Selection of Single-Ended Inputs, JP2 Setting one or two jumpers on JP2 causes the analog inputs at connector P2 to work as single-ended inputs. This is done by connecting a clean reference voltage directly to one of the two differential input pins of the PSB4851. Figure 4-2 illustrates this. If such a single-ended configuration is selected, the corresponding signal at connector JP2 (MIN1O or MIN2O) must remain open. The other signal (MIP1O or MIP2O) serves as single-ended input. JP2 1 MIP1 JP2 MIN1 VREF MIP2 MIP2 1 MIN2 JP2 JP2 MIP1 MIN1 MIP2 Figure 4-2 VREF MIP1 VREF 1 MIP1 MIP2 MIN2 1 VREF How Jumper JP2 forces a single-ended input configuration Tool Description 19 10.99 SEK 2172 Hardware Description 4.1.2.3 Enable Loudspeaker Power Amplifier, J9 If J9 is closed, the loudspeaker power amplifier (TDA1519) is operating. If J9 is left open, the amplifier is powered down. 4.1.2.4 Power Supply 5 Volts, J8 If an external 5.0 V power supply is connected to JP4, J8 must be removed (compare with schematics and see chapter 4.1.1.8. Tool Description 20 10.99 SEK 2172 Hardware Description 4.1.3 Circuit Diagram of ACE Car-Kit Evaluation Board Tool Description 21 10.99 SEK 2172 Hardware Description 4.1.4 Footprint of ACE Car-Kit Evaluation Board Tool Description 22 10.99 SEK 2172 Hardware Description 4.2 Microcontroller Board 4.2.1 List of Connectors 4.2.1.1 IOM Connector JP3, JP4 The IOM connector JP4 is mounted at the bottom of the board to make a direct connection to the ACE Car-Kit Evaluation Board possible. To make a connection to IOM more easy, the signals are available at JP3. The IOM-signals are not used on the microcontroller board. See Table 4-2 for pin assignment. 4.2.1.2 Digital Expansion Port Connector JP1 The expansion port connector is unused in ACE Demo Car-Kit. For further applications, some controller port pins, 3.3 V, 5 V and ground are available at JP1. The pin assignment can be seen in Table 4-5. Table 4-5 Digital Expansion Port JP1 pin signal purpose pin signal purpose 1 VC5D 5V 2 GNDD ground 3 V3 3.3 V 4 PA3 port A.3 5 PA4 port A.4 6 PA5 port A.5 7 PE0 port E.0 8 PE1 port E.1 9 PE2 port E.2 10 PE3 port E.3 11 PE4 port E.4 12 PE5 port E.5 13 PE6 port E.6 14 PE7 port E.7 4.2.1.3 Analog Expansion Port Connector JP5, P2 and WJ1 The analog expansion port can be used by connecting either a handset (WJ1) or other signal transducers (JP5) to the ACE Demo Car-Kit as a far end caller. If this is wanted, the pins of P2 have to be connected with the corresponding pins of P2 at the ACE CarKit Evaluation Board. Due to the signal level difference between the C25 and the handset, the settings stored in the EPROM can not be used. It is possible to adjust the SAM-AFE settings with external register access via V.24 interface. 4.2.1.4 V.24 Serial Interface P1 For external register access, the ACE Demo Car-Kit can be connected to a PC's COM port. The register software CP2170 can be used to read and write parameters of SAM- Tool Description 23 10.99 SEK 2172 Hardware Description AFE and ACE in physical and hexadeximal values. The pin assignment is described in Table 4-6. Table 4-6 V.24 Serial Interface P1 pin signal purpose 2 RxD-C Controller Receive signal; Terminal Transmit signal 3 TxD-C Controller Transmit signal; Terminal Receive signal 5 GND ground 1,4,6..9 nc not connected 4.2.2 List of Jumpers 4.2.2.1 Background light J1 With J1, the background light of the display can be switched on. Note: Adjust the display contrast with resistor R5. Tool Description 24 10.99 Tool Description 25 1 2 A Controller/Display Controller B B RDI TDO C C Date: Size A Title D Thursday, April 15, 1999 Document Number CAR-KIT uC-Board V1.0 Root Sheet Infineon technologies AG i. Gr., AT AE LV Serial Interface/AFE RxD TxD Serial D 1 E E of 3 Rev 1.0 1 2 3 4 4.2.3 3 4 A SEK 2172 Hardware Description Circuit Diagram of Microcontroller Board 10.99 26 1 2 3 4 GNDD 100 GNDD A C7 10p Y1 GNDD C8 10p R8 100k VC5D R7 100k VC5D GNDD 32,768kHz C9 33p Y2 100R R15 R10 100k ResetQ R9 100k C3 1u/20V GNDD + 3,579MHz R23 SW DPDT, Push Button S1 R1 100k GNDD C10 33p 470k R18 R16 100k R3 n.m. VC5D GNDD R20 n.m. n.m. R17 ResetQ IRQ R1410M 11 12 13 14 15 16 17 18 PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 10 86 30 29 89 90 91 2 3 4 5 6 7 8 9 SCI3 EpCE EpOE RDI TDO SCI2 SCI1 SCI0 19 20 21 22 23 26 27 28 78 79 80 81 82 83 84 85 EpA16 EpA17 EpA18 KeyCol0 KeyCol1 KeyCol2 1 92 93 94 95 96 97 98 99 C4 100n B YAMAICHI IC149-100-025-S5 QFP-100-0.5mm Socket SO1 2 4 6 8 10 12 14 HEADER 7X2 1 3 5 7 9 11 13 JP1 68HC705F32-100 AVSS RESET OSC4 OSC3 IRQ OSC2 OSC1 PE0/TCAP1 PE1/TCMP1 PE2/TCAP2 PE3/TCMP2 PE4/refresh PE5/PWM1 PE6/PWM2 PE7/PWM3 PD0/AN0 PD1/AN1 PD2/AN2 PD3/AN3 PD4/AN4 PD5/AN5 PD6/AN6 PD7/AN7 PC0/TCAP3 PC1/TCAP4 PC2/RDI PC3/TDO PC4/MISO PC5/MOSI PC6/SCK PC7/SS PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 AVDD IC1 VC5D V3 KeyRow0 KeyRow1 KeyRow2 PA3 PA4 PA5 INTQ RESALL GNDD PA4 PE0 PE2 PE4 PE6 B VDD VDD PA3 PA5 PE1 PE3 PE5 PE7 GNDD 22 24 31 1 EpCE EpOE EpA18 GND VCC D0 D1 D2 D3 D4 D5 D6 D7 DIL-32 Socket SO2 C 16 32 13 14 15 17 18 19 20 21 V3 GNDD AM27C020 CE OE PGM VPP A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 10k R19 100n C5 IC2 GNDD GNDD DTMF EpA8 EpA9 EpA10 EpA11 EpA12 EpA13 EpA14 EpA15 EpD0 EpD1 EpD2 EpD3 EpD4 EpD5 EpD6 EpD7 EpA0 EpA1 EpA2 EpA3 EpA4 EpA5 EpA6 EpA7 LcdA0 LcdRES LcdWR LcdCS LcdD4 LcdD5 LcdD6 LcdD7 12 11 10 9 8 7 6 5 27 26 23 25 4 28 29 3 2 30 25 88 100 31 32 33 34 35 36 37 74 75 62 63 64 65 76 77 66 67 68 69 70 71 72 73 54 55 56 57 58 59 60 61 46 47 48 49 50 51 52 53 38 39 40 41 42 43 44 45 24 87 VC5D EpA0 EpA1 EpA2 EpA3 EpA4 EpA5 EpA6 EpA7 EpA8 EpA9 EpA10 EpA11 EpA12 EpA13 EpA14 EpA15 EpA16 EpA17 VSS VSS Vrh TNX TNO VLCD BP0 BP1 BP2 BP3 PH0/FP32 PH1/FP33 PH2/FP34 PH3/FP35 PH4/FP36 PH5/FP37 PH6/FP38 PH7/FP39 PG0/FP24 PG1/FP25 PG2/FP26 PG3/FP27 PG4/FP28 PG5/FP29 PG6/FP30 PG7/FP31 PF0/FP16 PF1/FP17 PF2/FP18 PF3/FP19 PF4/FP20 PF5/FP21 PF6/FP22 PF7/FP23 PI0/FP8 PI1/FP9 PI2/FP10 PI3/FP11 PI4/FP12 PI5/FP13 PI6/FP14 PI7/FP15 PJ0/FP0 PJ1/FP1 PJ2/FP2 PJ3/FP3 PJ4/FP4 PJ5/FP5 PJ6/FP6 PJ7/FP7 GNDD C V3 C13 100n VC5D GNDD VC5D LCD1 EpD0 EpD1 EpD2 EpD3 EpD4 EpD5 EpD6 EpD7 KeyRow2 KeyRow1 KeyRow0 RP1 10k C2 10u/20V GNDD C1 + 100n 1 2 3 4 5 6 7 8 9 VDD 12 D7 D6 D5 D4 CS# WR# RES A0 R11 100k 4 5 6 7 3 2 18 1 D3 D2 D1 D0 D TCM-A0804-3 2 SC1 1 TA7 TA4 TA1 GNDD 10u/20V D GNDA Short circuit C11 R13 100k VC5A R12 100k VC5D V3 8 9 10 11 P/S IF 16 17 VC5D KeyCol0 VSS V5V 1 TA8 TA5 SC2 R6 360k R5 500k R4 470k 1 n.m. TA9 n.m. TA6 TA3 V3 VC5D C12 ZIF-Connector ZIF1 Short circuit 2 JUMPER J1 TA2 2 R2 GNDD 33R 13 LED+ LED19 20 KeyCol1 V5 VR 14 15 + KeyCol2 Tool Description 47u/10V + A C6 10u/20V GNDD + TDO RDI Controller / Display E 2 of 3 Header 7, female, Samtec SSW 107-01-S-S, mounted on LS HEADER 7 1 2 3 4 5 6 7 JP4 IOM-Interface Header 9, female, Samtec SSW 109-01-S-S, mounted on LS Wednesday, September 01, 1999 Sheet Document Number CAR-KIT uC-Board V1.0 TDO RDI HEADER 9 1 2 3 4 5 6 7 8 9 JP2 Infineon technologies AG i. Gr., AT AE LV Date: Size C Title GNDD DU DD DCL FSC V5V V3 GNDD GNDD HEADER 7 1 2 3 4 5 6 7 JP3 RESALL INTQ SCI2 SCI1 SCI0 SCI3 E Rev 1.0 1 2 3 4 SEK 2172 Hardware Description 10.99 Tool Description 27 1 2 3 A TxD RxD 5 9 4 8 3 7 2 6 1 C16 5 4 3 1 11 10 9 12 16 JP5 HEADER 5 B GNDA HOPO HONO MIP1O MIN1O GNDD SUB-D9 female, n.m. P2 100n 100n C15 VC5D B 1 2 3 4 5 4 A GND C21 VC5A 6 2 14 7 8 13 15 C20 V- V+ MAX 202E C2C2+ C1C1+ T1in T1out T2in T2out R2out R2in R1out R1in VCC IC3 100n C14 220n 220n C GNDA + C19 47u/16V R22 3k3 1 6 2 7 3 8 4 9 5 Date: Size A Title D DSUB 9, male P1 D Thursday, April 15, 1999 Document Number CAR-KIT uC-Board V1.0 Serial Interface/AFE Sheet Infineon Technologies AG, AT AE Western Jack 4 1 2 3 4 WJ1 GNDD TxD-C RxD-C VC5D GNDD VC5D GNDD 100n 100n GNDA 330R R21 C17 C18 C 3 E E of 3 Rev 1.0 1 2 3 4 SEK 2172 Hardware Description 10.99 SEK 2172 Hardware Description 4.2.4 Footprint of Microcontroller Board Tool Description 28 10.99