EmbeddedRelated.com
Forums

LPc2129: UART at a baud of 115200

Started by NARAYANA December 30, 2010
HI, I am new to LPC2129,

Is it possible to communicate thourgh serial i.e UART at a baud of 1,15,200. I have connected 12Mhz crystal to LPC2129 device.

I have searched in our yahoo group, but i could not find any sample code at a baud of 1,15,200.
Could please share some sample code for this, if you have any!!!

or please guide me how to this using above crystal. I am interested with this crystal only, because, again i wanted to use CAN nodes.

Plese suggest me.

Thanks and Regards
Narayana Raju
900 309 4433

An Engineer's Guide to the LPC2100 Series

Hi Narayana,
 
Here is the link to the user manual of the controller:
http://ics.nxp.com/support/documents/microcontrollers/pdf/user.manual.lpc2109.lpc2114.lpc2119.lpc2124.lpc2129.lpc2194.lpc2210.lpc2212.lpc2214.lpc2220.lpc2290.lpc2292.lpc2294.pdf
 
See chapter 10 (on UART). Also carefully see the example given on page no.136 in the same chapter. It describes how to set up the UART at baud of (approx) 115200.
Hope it helps.
 
Regards,
Mayuresh Manjrekar

--- On Fri, 31/12/10, NARAYANA wrote:
From: NARAYANA
Subject: [lpc2000] LPc2129: UART at a baud of 115200
To: l...
Date: Friday, 31 December, 2010, 9:23 AM
 

HI, I am new to LPC2129,

Is it possible to communicate thourgh serial i.e UART at a baud of 1,15,200. I have connected 12Mhz crystal to LPC2129 device.

I have searched in our yahoo group, but i could not find any sample code at a baud of 1,15,200.
Could please share some sample code for this, if you have any!!!

or please guide me how to this using above crystal. I am interested with this crystal only, because, again i wanted to use CAN nodes.

Plese suggest me.

Thanks and Regards
Narayana Raju
900 309 4433
go to pudn.com , there you'll find sample uart code
that is perfectly working code.you need to change BAUD_RATE value

On Fri, Dec 31, 2010 at 9:56 AM, MAYURESH MANJREKAR <
m...@yahoo.co.in> wrote:

> Hi Narayana,
>
> Here is the link to the user manual of the controller:
>
> http://ics.nxp.com/support/documents/microcontrollers/pdf/user.manual.lpc2109.lpc2114.lpc2119.lpc2124.lpc2129.lpc2194.lpc2210.lpc2212.lpc2214.lpc2220.lpc2290.lpc2292.lpc2294.pdf
>
> See chapter 10 (on UART). Also carefully see the example given on page
> no.136 in the same chapter. It describes how to set up the UART at baud of
> (approx) 115200.
> Hope it helps.
>
> Regards,
> Mayuresh Manjrekar
>
> --- On *Fri, 31/12/10, NARAYANA * wrote:
> From: NARAYANA
> Subject: [lpc2000] LPc2129: UART at a baud of 115200
> To: l...
> Date: Friday, 31 December, 2010, 9:23 AM
> HI, I am new to LPC2129,
>
> Is it possible to communicate thourgh serial i.e UART at a baud of
> 1,15,200. I have connected 12Mhz crystal to LPC2129 device.
>
> I have searched in our yahoo group, but i could not find any sample code at
> a baud of 1,15,200.
> Could please share some sample code for this, if you have any!!!
>
> or please guide me how to this using above crystal. I am interested with
> this crystal only, because, again i wanted to use CAN nodes.
>
> Plese suggest me.
>
> Thanks and Regards
> Narayana Raju
> 900 309 4433
>
>

--
Regards,
Suresh
Hi,
using CAN and running at 115200 is only possible with the 2129/01 device. Make sure you have the /01 device. It has been the standard device for the last 2 years but if your board holds an older version, the required fractional baudrate generator is not implemented.
You need the fractional Baudrate Generator to achieve 115200.

Bob

--- In l..., "NARAYANA" wrote:
>
> HI, I am new to LPC2129,
>
> Is it possible to communicate thourgh serial i.e UART at a baud of 1,15,200. I have connected 12Mhz crystal to LPC2129 device.
>
> I have searched in our yahoo group, but i could not find any sample code at a baud of 1,15,200.
> Could please share some sample code for this, if you have any!!!
>
> or please guide me how to this using above crystal. I am interested with this crystal only, because, again i wanted to use CAN nodes.
>
> Plese suggest me.
>
> Thanks and Regards
> Narayana Raju
> 900 309 4433
>