Yahoo Groups archive

Lpc2000

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

Thread

Rép. : [lpc2000] I2C interrupt

Rép. : [lpc2000] I2C interrupt

2004-08-25 by Jean-Baptiste Houdry

Hi

I use I2c with interrupt and it's work fine

example of my code in new0001.c

jean-baptiste

>>> anotheruglygeek@... 24/08/04 17:40:16 >>>
I am having problems getting the I2C interrupt to work.  I have setup 
the VIC to enable the I2C interrupt (channel 9) in exactly the same 
way I have setup all the other interrupts (which work).

I can see that the SI bit is getting set correctly - and I can use 
the I2C interface by polling this - but the ISR is not executing.  

Does the I2C interrupt have to be enabled anywhere else or is setting 
up the VIC enough?  The UART requires an enable bit to be set also 
but I cannot find an equivalent for I2C.

The samples in the files section seem to also use polling.  Any help 
appreciated.

Thanks!


Yahoo! Groups SponsorADVERTISEMENT

Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/ 
  To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]

Re: Rép. : [lpc2000] I2C interrupt

2004-08-25 by Ken

Hi,

Thanks for the info - where can I get a copy of the source file?  I 
have looked in the files section but cannot see it.

Regards.

--- In lpc2000@yahoogroups.com, "Jean-Baptiste Houdry" <jean-
baptiste.houdry@s...> wrote:
> Hi
> 
> I use I2c with interrupt and it's work fine
> 
> example of my code in new0001.c
> 
> jean-baptiste
> 
> >>> anotheruglygeek@y... 24/08/04 17:40:16 >>>
> I am having problems getting the I2C interrupt to work.  I have 
setup 
> the VIC to enable the I2C interrupt (channel 9) in exactly the same 
> way I have setup all the other interrupts (which work).
> 
> I can see that the SI bit is getting set correctly - and I can use 
> the I2C interface by polling this - but the ISR is not executing.  
> 
> Does the I2C interrupt have to be enabled anywhere else or is 
setting 
> up the VIC enough?  The UART requires an enable bit to be set also 
> but I cannot find an equivalent for I2C.
> 
> The samples in the files section seem to also use polling.  Any 
help 
> appreciated.
> 
> Thanks!
> 
> 
> Yahoo! Groups SponsorADVERTISEMENT
> 
> Yahoo! Groups Links
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/lpc2000/ 
>   To unsubscribe from this group, send an email to:
> lpc2000-unsubscribe@yahoogroups.com 
>   Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
Show quoted textHide quoted text
> 
> 
> 
> [Non-text portions of this message have been removed]

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.