Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] UART RXD problem

2004-02-24 by microbit

Hi Helge,

Are you receiving polled or interruot driven ?
One possibility might be that your pointer is not advancing and thus
overwrites
received chars, so you only have the last RXd char in buffer ?
Can you put a breakpoint where you receive char, so it should break on 1st
char received, and then you can go from there.

B rgds
Kris

----- Original Message -----
From: "Helge Fabricius-Hansen" <helge.fabricius@...>
To: <lpc2000@yahoogroups.com>
Sent: Tuesday, February 24, 2004 5:06 PM
Subject: [lpc2000] UART RXD problem


> Hi,
>
> I have a problem with the Uart of the LPC2106.
>
> When receiving datablocks from a PC (9600,N,8,1) all data except the
> last byte is ignored. If I switch to (9600,N,8,2) on the PC it works.
>
> The LPC2106 is set for (9600,N,8,1).
>
> I am transmitting 6 databytes: "FF FF 01 00 7F FE" from the PC and
> the only thing received is: "FE"
>
> If I use a terminal all characters are received as the should.
>
> I have tried different settings on the FIFO but the result is the
> same...
>
> Any clues??
>
> //Helge
>
>
>       Yahoo! Groups Sponsor
>             ADVERTISEMENT
>
>
>
>
>
> --------------------------------------------------------------------------
------
> Yahoo! Groups Links
>
>   a.. To visit your group on the web, go to:
>   http://groups.yahoo.com/group/lpc2000/
>
>   b.. To unsubscribe from this group, send an email to:
>   lpc2000-unsubscribe@yahoogroups.com
>
>   c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>

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.