Dear Friends
i am using two LPC 1768.
one for transmitting another one for receiving.
in transmitting side i am using 14.7456 MHz crystal receiving side i am using 12.000 MHz crystal.
i want to communicate each other here without changing transmitter code
we can modify only receiver code
both are 4800 baud 1 stopbits 8 data bits 1 odd parity
how to set the baud rate?? is any calculation is there?? i hope that some one help me
Doesn't the forumlas in the processor user manual cover how to compute the baudrate? If the transmitter code can't be changed but you already claim it runs at 4800 baud, then you can ignore the transmitter side and just figure out how to get 4800 baud with the 12MHz crystal.
By the way, you call one side "transmitter" and the other side "receiver" - you only have one-way communication? A normal UART supports duplex communication unless used with special hardware driver chips intended for master/slave bus communication. So it's quite common to have the receiving side send back an acknowledge on reception - the transmitting side can't even know if the other side is powered up or connected without some form of handshake or data feedback.