Oh, you can transmit a 0 ok, it's just that the PC may strip NULs (0's) from the input stream. It just comes back down to what software you are using to receive. But since I don't know what you are using I can't help. :) BTW, try transmiting 0's from the PC back to the PC to test that end. Elimination is the 1st part of debugging. *Peter* soren_t_hansen 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\ufffdren >
Message
Re: [lpc2000] Problems with UART1 on LPC2132
2005-06-20 by Peter Jakacki