Hi,
If you have WORD sized variable and specify 12bits, MSBFIRST, one might think that it would shift out bits 15-4 but it doesn't. It shifts out bits 11-0. With LSB first it shifts out bits 0-11. ...
In the PBP3 manual there is this paragraph:
SHIFTOUT is a software-based command and does not require that the target device have synchronous serial capability. The ClockPin and DataPin parameters...
Probably yes. But it depends on how you write code.
Looks great!
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...
Re: Hserout questions
Hi All
andybarrett1 Today, 09:24Thanks for all your advice guys.... Turns out I was right with the defines except the 9600 should have been 9615
The thing that fixed it all was putting a small delay (pause 100) between...