2007-04-11 07:49 PM
2011-05-17 12:41 AM
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 rave2011-05-17 12:41 AM
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 make2011-05-17 12:41 AM
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