cancel
Showing results for 
Search instead for 
Did you mean: 

Baud rate problem on STR911

markmcwired9
Associate II
Posted on May 08, 2007 at 08:36

Baud rate problem on STR911

2 REPLIES 2
markmcwired9
Associate II
Posted on May 17, 2011 at 09:42

Hi. After testing the UART demo program on a STR912-SK and checking that everything worked fine, I downloaded the program to a custom board with a STR911FM44X6. I did the adjustments on General Options (EWARM) to use the STR911, but now I have a baud rate problem.

At 9600bauds it works fine, but at 19200bauds I see some wrong characters. Beyond that speed, is pure garbage. The program is the same, except that I use GPIO6.7 for UART0_TX (with no RX) and I do an infinite loop in the transmitting sequence. The port setting is 115200, 8, N, 1.

I've changed the 25Mhz crystals for different series and I've used 20Mhz crystals also( I did adjust the PLL setting), but the result is the same.

Is there any other adjustment that I have to make to use the UART on a STR911 ?

Mark.

mariusz2
Associate II
Posted on May 17, 2011 at 09:42

Hi. I was similar problem look in forum ''pll clock prblem str911fm44''

I unitie this problem:

I create 91c_conf.h with correctly value crystal, and compile new library STR91X.lib in directory C:\RIDEarm\LIB\STRX

project library exist in directory C:\RIDEarm\LIB\STRX\STR91X_LIB

next i replace oryginal lib (for security, I rename oryginal lib)

may by this help Yoy