Hi all,
I have a Keil MCB2300 board. I tried the example code from the files
section on this site (code.lpc23xx.peripherals.uvision) and from the
Philips site (code.lpc23xx.lpc24xx.peripherals.uvision).
I set up a digital storage scope to trigger on the the falling edge
of SDA0 and SCL0 lines (P0.27 and P0.28), and they never move, but
are permanently high (I have 1K pullup resistors on those lines).
BTW, the silkscreen doesn't seem to be right on that board, or at
least it does not indicate processor pin numbers. The diagram on the
second last page of the schematic seems to be right.
I was wondering if anyone has had success with this code, or could
otherwise offer some insight.
Thanks
Dave
I2C on LPC2368 - example code doesn't work for me
Started by ●March 20, 2007
Reply by ●March 21, 20072007-03-21
To close on this: it was a wiring error.
Sorry for the noise.
Dave
--- In l..., "foreigner_ca" wrote:
>
> Hi all,
>
> I have a Keil MCB2300 board. I tried the example code from the
files
> section on this site (code.lpc23xx.peripherals.uvision) and from
the
> Philips site (code.lpc23xx.lpc24xx.peripherals.uvision).
>
> I set up a digital storage scope to trigger on the the falling edge
> of SDA0 and SCL0 lines (P0.27 and P0.28), and they never move, but
> are permanently high (I have 1K pullup resistors on those lines).
>
> BTW, the silkscreen doesn't seem to be right on that board, or at
> least it does not indicate processor pin numbers. The diagram on
the
> second last page of the schematic seems to be right.
>
> I was wondering if anyone has had success with this code, or could
> otherwise offer some insight.
>
> Thanks
> Dave
>
Sorry for the noise.
Dave
--- In l..., "foreigner_ca" wrote:
>
> Hi all,
>
> I have a Keil MCB2300 board. I tried the example code from the
files
> section on this site (code.lpc23xx.peripherals.uvision) and from
the
> Philips site (code.lpc23xx.lpc24xx.peripherals.uvision).
>
> I set up a digital storage scope to trigger on the the falling edge
> of SDA0 and SCL0 lines (P0.27 and P0.28), and they never move, but
> are permanently high (I have 1K pullup resistors on those lines).
>
> BTW, the silkscreen doesn't seem to be right on that board, or at
> least it does not indicate processor pin numbers. The diagram on
the
> second last page of the schematic seems to be right.
>
> I was wondering if anyone has had success with this code, or could
> otherwise offer some insight.
>
> Thanks
> Dave
>
Reply by ●March 25, 20072007-03-25
Try the same thing with changing the pull up from 1k to 22k if you are using
one master device and slave device.
for more no. of device make the pull up like 50/Rp k where Rp is no. of
device connected to I2C line
On 3/21/07, foreigner_ca wrote:
>
> To close on this: it was a wiring error.
>
> Sorry for the noise.
>
> Dave
>
> --- In l... , "foreigner_ca"
> wrote:
> >
> > Hi all,
> >
> > I have a Keil MCB2300 board. I tried the example code from the
> files
> > section on this site (code.lpc23xx.peripherals.uvision) and from
> the
> > Philips site (code.lpc23xx.lpc24xx.peripherals.uvision).
> >
> > I set up a digital storage scope to trigger on the the falling edge
> > of SDA0 and SCL0 lines (P0.27 and P0.28), and they never move, but
> > are permanently high (I have 1K pullup resistors on those lines).
> >
> > BTW, the silkscreen doesn't seem to be right on that board, or at
> > least it does not indicate processor pin numbers. The diagram on
> the
> > second last page of the schematic seems to be right.
> >
> > I was wondering if anyone has had success with this code, or could
> > otherwise offer some insight.
> >
> > Thanks
> > Dave
>
--
sandip chudasama
CESES
one master device and slave device.
for more no. of device make the pull up like 50/Rp k where Rp is no. of
device connected to I2C line
On 3/21/07, foreigner_ca wrote:
>
> To close on this: it was a wiring error.
>
> Sorry for the noise.
>
> Dave
>
> --- In l... , "foreigner_ca"
> wrote:
> >
> > Hi all,
> >
> > I have a Keil MCB2300 board. I tried the example code from the
> files
> > section on this site (code.lpc23xx.peripherals.uvision) and from
> the
> > Philips site (code.lpc23xx.lpc24xx.peripherals.uvision).
> >
> > I set up a digital storage scope to trigger on the the falling edge
> > of SDA0 and SCL0 lines (P0.27 and P0.28), and they never move, but
> > are permanently high (I have 1K pullup resistors on those lines).
> >
> > BTW, the silkscreen doesn't seem to be right on that board, or at
> > least it does not indicate processor pin numbers. The diagram on
> the
> > second last page of the schematic seems to be right.
> >
> > I was wondering if anyone has had success with this code, or could
> > otherwise offer some insight.
> >
> > Thanks
> > Dave
>
--
sandip chudasama
CESES