Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to generate sine table in pic16f873 in c programming

Status
Not open for further replies.

sme7000

Newbie level 6
Joined
Dec 16, 2009
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
malaysia
Activity points
1,387
i want to generate sinusoidal wave using sine table in ccp mode. i want to use 10 point per half cycle using natural sampling method..this point are store in sine table and can be call for anytime to do another jobs..(in my project this point are compare with triangular wave to produce a PWM wave). can anybody help me to create a sine table to store this point?:?:
 

Microchip have a free program, 'dsPICworks Data Analysis', which you can download from here:

**broken link removed**

You can use it to generate waveform tables.
 

what this value stand for? what is this value main function?
 

can you please explain the method of generating spwm and if you can ,please post the code of spwm 50 hz for pic18......
 

You can find details on the method here:

tahmidmc.blogspot.com/2011/01/generation-and-implementation-of-sine.html
Tahmid's blog

Hope this helps.
Tahmid.
 
  • Like
Reactions: jon

    jon

    Points: 2
    Helpful Answer Positive Rating
Dear Tahmid, Thanks for your very informative article "Generation and Implementing Sinewave Table". The pdf file on ifile.it no longer exists. can you give alternate source to download this. And my real question now is how you got those formulae for calculating the PWM Period ,PR2 values. Can you please describe in detail about those formulae.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top