> Hello Joel, > > I am using Olimex LPC-E2129 development board and WinARM compiler. > > When I connect oscilloscope to TX1 pin, it only shows logical 1. > Could it be problem with the divider or something else? If you are not running any code prior to main, other than CRT startup: On power up the peripheral clock is 1/4 of the clock frequency. See register VPBDIV. Even if the divider is not correct you should still see a wiggle on the tx pin. Your code works on my IAR LPC2148 board. I dropped the code in prior to clock setup, and changed the baud pre-scaler to match my crystal. My point on debug environment: If you're trying to debug from RAM, be sure you're setting MEMMAP correctly. If it's quicker to run code from flash and not fool with MEMAP try that. Either way you need to have your debug environment setup correctly or nothing may appear to run. Joel
Message
RE: [lpc2000] Re: LPC2129 & UART1
2005-11-17 by Joel Winarske
Attachments
- No local attachments were found for this message.