Artem wrote: >
> I found bug in my brain. SDA and SCL pins was short-circuited at my
> bearish homemade board. I'll call LPC to notify them that I'm
looser.
> Topic is closed. Kill me, please. :(
I'm very glad you have a sense of humour about this :-) Welcome
to the group!
Russia, Siberia, the snowbound house in snowbound forest with bears and wolfs.
But after I spend some sleepless nights, you will not distinguish me from a wild
animal ;)
Don't Terminators somehow find addresses without asking their mark
directly? [Lame, I know, I bent things a bit...]
--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks V2 is out for LPC1700, LPC3100, LPC3200, SAM9, and more!
Reply by Dario Greggio●March 9, 20102010-03-09
Artem ha scritto: >
> Topic is closed. Kill me, please. :( ok, address?? :)))
--
Ciao, Dario
--
Cyberdyne
Reply by Artem●March 9, 20102010-03-09
I found bug in my brain. SDA and SCL pins was short-circuited at my bearish
homemade board. I'll call LPC to notify them that I'm looser. Topic is
closed. Kill me, please. :(
--- In l..., Ralph Hempel wrote: >
> Artem wrote:
> >
> > As I said in first post, bits in PCONP are set correctly
>
> Looks like you may have found a silicon bug.
>
> Call your local LPC rep and make sure that they notify all
> their customers around the world that this basic function is
> not working correctly.
>
> They may have to explain to customers that insist that it is
> working fine for them that they are mistaken.
>
> Ralph
>
Reply by Ralph Hempel●March 9, 20102010-03-09
Artem wrote: >
> As I said in first post, bits in PCONP are set correctly
Looks like you may have found a silicon bug.
Call your local LPC rep and make sure that they notify all
their customers around the world that this basic function is
not working correctly.
They may have to explain to customers that insist that it is
working fine for them that they are mistaken.
Ralph
Reply by Artem●March 9, 20102010-03-09
As I said in first post, bits in PCONP are set correctly
--- In l..., "rtstofer" wrote: >
> Did you turn on the I2C gadget in PCONP? Your code snippet doesn't show
this.
>
> Richard
>
Reply by rtstofer●March 9, 20102010-03-09
--- In l..., "Artem" wrote: >
> I've connected I2C0 and I2C1 pins and tried communication. Still
doesn't work... Did you turn on the I2C gadget in PCONP? Your code snippet doesn't
show this.
Richard
Reply by Artem●March 9, 20102010-03-09
I've connected I2C0 and I2C1 pins and tried communication. Still
doesn't work...
// Initialize VIC for I2C use
VICIntSelect=0x0; // selecting IRQ
VICIntEnable= (1<<9)|(1<<19); // enabling I2C
// enable interface
I2C0CONSET = BIT(I2CON_I2EN);
I2C0CONSET = BIT(I2CON_STA);
while(I2C0STAT == TW_NO_INFO);
uart0Puts("Got start condition !\n"); // Every night I dream of this
execution