Home
開啟原PDF
Contents
1. 2 3 3 3 4 3 5 1 Recorder Macro DAS tinas 1 2 Recorder Macro Table 1 Recorder Macro Table cccnnnnncoononnnncnnonnnnnnanonononoconononnnnononononnonononnnnononnnnnnos 1 3 Recorder Macro Description 2 Recados aida adios 2 RECO A ii ii isis 3 RA o 4 Reccheckisunnai its 5 Reca ii dci 5 4 Recorder Memory Allocation 6 S2 DE Melody ONIY ei A iiaeie 6 4 1 4 2 S1 582 or S1 Melody Set to Support Algorithm Types 2 4 amp 5 only 6 4 3 S1 S2 or S1 Melody Set to Support All Algorithms eSL Series Recorder Macro Application Notes Application Notes Revision History Doc Version Revision Description Date 1 0 Initial Official Release Version 2006 12 18 1 1 Modified SPI address mode to byte only 2007 04 23 eSL Series Recorder Macro Application Notes ee Calan 1 Recorder Macro List 1 1 Recorder Macro List Macro Name Function Describe RECADCON Turn on corresponding ADC function for recorder RECON Start to record RECOFF Stop current recording RECCHECK Check the recording status RECADDR Get current data point of recorder 2 Recorder Macro Table 2 1 Recorder Macro Table Macro Syntax Operation RECADCON Tec ens rec_chs 2 5 rec_adclk 0 5 rec_adclk RECON spi_addr max_size spi_addr 0 4 294 967 295 unit byte encoding_type max_size 0 4 294 967 295 unit byte voice_output encoding_type 1 5 voice_output 0 7 RECOFF RECCHECK Pathnam
2. Memory Allocation 4 1 S2 or Melody Only You can only either playback speech or record speech in Channel 2 at a time You cannot play and record speech at the same time 4 2 S1 S2 or S1 Melody Set to Support Algorithm Types 2 4 8 5 only You can playback speech in Channel 2 and record speech in PCM ADPCM at the same time When starting to record speech the speech playback in Channel 1 is turned off If you want to record in Type 3 algorithm all playback speech are turned off 4 3 S1 S2 or S1 Melody Set to Support All Algorithms You can playback speech in Channel 2 and record speech in PCM ADPCM at the same time When starting to record speech the speech playback in Channel 1 is turned off If you want to record in Type 3 algorithm all playback speech are turned off eSL Series Recorder Macro Application Notes
3. e the data point will be stored in R1 high address RECADDR c and RO low address eSL Series Recorder Macro Application Notes e1 3 Recorder Macro Description 3 1 Recadcon E Syntax RECADCON rec_chs rec_adclk E Operation ADC analog input channel select 2 7 re c_chs rec_adclk ADC clock source 0 5 E Definition This macro will turn on the corresponding ADC function for recorder It will set ADC analog input as rec_chs and set ADC clock as rec_adclk After executing this macro ADC is enabled and set as single mode E Example AUDIO_INI AYHEAD 10 P R R ECON 8 MIC_ON 1 0 ECADCON 5 3 32700 2 1 Y Y Y Enable MIC Turn ADC set PA 5 as adc input set ADC clock as Fp11 64 and single mode Starting to record from address 8 maximum record size is 32700 bytes encoding_type is ADPCM voice output to DAC eSL Series Recorder Macro Application Notes 3 2 Recon E Syntax RECON spi_addr max_size encoding_type voice_output E Operation spi_addr The recorder start address 0 4 294 967 294 unit byte max_size The maximum size that can be used in recorder 0 4 294 967 295 unit byte encoding_type Select encoding type 1 5 voice_output Select recorder voice output 0 7 E Definition This macro will start the recording operation The record start addr
4. eSL Series eSLZO000 Recorder Macro for Assembler APPLICATION NOTES ELAN MICROELECTRONICS CORP Document Number AP eSL 0103E V1 Date of Issue April 2007 Issue Version 1 1 Supported Chips eSLZ000 eSL128 A eSL512 A eSL128S A eSL512S A Applicable Software eSL eAM IDE V1 5 and later Trademark Acknowledgments IBM is a registered trademark and PS 2 is a trademark of IBM Windows is a trademark of Microsoft Corporation ELAN and ELAN logo ram are trademarks of ELAN Microelectronics Corporation Copyright 2006 2007 by ELAN Microelectronics Corporation All Rights Reserved Printed in Taiwan The contents of this User s Manual publication are subject to change without further notice ELAN Microelectronics assumes no responsibility concerning the accuracy adequacy or completeness of this publication ELAN Microelectronics makes no commitment to update or to keep current the information and material contained in this publication Such information and material may change to conform to each confirmed order In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors omissions or other inaccuracies in the information or material contained in this publication ELAN Microelectronics shall not be liable for direct indirect special incidental or consequential damages arising from the use of such information or material The software if any descr
5. ess is spi_addr the maximum record file size is max_size and the record encoding type is encoding_type The record operation supports voice output function It can record and output voice to DAC PWM at the same time Encoding_type 1 PCM Type 5 the bit rate is 96kbps at sampling rate 8KHz Encoding_type 2 ADPCM the bit rate is 32kbps at sampling rate 8KHz Encoding_type 3 Type 3 the bit rate is 20Kbps at sampling rate 8KHz Encoding_type 4 Type 3 the bit rate is 16Kbps at sampling rate 8KHz Encoding_type 5 Type 3 the bit rate is 12Kbps at sampling rate 8KHz Voice_output 0 Voice will not output at the same time Voice_output 1 Voice is output to DAC at the same time Voice_output 2 Voice is output to PWM at the same time Voice_output 3 Voice is output to both DAC and PWM at the same time Voice_output 4 Voice will not output at the same time and AGC function is enabled Voice_output 5 Voice is output to DAC at the same time and AGC function is enabled Voice_output 6 Voice is output to PWM at the same time and AGC function is enabled Voice_output 7 Voice is output to both DAC and PWM at the same time and AGC function is enabled eSL Series Recorder Macro Application Notes 3 E Example AUDIO_INI P FI AYHEAD 10 MIC_ON 1 0 R ECON 8 3 3 Recoff E Syntax ECADCON 5 3 32700 2 1 Enable MIC Turn ADC set PA 5 as adc
6. ibed in this publication is furnished under a license or nondisclosure agreement and may be used or copied only in accordance with the terms of such agreement ELAN Microelectronics products are not intended for use in life support appliances devices or systems Use of ELAN Microelectronics product in such applications is not supported and is prohibited NO PART OF THIS PUBLICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS ELAN MICROELECTRONICS CORPORATION Headquarters Hong Kong USA No 12 Innovation Road 1 Elan HK Microelectronics Elan Information Hsinchu Science Park Corporation Ltd Technology Group USA Hsinchu Taiwan 30077 Flat A 19 F World Tech Centre 95 1821 Saratoga Ave Suite 250 Tel 886 3 563 9977 How Ming Street Kwun Tong Saratoga CA 95070 Fax 886 3 563 9966 Kowloon HONG KONG USA http www emc com tw Tel 852 2723 3376 Tel 1 408 366 8225 Pax 852 2723 7780 Fax 1 408 366 8220 elanhk emc com hk Shenzhen Shanghai Elan Microelectronics Elan Microelectronics Shenzhen Ltd Shanghai Ltd 3F SSMEC Bldg Gaoxin S Ave I 23 Bldg 115 Lane 572 Bibo Road Shenzhen Hi tech Industrial Park Zhangjiang Hi Tech Park Shenzhen Guandong CHINA Shanghai CHINA Tel 86 755 2601 0565 Tel 86 21 5080 3866 Fax 86 755 2601 0500 Fax 86 21 5080 4600 Hao Contents 1 Recorder Macro List 1 1 2 1 3 1 3
7. input set ADC into single mode and ADC clock as Fp11 64 Start recording from Address 8 maximum record size is 32700 bytes encoding type is ADPCM voice is output to DAC RECOFF E Definition Stop current recording E Example RECOFF Stop current recording eSL Series Recorder Macro Application Notes 3 4 Reccheck E Syntax RECCHECK Pathname E Definition This macro will check the recording status If currently recording it will jump to the path label E Example RECON 8 32700 2 1 Start recording from Address 8 maximum record size is 32700 bytes encoding type is ADPCM voice is output to DAC RECCHECK SUBR Check whether currently recording or not If yes jump to SUBR SUBR RO 0x0001 3 5 Recaddr E Syntax RECADDR E Definition This macro will get the current data point of recorder The data point will be stored in R1 high address and RO low address E Example RECON 8 32700 2 1 Start recording from Address maximum record size is 32700 bytes encoding_type is ADPCM voice is output to DAC CCC RECCHECK CCC Checking stopped RECADDR After executing this macro R1 R0 is the end address 1 of the record file eSL Series Recorder Macro Application Notes 5 4 az The Recorder Memory Allocation is the same as speech memory allocation Recorder
Download Pdf Manuals
Related Search
Related Contents
File Sharing Portal End User Guide Altec Lansing IM600USB User's Manual Bedienungsanleitung CA6423 (pdf, 0,2MB, deutsch) Pioneer DE-UH9101 User's Manual NX-800H Systèmes d`aides aux transferts… Dotworkz NVR Series User Manual - Surveillance Zenith C32V37 User's Manual Copyright © All rights reserved.
Failed to retrieve file