RS232 to I2C/SPI

trigger

Aug 7, 2004
236
Joined
Aug 7, 2004
Messages
236
I am thinking of a circuit where I can give out I2C/SPI commands/data to some ICs (like 24Cxx, some RF PLL, ADC, etc) through RS232 port on my PC. That will enable me to try some command codes or build test jigs.

Anyone get ideas?

 

trigger

Aug 7, 2004
236
Joined
Aug 7, 2004
Messages
236
thanks Suraj,

But those programmers are using parallel port instead of serial port.
I also come to some parallel-to-I2C circuits, with complete source code.
May be I have to use an MCU to translate the serial data to I2C/SPI.
Anyway, thanks for advice.
I will post something out once I got some progress.
;D

 

IanP1

Oct 23, 2004
18
Joined
Oct 23, 2004
Messages
18
You can use CPU such as 87C654 or similar which have UART for RS-232 and I2C interface. In www.semiconductors.philipc.com you will find several application notes on I2C protocol (ready to go).
Don't forget about RS-232 driver (MAX202 + 4x 100nF caps). ::)

 

surajbarkale

Aug 5, 2004
256
Joined
Aug 5, 2004
Messages
256
;D WAKE UP DUDE ;D
Atleast visit the sites posted. The JDM programmer uses serial port only & though Ponyprog used Parallel port in an early revision, it is using serial port now & source code for linux is available. There are multitude of programmers out there which do the programming using serial port for PIC or AVR you can use any one of them as referance. They don't use the TxD & RxD lines anyway but directly modify hardware registers to generate necessary waveforms on other pins (like DTR). Anyway if you want to use a microcontroller go for an 8 pin PIC or AVR. This is a perfect application for such a microcontroller.

 
Last edited by a moderator:

trigger

Aug 7, 2004
236
Joined
Aug 7, 2004
Messages
236
Suraj,
Woo...... I am a bit of awaken with your knock on my head :p ;D

I am now studying those information now....

And I want to work this out as I think it will be a nice tools for development......

Trigger

 
Last edited by a moderator:

Similar threads

Top