cancel
Showing results for 
Search instead for 
Did you mean: 

pll clock prblem str911fm44

mariusz2
Associate II
Posted on April 12, 2007 at 04:49

pll clock prblem str911fm44

3 REPLIES 3
mohamed23
Associate II
Posted on May 17, 2011 at 09:41

Dear MariuszS,

You have just to update and change the last lines of your file called ''91x_conf.h'' to this :

*---------------------- _Main_Crystal frequency value (KHz)------------*/

#ifndef _Main_Crystal

#define _Main_Crystal 11059

#endif

/*---------------------------------------------------------------------*/

As the recommended /default Quartz used for STR91x is 25MHz for Ethernet Usage. :o

rave

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

hi all. I have a problem, My CPU not work in pll seting for crystal 11.0592 Mhz. i need 11.0592 X 8, maksimum when CPU Go, is X6, I use caps seting (91x_conf.h). My serial Uart work in speed 9600, when i write in struct. params value : 21676, instead of 9600 (correctly).

UART_InitStructure.UART_WordLength = UART_WordLength_8D;

UART_InitStructure.UART_StopBits = UART_StopBits_1;

UART_InitStructure.UART_Parity = UART_Parity_No;

UART_InitStructure.UART_BaudRate =21676; //!!!!!!!!!!!!!!!!!!!!!!

UART_InitStructure.UART_HardwareFlowControl = UART_HardwareFlowControl_None;

UART_InitStructure.UART_Mode = UART_Mode_Tx_Rx;

UART_InitStructure.UART_FIFO = UART_FIFO_Enable;

UART_InitStructure.UART_TxFIFOLevel = UART_FIFOLevel_1_2;

UART_InitStructure.UART_RxFIFOLevel = UART_FIFOLevel_1_2;

Please help me !!! I d'not new idea, how its make

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

Thanks for reply, in my config file, exist value for main_crystal :

#define _MCLK_Source SCU_MCLK_PLL

#define _Main_Crystal 11059.20 // In KHz