DSPRelated.com
Forums

RS232 or I2C to ADSP

Started by ezhil_selvam February 6, 2005


Hi,

I have a CAN module, which transmits the signals either via IC or
RS232 (57600 Baud) and i would like to interface this to Sharc
processor ADSP-21364 (which doesn't have I2C).

Could anyone help, how to interface the two modules.

Thanx and Regards,
Selvam



On Sun, 6 Feb 2005, ezhil_selvam wrote:

> I have a CAN module, which transmits the signals either via IC or
> RS232 (57600 Baud) and i would like to interface this to Sharc
> processor ADSP-21364 (which doesn't have I2C).
>
> Could anyone help, how to interface the two modules.

You have to "bit bang" it. Use some flag bits on the 21364 to toggle the
I2C lines. The processor is probably 100 times faster than the I2C line
(maybe 1000?) so you can use a timer interrupt to flip the bits to the
next state. A lot of book keeping detail, but actually really easy to do.

Patience, persistence, truth,
Dr. mike




I agree with Dr Mike,
the following link will take you to the philips IC page
from where you can download the specification.
http://www.semiconductors.philips.com/markets/mms/protocols/i2c/

good luck
Rainer