Home
RL78 Family FFT Library: Introduction Guide
Contents
1. RL78 G13 version 1 00 libfft_rl78g14 r87 r_fft_int16 h Assembler tuned 16 bit fixed point FFT library for RL78 G14 version 1 00 FFT library header file r_stdint h Standard integer typedefs Sample program sample 2 L rl78g14_fft_iar ibrary Functions Sample IAR IDE Workspace project RL78 G14 FFT Library supports the following library functions API API Outline R_rfft64_inti6 16 bit fixed point real FFT 64 points R_rfft128_inti6 16 bit fixed point real FFT 128 points R_rfft256_inti6 16 bit fixed point real FFT 256 points R20AN0150EJ0101 Rev 1 01 Apr 01 2014 Page 2 of 9 RENESAS RL78 Family FFT Library Introduction Guide 3 For CubeSuite 3 1 Limitations Since RL78 G13 FFT utilizes the multiplier and divider multiply accumulator for multiply accumulate operations the application must not change the values of the following registers in its user interrupt functions e Registers Multiplication division data register A L MDAL Multiplication division data register A H MDAH Multiplication division data register B L MDBL Multiplication division data register B H MDBH Multiplication division data register C L MDCL Multiplication division data register C H MDCH e Control Register Multiplication division control register MDUC For further information please consult Chapter 14 Multiplie
2. 9670 Renesas Electronics Singapore Pte Ltd 80 Tel Bendemeer Road Unit 06 02 Hyflux Innovation Centre Singapore 339949 65 6213 0200 Fax 65 6213 0300 Renesas Electronics Malaysia Sdn Bhd Unit 906 Block B Menara Amcorp Amcorp Trade Centre No 18 Jin Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel 60 3 7955 9390 Fax 60 3 7955 9510 Renesas Electronics Korea Co Ltd 12F 234 Teheran ro Gangnam Ku Seoul 135 920 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 2014 Renesas Electronics Corporation All rights reserved Colophon 4 0
3. of 9 Apr 01 2014 RENESAS RL78 Family Website and Support Renesas Electronics Website http www renesas com Inquiries http www renesas com contact FFT Library Introduction Guide All trademarks and registered trademarks are the property of their respective owners R20AN0150EJ0101 Rev 1 01 Apr 01 2014 RENESAS Page 9 of 9 Revision History Description Rev Date Page Summary 1 01 Apr 01 2014 Updated Structure of This Product section for package version V 1 00 Release 01 Added support IAR Embedded Workbench 1 00 Mar 31 2012 First edition issued A 1 General Precautions in the Handling of MPU MCU Products The following usage notes are applicable to all MPU MCU products from Renesas For detailed usage notes on the products covered by this document refer to the relevant sections of the document as well as any technical updates that have been issued for the products 1 Handling of Unused Pins Handle unused pins in accordance with the directions given under Handling of Unused Pins in the manual The input pins of CMOS products are generally in the high impedance state In operation with an unused pin in the open circuit state extra electromagnetic noise is induced in the vicinity of LSI an associated shoot through current flows internally and malfunctions occur due to the false recognition of the pin state as an input signal become possible Unused pins should be handled as des
4. that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration modification copy or otherwise misappropriation of Renesas Electronics product Renesas Electronics products are classified according to the following two quality grades Standard and High Quality The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below Standard Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots etc High Quality Transportation equipment automobiles tra
5. 2rPENESAS APPLICATION NOTE RL78 Family R20AN0150EJ0101 Rev 1 01 FFT Library Introduction Guide Apr 01 2014 Introduction This document explains FFT Library V 1 00 Release 01E hereafter referred to as FFT library FFT library will differ depending on the MCUs Fast Fourier Transform FFT is the fast algorithm for efficient implementation of the discrete Fourier transform DFT As is well known the development of FFT by Cooley and Tukey in 1965 has led to phenomenal grown in its applications in digital signal processing The FFT library for the Renesas Microcomputer is written in optimized assembler Please refer to the User s Manual to understand how to use the software library Target Device RL78 G13 RL78 G14 Contents 1 Structure of This Product cccsccccssesccsesecnseuenseuennseuensesenaeeeuseueneeseoneeuenaesenseueneesenaees 2 2 Library PUTA CUNONNS aici secs cs cnc scenes sec cc cenc caneceaaen cee ce ccrmeecanensie cece twee tweeneceserees 2 3 For CUube SUite cccccsessesesseucnsesecseuenueeenneeuenseuenaeeeeseuanseueuasuennuesenesennseueuseseoaseuansessnas 3 Bel Limitations soccceaoseescceccccecanewucdcavcunedied eusseteiudenvescuddwadesuuecues susieuunduawbenssvecduudeusscawewiudsassuuseuuuedeevancuiue 3 3 2 Corresponding MCU cccsseccsseeesesesesneeeesneeenseeessaesenneeenseaeensneesaesaseaeeasnaeeeaesessaesaseaesnseaeeeaeeseas 3 3 3 Development Environment scccceceeeceeesee
6. RL78 G14 API ROM RAM stack R_rfft64_int16 1254 0 68 R_rfft128_int16 1506 0 68 R_rfft256_int16 2012 0 68 4 5 Section Information The following table shows program sections segments used in FFT library Section name Contents CODE program code NEAR_CONST constant data 4 6 Performance The following table shows FFT library s performance The processing speeds are indicated in processing time per function call FFT Library for RL78 G13 API time system clock 32MHz R_rfft64_inti6 About 0 4ms R_rfft128 inti6 About 0 9ms R_rfft256_inti6 About 1 9ms FFT Library for RL78 G14 API time system clock 32MHz R_rfft64_inti6 About 0 4ms R_rfft128 inti6 About 0 9ms R_rfft256_inti6 About 1 9ms R20AN0150EJ0101 Rev 1 01 Page 7 of 9 Apr 01 2014 RENESAS RL78 Family FFT Library Introduction Guide 4 7 Version Information The application may refer the following version string of FFT library via the global variable r_fft_a_version extern const char r_fft_a_version And the data that is included in this package is below FFT Library for RL78 G13 const char r_fft_a_version FFT Library version 1 00 for RL78 Family RL78G13 Feb 26 2014 16 50 29 FFT Library for RL78 G14 const char r_fft_a_version FFT Library version 1 00 for RL78 Family RL78G14 Feb 26 2014 16 51 02 R20AN0150EJ0101 Rev 1 01 Page 8
7. aracteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or systems manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or r
8. cribed under Handling of Unused Pins in the manual 2 Processing at Power on The state of the product is undefined at the moment when power is supplied The states of internal circuits in the LSI are indeterminate and the states of register settings and pins are undefined at the moment when power is supplied In a finished product where the reset signal is applied to the external reset pin the states of pins are not guaranteed from the moment when power is supplied until the reset process is completed In a similar way the states of pins in a product that is reset by an on chip power on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified 3 Prohibition of Access to Reserved Addresses Access to reserved addresses is prohibited The reserved addresses are provided for the possible future expansion of functions Do not access these addresses the correct operation of LSI is not guaranteed if they are accessed 4 Clock Signals After applying a reset only release the reset line after the operating clock signal has become stable When switching the clock signal during program execution wait until the target clock signal has stabilized When the clock signal is generated with an external resonator or from an external oscillator during a reset ensure that the reset line is only released after full stabilization of the clock signal Moreove
9. de ene a e a aaa aaa aai daaa 7 Af VersSiOm MPOPMAtION Irae E E E EEE EE E S 8 R20AN0150EJ0101 Rev 1 01 Page 1 of 9 Apr 01 2014 RENESAS RL78 Family 1 Structure of This Product FFT Library Introduction Guide This product is consists of the following components 1 FFT Library V 1 00 Release 01E 2 FFT Library V 1 00 Release 01E Introduction Guide r20an0150ej0101_r178_fft pdf part number of this product ROM7800LFO010RRC Table 1 FFT library product files name Description r20an 0150 j0101_rl78_fft pdf Introduction Guide this document workspace workspace Document doc English en r20uw0099ej0101_fft pdf User s Manual r20an0150ej0101_rl78_fft pdf Introduction Guide this document Japanease ja r20uw0099jj0101_fft pdf User s Manual r20an0150jj0101_rl78_fft pdf Introduction Guide Fo CubeSuite CubeSuite FFT Library lib libfft_rl78g13 lib libfft_rl78g14 lib Assembler tuned 16 bit fixed point FFT library for RL78 G13 version 1 00 Assembler tuned 16 bit fixed point FFT library for RL78 G14 version 1 00 r_fft_int16 h FFT library header file r_stdint h Standard integer typedefs Sample program sample rl78g14_fft Sample CubeSuite project RL78 G1 4 Fo r IAR Embedded Workbench IAR FFT Library lib liofft_rl78g13 r87 Assembler tuned 16 bit fixed point FFT library for
10. eeeeeeeeeeeenneeeeeenseeeeenseeeeeeeseeeeeenseeneeseseeeeeseseeenseseenenens 3 3 4 FROM RAM Stack S126 wivccenseccscasdcceccessndesea cds ceeceeatue svacdccecesssede vous decwacsess seceavecdecousbadevecseese sousdaueoss 4 3 5 Section Information cccccsccceseeeseccssseeesesueeseaesnsseeseseeeeuonsuseseeueeauauansaeeseeuseanansasesesuenaeananseeeseees 4 BO POROFMANCE EE E seve ce E es gucecdaccesaatecedcuslsdduceuses aaueesdeducastaucd aveduddlaadhassauseauanvecs 4 Sef VeErSiOMn aioin iilo n eae E EE a ceed oedsah E Wesszeten sa saceeddstestanel seca sbddecucauseesenbedwaey 5 4 For IAR Embedded Workbench ccsscccssseccesesecsseecnseeeneesennseuenseseussennseuenaeuensesaoesseoas 6 41 Limntati ns weviiccseseccana vec teenedeussaweceueduwscevcsaws cunt lacwensuinwe sunt dace cvsdtaunuvedeuassdwcuaus vusucoudeduataeSuecuauaeusteaneeded 6 42 COrreSPOMaing MCW ar a ae a sc Ceeheeed encdtescccresauecuscussegucuenss ceatteecuccssdnaceseisssnacscateesteceetece 6 4 3 Development Environment cccccseseceeeseeeeeenseeeeeenseeeeeenseeeeeenseeeeeenseeeeeenseeeeeenseenenseseeneneeseseenens 6 4 4 RO M RAM Stack SIZ6 in ccc cccciccseccscccccscesesedececcse ssc easecccccecssasseantecenntesnedeesecuscnsesneesaeetenssnuesaudeas 7 4 5 Section Information cccccccccesesecescsssseesesueeseaeessseeseseauanonsaseseuueeaeaeansaeeseeuaeauansasssesueuauauanseseseees 7 4 6 PermOrmane iisicsccsiioseicicecceesaisceccda bce cts bans Tacceecsvd
11. egulations You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction When exporting the Renesas Electronics products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations Itis the responsibility of the buyer or distributor of Renesas Electronics products who distributes disposes of or otherwise places the product with a third party to notify such third party in advance of the contents and conditions set forth in this document Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products or if you have any other inquiries ote 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries ote 2 Renesas Electronics product s means any product developed or manufactured by or for Rene
12. gister B H MDBH Multiplication division data register C L MDCL Multiplication division data register C H MDCH e Control Register Multiplication division control register MDUC For further information please consult Chapter 14 Multiplier and Divider Multiply Accumulator RL78 G13 User s Manual Hardware 4 2 Corresponding MCU This product is specifically built with the following compiler options FFT Library for RL78 G13 core rl78_1 code_model far data_model near near_const_location rom0 e Oh library_module FFT Library for RL78 G14 core r1l78_2 code_model far data_model near near_const_location rom0 e Oh library_module 4 3 Development Environment Renesas Toolchain Requirements Please use the same or a later version of the toolchain listed below e Integrated Development Environment IAR Embedded Workbench for Renesas RL78 V1 30 02 e C compiler IAR C C Compiler for Renesas RL78 V1 30 2 50666 e Debugger IAR C SPY Debugger for RL78 V1 30 2 50666 1 30 2 50666 R20AN0150EJ0101 Rev 1 01 Page 6 of 9 Apr 01 2014 RENESAS RL78 Family 4 4 RO M RAM Stack Size The ROM RAM and stack footprints of each FFT library functions API are shown below in bytes FFT Library Introduction Guide FFT Library for RL78 G13 API ROM RAM stack R_rfft64_int16 1290 0 68 R_rfft128_int16 1542 0 68 R_rfft256_int16 2048 0 68 FFT Library for
13. ins ships etc traffic control systems anti disaster systems anti crime systems and safety equipment etc Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury artificial life support devices or systems surgical implantations etc or may cause serious property damages nuclear reactor control systems military equipment etc You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application for which it is not intended Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific ch
14. me system clock 32MHz R_rfft64_inti6 About 0 4ms R_rfft128 inti6 About 0 9ms R_rfft256_inti6 About 1 9ms FFT Library for RL78 G14 API time system clock 32MHz R_rfft64_inti6 About 0 4ms R_rfft128 inti6 About 0 9ms R_rfft256_inti6 About 1 9ms R20AN0150EJ0101 Rev 1 01 Page 4 of 9 Apr 01 2014 RENESAS RL78 Family FFT Library Introduction Guide 3 7 Version Information The application may refer the following version string of FFT library via the global variable r_fft_a_version extern const char r_fft_a_version And the data that is included in this package is below FFT Library for RL78 G13 const char r_fft_a_version FFT Library version 1 00 for RL78 Family RL78G13 Feb 24 2014 13 57 59 FFT Library for RL78 G14 const char r_fft_a_version FFT Library version 1 00 for RL78 Family RL78G14 Feb 24 2014 14 00 06 R20AN0150EJ0101 Rev 1 01 Page 5 of 9 Apr 01 2014 RENESAS RL78 Family FFT Library Introduction Guide 4 For IAR Embedded Workbench 4 1 Limitations Since RL78 G13 FFT utilizes the multiplier and divider multiply accumulator for multiply accumulate operations the application must not change the values of the following registers in its user interrupt functions e Registers Multiplication division data register A L MDAL Multiplication division data register A H MDAH Multiplication division data register B L MDBL Multiplication division data re
15. r when switching to a clock signal produced with an external resonator or by an external oscillator while program execution is in progress wait until the target clock signal is stable 5 Differences between Products Before changing from one product to another i e to a product with a different part number confirm that the change will not lead to problems The characteristics of an MPU or MCU in the same group but having a different part number may differ in terms of the internal memory capacity layout pattern and other factors which can affect the ranges of electrical characteristics such as characteristic values operating margins immunity to noise and amount of radiated noise When changing to a product with a different part number implement a system evaluation test for the given product 10 11 12 N N Notice Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information Renesas Electronics has used reasonable care in preparing the information included in this document but Renesas Electronics does not warrant
16. r and Divider Multiply Accumulator RL78 G13 User s Manual Hardware 3 2 Corresponding MCU This product is specifically built with the following compiler options qx2 common mm mi0 ng 3 3 Development Environment Renesas Toolchain Requirements Please use the same or a later version of the toolchain listed below e Integrated Development Environment CubeSuite V2 01 00 e C compiler CA78KOR V4 01 00 e Debugger RL78 Simulator Debugger Library V2 01 00 R20AN0150EJ0101 Rev 1 01 Page 3 of 9 Apr 01 2014 RENESAS RL78 Family 3 4 ROM RAM Stack Size FFT Library Introduction Guide The ROM RAM and stack footprints of each FFT library functions API are shown below in bytes FFT Library for RL78 G13 API ROM RAM Stack R_rfft64_int16 1283 0 66 R_rfft128_int16 1535 0 66 R_rfft256_int16 2041 0 66 FFT Library for RL78 G14 API ROM RAM Stack R_rfft64_int16 1247 0 66 R_rfft128_int16 1499 0 66 R_rfft256_int16 2005 0 66 3 5 Section Information The following table shows program sections segments used in each FFT library Section name Contents Section Attributes CODEL program code CSEG CNST constant data CSEG MIRRORP 3 6 Performance The following table shows FFT library s performance The processing speeds are indicated in processing time per function call FFT Library for RL78 G13 API ti
17. sas Electronics 2RENESAS SALES OFFICES Renesas Electronics Corporation http www renesas com Re er to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2801 Scott Boulevard Santa Clara CA 95050 2549 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 1101 Nicholson Road Newmarket Ontario LY 9C3 Canada Tel 1 905 898 5441 Fax 1 905 898 3220 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 585 100 Fax 44 1628 585 900 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 D sseldorf Germany Tel Tel 49 211 6503 0 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd Room 1709 Quantum laza No 27 ZhiChunLu Haidian District Beijing 100191 P R China 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Uni Te t 301 Tower A Central Towers 555 Langao Road Putuo District Shanghai P R China 200333 1 86 21 2226 0888 Fax 86 21 2226 0999 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2265 6688 Fax 852 2886 9022 9044 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei 10543 Taiwan Tel 886 2 8175 9600 Fax 886 2 8175
Download Pdf Manuals
Related Search
Related Contents
Boot Optimization Guide: Omron FQM1-MMA21 Home Security System User Manual IP440A User`s Manual マルチメディアプレーヤー 。 取扱説明書をご熟読のうえ Intelligent Parking Assist System (IPAS) Item No.: YT-M08 Jelt DY91425 Datasheet DOSSIER DE PRE QUALIFICATION D`OPERATEURS AllerAir 600 Series User's Manual Philips Economy Twister Twisted energy saving bulb 871829121711400 Clique aqui e baixe o manual do usuário Copyright © All rights reserved.
Failed to retrieve file