RE: RS232 to SPI converter.

"Tarascio, Tony" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <415135EE0A9D1146928125CB9A0B7A4E0432E7A9@pecsex02.goodrich.root.local>
I'm not aware of any that are commercially manufactured, but I have been in situations where early "check out" (test) of an SPI slave (i.e., before the master code was ready) was desired. An RS232-to-SPI converter enables such a test to be performed.

You can make one with a small, single-chip PIC microcontroller that has both a serial port and an SPI port, and a minimalist bit of software. This took an afternoon to build, and a day or so to program, in my case.

Use a DIP switch to configure the SPI parameters, or use a special escape sequence to do so.
I used a serial line BREAK condition to escape a command byte.

All other bytes (not following a break) were passed through transparently.

Good luck!

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, June 22, 2005 1:35 PM
To: [email protected]
Subject: [MPC500] RS232 to SPI converter.


Dear friends,

Could you let me know where I may find RS232 to SPI converter? Your help is greatly appreciated.


John


-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links



 





-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.