Forums

UART0 UART1 interrupt conflict

Started by yunhebian June 15, 2010
In a program, timer0, UART0 and UART1 can run separatly without problem. But they only run several minutes if they are enabled together. I noticed there are no interrupt generated when the three failed. Anyone has this experience?

Thanks,

An Engineer's Guide to the LPC2100 Series

LPC 2106 and 2129: No problems for me. I use the older (non-Fast) VIC vectors.
UART0 runs at 57.6Kbaud
UART1 runs at 115Kbaud - very busy
Timer: one at 100 interrupts per second (task scheduler/time)

No problems.
--- In l..., "yunhebian" wrote:
>
> In a program, timer0, UART0 and UART1 can run separatly without problem. But they only run several minutes if they are enabled together. I noticed there are no interrupt generated when the three failed. Anyone has this experience?
>
> Thanks,
>

I run both uarts at 38400, and task timer at 65,536 interrupts a
second, a second timer that's triggered at 4096 Hz with pwm durations
of 3-21 uS, and also use a capture timer. No problems running forever
- they have to.

You probably have a memory leak, or a stray pointer. What compiler
are you using?

DaveS

On Wed, Jun 16, 2010 at 8:16 PM, stevec wrote:
>
> LPC 2106 and 2129: No problems for me. I use the older (non-Fast) VIC vectors.
> UART0 runs at 57.6Kbaud
> UART1 runs at 115Kbaud - very busy
> Timer: one at 100 interrupts per second (task scheduler/time)
>
> No problems.
> --- In l..., "yunhebian" wrote:
>>
>> In a program, timer0, UART0 and UART1 can run separatly without problem. But they only run several minutes if they are enabled together. I noticed there are no interrupt generated when the three failed. Anyone has this experience?
>>
>> Thanks,
>>
>