Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] help for capture interrupt

2004-10-29 by Robert Adsett

At 01:41 AM 10/29/04 +0100, you wrote:

>Anybody can help in the following situation:
>
>in the main program I'm enable the capture interrupt and one cycle
>while(1) where I can write for UART0 keyboard character.
>
>Initially I write character of keyboard and work whith interrupt at
>same time working fine, but past one little time the program no go to
>back at cycle while(1), remaining in interrupt and then finish for
>crash!!!
>
>Now, the cycle while(1) run only while no happen one capture
>interrupt. After it happen the capture interrupt run fine but no go to
>back the cycle while(1) in function main().
>
>I think that is problem with the stack!!!

Let's start with this and ask the obvious question.  Does your startup set 
up a stack for the interrupt exception?  And how large is it?

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

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.