Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] UART TX FIFO, INTs problem

2004-02-18 by microbit

Well, go figure.
Is there something wrong with directly writing to UOIER
to turn THRE INts on and off ?
This is what I sed :
Write 0x01 to U0IER (disable THRE Int, leave RDA)
Write to tx_chars
Write 0x03 to U0IER (THRE and RDA enabled again)
The first line, 0x01 -> U0IER was causing the resets.
When I globally disable and then re-enable INTs in CPSR instead, it works
perfect, I should have tried that first... hmm
I'm not using any other Interrupts, so I can't see why the writes to
turn THRE on and off directly in U0IER shouldn't work.
Anyone ?
-- Kris

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.