C Code for Numerically Controlled Oscillator

L

Thread Starter

Laurie Biddulp

I have an application that requires dual NCOs with the ability to apply a number of modulation options. Can someone point me in the direction of some C code (or ASM for the Mitsubishi M16C) that will generate an NCO that I can then apply (through software) frequency modulation and pulse-width modulation (I only need a squarewave output)?
 
You should look at Circuit Cellar (www.circuitcellar.com) for the articles by Tom Napier - they are excellent.
I also have some simple code that works quite well on the PIC - reply to me and I'll send it to you - it can be done with a few lines of C!

J.G.
 
T
Dear Sir,

I am looking for the c code for numerically controlled Oscillator. anybody having means inform me.

with regards
manu
 
Sorry I haven't got back earlier but hasve been snowed under. Would appricate a copy of your code if still on offer.
 
Top