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
>
>
>
Reply by swding●November 16, 20082008-11-16
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 >
Reply by myco...@163.com●November 14, 20082008-11-14
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