I am doing a project using LPC2101. This is very new for me. So i tried to send one character through UART1. But it is not working. How can i configure External crystal oscillator. Crystal Frequency is 14.7456MHZ. i didnt choose internal or crystal in my code.. INITIALIZATION
PINSEL0 = 0x00050000; /* Enable RxD1 and TxD1*/ U1LCR = 0x83; /* 8 bits, 1 Stop bit */ U1DLL = 96; /* 9600 Baud Rate @ 14.7456MHz */ U1DLM = 0; U1LCR = 0x03;
Plz guide me if my initialization is wrong and give suggestions for me.
Don't create several threads for the same question. It was only 17 hours since you created the following thread:
http://www.keil.com/forum/docs/thread11666.asp
And do read up on how to post source. The code you posted is unreadable, so people are ignoring it.
Please read the instructions on how to post source code: www.danlhenry.com/.../keil_code.png
Note that TABs don't work (well) - use spaces instead,
and don't forget to check it in the 'Preview'...
Thank u sir..
I m using 14.7456Mhz Crystal. I am trying to send one data through UART1 using LPC2101.This is my initialization
. Is there any mistake in my initialization.. I didnt get the output