CMP - United Business Media TechOnline
All Articles Products Courses Papers VirtuaLabs Webinars Web



 
LoginRegister
      TechOnline > Electronics Company Directory > Technical Paper
Technical Papers
Efficient Fixed-Point Trigonometry Using CORDIC Functions For PIC16F

Click to Download
pdf logo
Application Note
311 KB (12 pages)
February 08, 2006
 

Jose Benavides
Microchip Technology

This application note presents an implementation of the following fixed-point math routines for the PIC16F microcontroller families: SIN(X), COS(X), and ATAN(X). Coordinate Rotation Digital Computer (CORDIC) transforms are a collection of iterative, shift-add algorithms used to compute a wide range of trigonometric and hyperbolic functions on a digital computer.

With proper modification, these routines can also be used to implement the sin-1, cos-1, polar/rectangular coordinate conversion, hyperbolic, and even multiply/divide functions. The structure of the CORDIC transform lends itself to hardware implementations. Typical applications of the CORDIC transform include FPGA-based applications; however, the software-based CORDIC algorithm presented in this application note will provide a sufficient performance improvement for most applications.

 
Rate this paper
WORSE | BETTER
1 2 3 4 5

submit a paper

Microchip Technology
   

TECH PAPER
1. Use Rowley CrossWorks and the MAXQ3120 Evaluation Kit to Create a Light Meter Application

TECH PAPER
2. System ACE Configuration Solution for Xilinx FPGAs

TECH PAPER
3. Interface Products Design Guide

TECH PAPER
4. Maintaining Data/Clock Synchronization with Spread-Spectrum EMI Reduction