Yahoo Groups archive

Lpc2000

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

Message

Re: Problems with UART1 on LPC2132

2005-06-20 by Carsten Grøn

Hi Søren,

well, that would be the first UART if that was the case :-)
What are you using for reception on the PC end ?
And. have you measured the TX line from the ARM to see if the '0' is 
actually sent (or not) ?

Regards,
Carsten Grøn
http://www.moonbounce.dk



--- In lpc2000@yahoogroups.com, "soren_t_hansen" 
<soren_t_hansen@y...> wrote:
> Hi everybody
> 
> I want to transmit a number og bytes on UART1 and some of them are 
0.
> When I receive the bytes on the PC, all the 0s are gone, resulting 
in
> an error on that side. 
> 
> I use the following to transmit the bytes:
> 
> while (!(U1LSR & 0x20));
>    U1THR = buffer[i];
> 
> Isn't possible to transmit a 0?
> 
> Best Regards
> Søren

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.