This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Uart Examples for TMS320C5505

Other Parts Discussed in Thread: TMS320C5505

I am trying to get the Uart examples (I have tried examples 1 and examples 3) in the CSL library under the C5500 directory to work.

I am currently using a TMS320C5505 EVM to execute my code on. I am using a hyperterminal on laptop as suggested but I never see

displayed on my hyper terminal. Has anyone been able to get the examples to work?

Thanks

Barry

  • Hi,

    If you followed CSL release documents, you should see UART working right. UART examples have been throughly checked. Be sure, your PLL frequency and BAUD rates are matching to your PC hyperterninal settings.

    Regards,

    Hyun

  • I have been using the CSL for several months. I have stepped through the code and saw where the baud rate of 2400 (the same as the hyperterminal) is being used. The

    other settings are the same as well. I set the PLL for the EVM module to 60 MHz as per instructions. I have tried pulling the J22 jumper on the EVM and tried with it installed.

    I do see some garbage displayed on the hyperterminal if I single step through the fputs routine in the code but not when I let run freely . Do you have any other suggestions?

    Thanks

    Barry

     

  • 1. Are you using the latest  CSL 2.1?

    2. Have you set compile option to VC5505 and VC5505EVM in the csl_general.h file? Refer section 7 in the release notes. (Very critical)

    3. Is hyper terminal Flow control set to "none"?

    4. PLL sets 60 MHz fine and 2400 should be ok.

    5. Jumper 22 should be installed.

    Regards,

    Hyun

  • One more thins you should check.

     

    There are two versions of C5505 EVMs.

    1. In the EVM, marking said C5505 EVM --> should select VC5505 EVM in the CSL. UART Jumper is JP22.

    2. EVM marking said C5515 EVM --> select C5515 EVM. UART Jumper is JP3.

    Difference between VC5505 and C5515/05 is PLL settings. If you have not set PLL correctly, your Baud rate is also off so you are seeing garbage characters.

    Regards,

    Hyun

  • Hyun

    I inadvently remade the library yesterday after my application partially worked. I had a cable problem. The C5505 option was commented out in the csl_general file

    which caused the C5515 option to be selected. I also loaded the C5505EVM.gel file instead of the C5505.gel file I had been using. The poll example works now. I will

    try the interrupt example next. Thanks for your help.

    Barry