Newlib-lpc exmaples and baud rate
2004-10-10 by ggindele
I started on a LPC2124 with 10MHz xtal, and none of the newlib-lpc examples picking up the right baud rate. (of course after adjusting SetNativeSpeed). Then I tried the UT040803A example, no luck on 10MHz. Then I throw in a 14.7456MHz xtal, and the UT040803A is working OK now. But the newlib-lpc examples still not picking up the right baud rate. This is how it's configured: SetNativeSpeed(14746uL); sp.baud = 115200uL; sp.length = UART_WORD_LEN_8; sp.parity = UART_PARITY_NONE; sp.stop = UART_STOP_BITS_1; SetMAM( 3u, MAM_full_enable); VPBControl(VPB_DIV1); SetDesiredSpeed(60000uL); Is there any obvious reason why this is not working? (lpc_hello_rs232 from WinARM)? Gabe