PS2 port interfacing to BS2?
johnny_b
Posts: 28
Hi,
So far, I have been using rs232 barcode readers (SERIN). New challenge: PS2 port.
Is it possible to interface a BS2 (sx, p...) with it, using e.g. SHIFTIN?
Anyone has a sample code (+schematics)?
thanx, Johnny
btw, the direct interfaced graphics display (128x64)+BS2sx project works fine now,
first succesful trial application is a 40Hz oscilloscope ;-)
Sample code, schematics anyone? ;-)
·
So far, I have been using rs232 barcode readers (SERIN). New challenge: PS2 port.
Is it possible to interface a BS2 (sx, p...) with it, using e.g. SHIFTIN?
Anyone has a sample code (+schematics)?
thanx, Johnny
btw, the direct interfaced graphics display (128x64)+BS2sx project works fine now,
first succesful trial application is a 40Hz oscilloscope ;-)
Sample code, schematics anyone? ;-)
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://members.rogers.com/steve.brady
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
You won't be able to use the pbasic SHIFTIN function because it does not allow itself to
be externally clock driven. However you should be able to roll your own SHIFTIN function
that would allow you to provide an external clock. Don't be afraid to look at some micro
controller (PIC) code that does this, it shouldn't be to difficult to convert it to pbasic. I might
be able to dig up some old code that I have. What might also help is to "scope" your PS2
clock and data signals to get a better feel as to what is going on, and what needs to be done
from the software end.
-Beau Schwabe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
from PIC to BS2 to forget this misery... Anyway, I am about to buy an SX-kit, maybe
that can be a nice and balanced solution to these low-end problems.
Thanx, Johnny
·