This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Do any of the ARM LPCxxxx serial functions work?
- From: Brett Delmage <Brett dot Delmage at twobikes dot ottawa dot on dot ca>
- To: ECOS mailing list <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 21 Apr 2006 16:29:09 -0400 (EDT)
- Subject: [ECOS] Do any of the ARM LPCxxxx serial functions work?
- Reply-to: Brett Delmage <Brett dot Delmage at twobikes dot ottawa dot on dot ca>
I wonder if anyone actually has interrupt-driven serial output working on
any of the ARM Philips LPCxxxx based targets?
I am not getting serial output to start.
The problem I see is in
ser_16x5x.c pc_serial_start_xmit()
The Philips docs state that the UART will not generate a Transmit Holding
Register Empty interrupt unless it has had at least two charcters put into
the FIFO. Then it will set the interrupt flag on the transition to empty.
However Ecos just enables the THRE interrupt, which is insufficient to
cause an initial interrupt.
Brett
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss