Hey guys looking for some input here....
I'm looking for the easiest way to convert rs232/sci to a spi signal.
Background:
I'm using a microcontroller Motorola s12 series that only has one SCI port that will be used for programming/sending data to a pc. I'm also trying to use the maxbotix sensors that are often advertised in nv. If I use rs232 I can poll all sensors at once instead of each on individually. My dev board has an open spi port so I'd like to do it that way. Or is it just easier to write a serial software driver using capture/compare channels.
Thanks
SCI/RS232 <=> SPI
You could use a SPI UART chip to add a new serial channel to the micro, like the max3100.
Depending on the traffic, you could multiplex the SCI to 2 RS232 drivers with a couple of gates so you could switch between the PC and the sensors.
TOK
Depending on the traffic, you could multiplex the SCI to 2 RS232 drivers with a couple of gates so you could switch between the PC and the sensors.
TOK
Gorgon the Caretaker - Character in a childrens TV-show from 1968.
Who is online
Users browsing this forum: Majestic-12 [Bot] and 29 guests