Topic : Port from Ride6 to Ride7 and STRLib V3 to V4

Forum : ARM

Original Post
Post Information Post
May 28, 2008 - 4:06pm
Guest

Hi,

We're currently porting our code running on an STR711FR2, from the Ride6 environment to Ride7. We also updated the STR7 library from V3.1 to V4.0 . We had little problems doing so, but the peripheral clocks for the UARTs and (probably also) for the GPIO's is 1/4th of what we expected. (We defined a UART @ 9600 bps, but it runs on 2400 bps). What might we have overlooked?

kind regards
Kris

Replies
Post Information Post
+1
0
-1
May 29, 2008 - 10:43am
Guest

Hi Cris

I made a test with project from Ride6 to Ride7 using an older version of ST library.
It is working with 9600 bps.

I downloaded the last ST library and in "71_conf.h" file of the new library you can find this :

/************************************* XTI ************************************/
//#define _XTI

/*  Main Oscillator Frequency value = 16 MHz */
#define RCCU_Main_Osc 16000000

In "71_conf.h" file of the the older library you can find this :
/************************************* XTI ************************************/
//#define _XTI

/*  Main Oscillator Frequency value = 16 MHz */
#define RCCU_Main_Osc 4000000

So the difference might come from this point.

Best regards,
Matloub

+1
0
-1
May 29, 2008 - 11:10am
Guest

This was indeed the cause of the problem.
Many thanks,
Kris