BAUDCON does not appear in 628 or 628a data sheet.
MisterE Multicalc shows
Registers
RCSTA = $90 ' Enable serial port & continuous receive
TXSTA = $24 ' Enable transmit, BRGH = 1
SPBRG =...
Since I've almost finished development of this clock, including hardware side, and I want to post an instructable, I want to make my code a bit tidy also. I have made several screen update routines,...
CuriousOne Yesterday, 19:26For a 4Mhz timing at 9600 baud
Register settings
RCSTA = $90 ' Enable serial port & continuous receive
TXSTA = $20 ' Enable transmit, BRGH = 0
SPBRG = 25 ' 9600 Baud @ 0.16%...
Your serial circuit diagram/connection details would help - what is connected to the TX line ?
Is it just TX that is the problem ? have you tried RXing ?
Have you tried lower rates ?
Do you...
By Xtal, do you mean that an external 4Mhz crystal with two caps like 22pf?
sayzer Yesterday, 06:32I have ..... Still intermittent coms 🙄
andybarrett1 - 18th February 2019, 22:52Hi All
Attempting to get some serial communication working with a 16f628 (4Meg Xtal) My defines are as below :-
DEFINE OSC 4
DEFINE HSER_TXSTA 24h
DEFINE HSER_RCSTA 90h
DEFINE HSER_BAUD...
Re: Need to drive 40 pins on variable change, is there a way to do it in elegant way?
Probably yes. But it depends on how you write code.
pedja089 Yesterday, 22:59Looks great!