Searching \ for 'SPI to PC connection' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/io/serial/spis.htm?key=spi
Search entire site for: 'SPI to PC connection'.

Truncated match.
PICList Thread
'SPI to PC connection'
1994\12\08@082326 by crocontroller discussion list

flavicon
face
Dear pic users,

I finally got the SPI port to work in the master mode on my 16c64; however,
it looks like the slave mode doesn't work.

I've been trying to capture the data using the parallel port, but I'm
having trouble synchronizing the reception of the signal.

Would I be better off trying to read the SPI port with my com: port on
my pc?  Has anyone tried this?  Do you have any source code that I could
start with?  Does a SPI to RS232 chip exist?

Any advice will be greatly appreciated.

Cheers,

Derrick Early

1994\12\08@082326 by crocontroller discussion list

flavicon
face
Dear pic users,

I finally got the SPI port to work in the master mode on my 16c64; however,
it looks like the slave mode doesn't work.

I've been trying to capture the data using the parallel port, but I'm
having trouble synchronizing the reception of the signal.

Would I be better off trying to read the SPI port with my com: port on
my pc?  Has anyone tried this?  Do you have any source code that I could
start with?  Does a SPI to RS232 chip exist?

Any advice will be greatly appreciated.

Cheers,

Derrick Early

1994\12\08@103107 by crocontroller discussion list

flavicon
face
RS232 is a connector and voltage level spec for
serial comm. Async in ASCII using RS232C is the
standard serial comm method for PC's etc. (Binary
for non text data). Do you want do go from SPI
to RS232 levels or, as I would guess, go from
SPI (Sync) to Async & RS232, to talk to a PC.

I am not aware of a Sync to Async conversion
chip (doesn't mean there ain't one out there.)
Black Box et al. sell boxes that do it, $$$$$

Good Luck,
Brian Read

1994\12\08@103107 by crocontroller discussion list

flavicon
face
RS232 is a connector and voltage level spec for
serial comm. Async in ASCII using RS232C is the
standard serial comm method for PC's etc. (Binary
for non text data). Do you want do go from SPI
to RS232 levels or, as I would guess, go from
SPI (Sync) to Async & RS232, to talk to a PC.

I am not aware of a Sync to Async conversion
chip (doesn't mean there ain't one out there.)
Black Box et al. sell boxes that do it, $$$$$

Good Luck,
Brian Read

1994\12\08@142734 by crocontroller discussion list
flavicon
face
Dear Brian and other pic gurus,

I'm trying to get SPI output into my PC, and I'd like
to do it with the least effort.  So, I'm open to
suggestions.  Right now, I'm reading the SPI output
through the parallel port on the pc, but I'm having
trouble synchronizing with the synchronized signal.

If I slow the SPI port down enough, I should be able
to solve capturing each bit, but I haven't figured
out a clever way to detect the beginning of the byte.

All the best,

Derrick Early (clueless)

1994\12\08@161443 by crocontroller discussion list

flavicon
face
>I finally got the SPI port to work in the master mode on my 16c64; however,
>it looks like the slave mode doesn't work.

Have you verified that you have both in the same mode,  same clock polarity,  et
c.?
If you're doing multi-byte transfers,  are you giving the slave enough time to
hadle the interrupt before starting a new byte?

>Would I be better off trying to read the SPI port with my com: port on
>my pc?

Nope:  the PC wants to see async data.

>Does a SPI to RS232 chip exist?

Maybe:  depending on how you're using the SPI,  it could be possible to do
SPI-to-async with a 68HC11.

Ran

More... (looser matching)
- Last day of these posts
- In 1994 , 1995 only
- Today
- New search...