Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] I2C help for LPC2148

2006-03-08 by Aalt Lokhorst

Hello Sutton,

I think you need to clear the STA-bit after getting the 0x08 status.

Success,

-- 
==============================
Aalt Lokhorst
Schut Geometrische Meettechniek bv
Duinkerkenstraat 21
9723 BN Groningen
P.O. Box 5225
9700 GE Groningen
The Netherlands
Tel: +31-50-5877877
Fax: +31-50-5877899
E-mail: Lokhorst@...
==============================

> Here's the result:
> 
> After issuing a START command, I do get a 0x08 in the I2C0STAT
> register (indicating START sent).  Then, I put the chip address in the
> I2C0DAT register (0x40) which includes the Write bit in Bit 0.  I,
> then, clear the SI bit.  But, I still get an 0x08 in the I2C0STAT
> register.  I can never get anything else.  I tried clearing the SI bit
> before putting the address on the bus, but still I get an 0x08.  Any
> ideas what I am doing wrong in the sequence?  Thanks.
> 
> Sutton

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.