ASM , very impressif code,
thanks.
its always better to use the hardware than bit-banged routines and there is nothing better than a ring-buffer to overcome traffic snarls
...
there are some good ideas here
https://www.romanblack.com/DTMF/DTMF_alg.htm
Plenty fast, I'd say.
At 32MHz an instruction cycle is 125ns. That's ~1250 cycles between zero crossings.
I'm not trying to interpret/decode the data, just demodulate the signal.
Every other...
edited BaudR var word : baudr = 3313 and TRISA = 111110
1st receiving random characters
2nd normal
what could be done to avoid the first
thanks.
9997
Although it is a low frequency, still a zero cross happens every 156.2 usec for the 3.2KHz signal.
Will the pic be fast enough to process that signal? I am sure ZCD and timers will be enough, but...
I have what looks to be a 1.6/3.2kHz FSK signal that I'd like to demodulate to a bitstream using a suitable PIC.
It's a two wire system with bursts of the FSK signal riding on top of the DC supply,...
from my last edit,
' Jumpers
' J3 300 600 1200 2400 4800 9600 14400 19200 28800 38400
' 1--2 RB7 On On On On On On
' 3--4 RA2 ...
when testing baud rate, usualy I start at 300 and up
when it stopped working then I set pace = 1
and re-start from the last baud rate tested.
16F690 Xtal 20Mhz
set pace to 1
sEROUT2...
Re: serial LCD 1602 Backpack using PIC16F690 for Hitach HD44780
here's the revised baud rate test chart
jackberg1 Today, 11:269998