This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

setting ADuC834 for 115200 baud???

I have an Analog Devices ADuC834 eval board and currently have the UART configured for 9600 baud with the following code:

T3CON = 0x82;
T3FD = 0x12;
SCON = 0x52;

I am interested in configuring the UART for 115200 baud. I have been able to find examples of doing this with the ADuC832 but not for the ADuC834. The 9600 baud configuration is different for the ADuC832 so I dont think that the same settings would work. The settings for 9600 and 115200 for the ADuC832 are as follows:

/*9600*/
T3CON = 0x85;
T3FD = 0x2D;
SCON = 0x52;

/*115200*/
T3CON = 0x82;
T3FD = 0x09;
SCON = 0x52;

If anyone knows the correct settings to run the ADuC834 at 115200 baud (if it has the capability) that would be great. Thanks.

-Nathan

Parents Reply Children
  • The technical data sheet for the ADuC834 describes the use of Timer 3 as baudrate generator. It provides the formulas to calculate the register values and also a table with settings for most common baudrates (including relative errors). Even more the baudrate of 115200 is used as an example for the calculations.

    For 115200 baud the following settings are listed (if the clock divider CD in PLLCON is set to 0):
    T3CON = 0x81;
    T3FD = 0x2D;

    The value of SCON depends on your serial port operation mode.