NCO on PIC16F1508.
Interrupts
This project uses NCO and needs an interrupt to flush the accumulator. For historical reasons I'm using ASM_INTS.BAS. This brain doesn't appear to have an FSR, and I can no longer read the left panel on http://dt.picbasic.co.uk. Which is the correct interrupt file for 16F1508? Help in setting up NCO with interrupts appreciated.
NCO
I'd already worked out div values in a spreadsheet before finding an NCO calculator on here. This works great, but assumes a default accumulator. The NCO accumulator can be loaded with more convenient values that are multiples of the divider.
The NCO is surprisingly straightforward to use but I get jitter and have to flush the accumulator, hence the interrupt. This project needs 24-25 kHz in 50 Hz steps and it's getting close.
Thanks.
Bookmarks