to work with 48 Mhz you have to configure the clock as follow: SCU_PLLFactorsConfig(192, 25, 3); SCU_PLLCmd(ENABLE); SCU_RCLKDivisorConfig(SCU_RCLK_Div1); SCU_HCLKDivisorConfig(SCU_HCLK_Div1); SCU_PCLKDivisorConfig(SCU_PCLK_Div2); SCU_FMICLKDivisorConfig(SCU_FMICLK_Div1); SCU_MCLKSourceConfig(SCU_MCLK_PLL); so you have to enable the PLL before selecting the source clock . This configuration works well for me: I've obtained 48Mhz frequency and I was able to send data to hyperterminal. I hope this can be usefull for you. Best regards mirou
I tested your code with MCB-STR9 board and it works well for me. May be you configured wrong the hyperteminal utility. You find attached the hyperteminal configuration that I've used. Best regards mirou
i have used u'r hyper terminal file but it is also same as my file. thank u to conformed that my program is working. i have tried it in some other system (Hyperterminal), but no use. i could not find the mistake where actual problem is? please send me the complete project so that i will find my problem whether it is in Startup code or some where else. its better for me to have a working program. Thanks for u'r constant help. regards raj. [ This message was edited by: anuradha on 28-12-2006 06:24 ] [ This message was edited by: anuradha on 28-12-2006 08:10 ]
we are using MCB-STR9 Vers.3 Evaluation Board. On which board u r tested my code? according to program i think so there is no mistake. what are the other areas which may cause problem? please send me the UART working Example project file. thanks & Regards Raj.