Yahoo Groups archive

Lpc2000

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

Message

LPC2294 I2C master problem

2005-06-20 by Boris Kralik

Hi all.
I want to use I2C bus on LP2294, I initialize bus, set the baud rate
(I2C_I2SCLL = 50;I2C_I2SCLH = 50;//BR=24000kHz/100=240kBd) and now I
want to set slave address, SCL go low, SDA stays in high, I set STA in
SET register (I2C_I2CONSET = STA) and I wait, while I2C_I2STAT!=0x08.
Next I set slave address, clear I2C interrupt bit, I am using I2C
interrupt, the interrupt frequently occurs with I2_I2STAT=0x30,
I2C_CONSET=0x48 and SCL don't want to oscilate. When may be problem,
please help. Thanks.

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.