Thanks Henrik and Art for your responses.
Two things that should have been revealed in my original post:
1/. The trial code using PIC12F615 was only done because I had that particular chip on hand. The proposed chip for this project is PIC12F1822
2/. The final design needs to be switch selectable between 50Hz and 60Hz
Henrik, my original intention was to use a wein bridge oscillator. The fundamentals of this type of circuit are quite straight-forward however the tricky part is the associated circuitry required to ensure a clean signal with constant amplitude. This is why I decided to go with a PIC solution.
Art, wouldn't your DT's elapsed timer solution result in a square wave output?
I the event that the FREQOUT approach did not work as expected, my fall back position has always been to use a sine wave lookup table.
I understand the concept but will need to do some more reading to fully understand the requirements and how to implement it for my application.
Cheers
Barry
VK2XBP
Bookmarks