Parallel port to SPI?
Parallel port to SPI?
(OP)
I want to be able to use PC's parallel port to communicate with SPI interface of microcontrollers. I searched the web and could not find a very good solution. It could be a off-the-shelf small board with software.
Anyone can help me on this?
Thanks in advance.
Anyone can help me on this?
Thanks in advance.





RE: Parallel port to SPI?
bidirectional parallel interface card.
<nbucska@pcperipherals.com>
RE: Parallel port to SPI?
RE: Parallel port to SPI?
RE: Parallel port to SPI?
i use visual basic....but other also can...
what you have ti do is..
1. assign the parallel port with spi specs..eg:
pin 2(D0) = reset
pin 3(D1) = mosi
pin 4 (D2)= sck
pin x (s0)= miso -->cannot remamber the status port:parallel port input by defaut.
then..
2.write a program to send and receive from spi line...bit by bit.
eg:
for i=0 to 32
outport (data,binary:00000010);sck = 0
outport (data,binary:00000010);sck = 1
miso =inport (status)and binary:00000001
next i
but before you can transmit....must have a function to convert data you have into 8 bit parallel port,bit by bit...
RE: Parallel port to SPI?
RE: Parallel port to SPI?
Richard