Skip to main content
Visitor II
September 28, 2007
Question

UART receive DMA with ISR

  • September 28, 2007
  • 15 replies
  • 2726 views
Posted on September 28, 2007 at 11:05

UART receive DMA with ISR

    This topic has been closed for replies.

    15 replies

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:34

    Hi anuradha,

    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

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:34

    Hi anuradha,

    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

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:34

    hai 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 ]

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:34

    hai mirou,

    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.

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:34

    hai Zouh,

    yes we are using crossover cable (2-3, 3-2, 5-5 of db connector).

    we are using Keil uVision3.03a software for Debug.

    did u check my code?

    regards

    raj.