DSPRelated.com
Forums

SDA&SCK of 5502 keeps low after configuration

Started by myco...@163.com November 14, 2008
hello everyone,i have some problem when using i2c of 5502.
i just want to send data to some other system,but i can't configure it properly.and no data is on SDA&SCK.When I put i2c out of reset state,both SDA&SCK go low,and i do not know why.
i try to use the exammple of CSL of 5502,but it does not work either.i can see there is only 1 byte data and clock,and then SDA&SCK go low again.

can any body show me the right way to configure the i2c as a master? If you have some sucessful example,that is much better.thanks a lot
I think the problem is come from the I2C of the other system because at
idel, both the two lines (SCK,SDA) should be high.
--- In c..., mycotty@... wrote:
>
> hello everyone,i have some problem when using i2c of 5502.
> i just want to send data to some other system,but i can't configure
it properly.and no data is on SDA&SCK.When I put i2c out of reset
state,both SDA&SCK go low,and i do not know why.
> i try to use the exammple of CSL of 5502,but it does not work
either.i can see there is only 1 byte data and clock,and then SDA&SCK
go low again.
>
> can any body show me the right way to configure the i2c as a master?
If you have some sucessful example,that is much better.thanks a lot
>
Here's a link to a similar question on this list, which might help you out:
http://www.dsprelated.com/groups/c55x/show/1497.php

The example code at least worked for that person (and myself obviously).

HTH,
Sima

On Fri, Nov 14, 2008 at 2:40 AM, wrote:

> hello everyone,i have some problem when using i2c of 5502.
> i just want to send data to some other system,but i can't configure it
> properly.and no data is on SDA&SCK.When I put i2c out of reset state,both
> SDA&SCK go low,and i do not know why.
> i try to use the exammple of CSL of 5502,but it does not work either.i can
> see there is only 1 byte data and clock,and then SDA&SCK go low again.
>
> can any body show me the right way to configure the i2c as a master? If you
> have some sucessful example,that is much better.thanks a lot
>
>
>