《'Digital SineWave Generation Using the (u201C数字SineWave代使用)》由会员分享,可在线阅读,更多相关《'Digital SineWave Generation Using the (u201C数字SineWave代使用)(160页珍藏版)》请在金锄头文库上搜索。
1、C0068C0105C0103C0105C0116C0097C0108 C0083C0105C0110C0101C0262C0087C0097C0118C0101 C0071C0101C0110C0101C0114C0097C0116C0105C0111C0110C0085C0115C0105C0110C0103 C0116C0104C0101 C0084C0077C0083C0051C0050C0048C0067C0050C0120C0120ApplicationReport1998 Digital Signal Processing SolutionsPrinted in U.S.A.,
2、July 1998 SPRA1791998ReportApplicationC0085C0115C0105C0110C0103C0032C0116C0104C0101C0032C0084C0077C0083C0051C0050C0048C0067C0050C0120C0120 C0068C0105C0103C0105C0116C0097C0108C0032C0083C0105C0110C0101C0262C0087C0097C0118C0101C0032C0071C0101C0110C0101C0114C0097C0116C0105C0111C0110Digital Sine-Wave Gen
3、erationUsing the TMS320C2xxSPRA179July 1998Printed on Recycled PaperIMPORTANT NOTICETexas Instruments and its subsidiaries (TI) reserve the right to make changes to their productsor to discontinue any product or service without notice, and advise customers to obtain the latestversion of relevant inf
4、ormation to verify, before placing orders, that information being relied onis current and complete. All products are sold subject to the terms and conditions of sale suppliedat the time of order acknowledgement, including those pertaining to warranty, patentinfringement, and limitation of liability.
5、TI warrants performance of its semiconductor products to the specifications applicable at thetime of sale in accordance with TIs standard warranty. Testing and other quality controltechniques are utilized to the extent TI deems necessary to support this warranty. Specific testingof all parameters of
6、 each device is not necessarily performed, except those mandated bygovernment requirements.CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVEPOTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY ORENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). TI SEMICONDUCTORPRODUCTS ARE NOT DES
7、IGNED, AUTHORIZED, OR WARRANTED TO BE SUITABLE FORUSE IN LIFE-SUPPORT DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS.INCLUSION OF TI PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLYAT THE CUSTOMERS RISK.In order to minimize risks associated with the customers applications, adequate design
8、andoperating safeguards must be provided by the customer to minimize inherent or proceduralhazards.TI assumes no liability for applications assistance or customer product design. TI does notwarrant or represent that any license, either express or implied, is granted under any patent right,copyright,
9、 mask work right, or other intellectual property right of TI covering or relating to anycombination, machine, or process in which such semiconductor products or services might beor are used. TIs publication of information regarding any third partys products or services doesnot constitute TIs approva
10、l, warranty or endorsement thereof.Copyright 1998, Texas Instruments Incorporatediii Digital Sine-Wave Generation Using the TMS320C2xxContents1 Introduction 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11、2 Direct Look-Up and Linear Interpolation Method 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1 C- and Assembly-Compatible Functions 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 C-Compatible Functions 2. . . . . . . . . . .
12、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.2 Assembly-Compatible Functions 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Interpolation 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13、. . . . . . . . . . . . . . . . . . . 2.3 Functions 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4 System Utilization 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
14、 . . . . . . . . . . . . . . . . . 2.5 Sine-Generation Precision 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.1 One-Sine-Period Analysis 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.
15、2 Quarter-Sine-Period Analysis 7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Sine/Cosine With Mathematical Series 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1 C- and Assembly-Compatible Functions 10. . .
16、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 C-Compatible Functions 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.2 Assembly-Compatible Functions 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Sine/Cosine Mathematical Series 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Functions 11. . . .