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.

CCS/TMS320F28335: SCI Echo back RX Issues

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE

Tool/software: Code Composer Studio

Hi.

I am new to the c2000 family of MCUs. I tried to run the  SCI Echoback code provided in the C2000ware examples folder. I am able to output the strings from the MCU (experimenter's kit) to my PC (via USB) just fine but I am not able to receive data to the MCU. Where it says to "enter character", I have tried across different terminals to type in a character but its never worked. I'm stuck at this section of the code when debugging:

while(SciaRegs.SCIFFRX.bit.RXFFST !=1)
{
//
// wait for XRDY =1 for empty state
//
}

I have tried populating J9 as advised in other threads but that did not work. As you can see from the registers RXFFST remains zero as such it never exists the while loop. Please I need help urgently. Any suggestions would be very much appreciated. Thank you.

Tolu.

  • Hi Tolu,

    Based on your description, I assume you are using a F28335 controlCARD & Experimenter's Kit.

    Note that the schematics for both these boards are available within C2000Ware (or controlSUITE), and they may serve as a helpful reference here.

    How are you trying to connect up to the F2833x:  via the virtual comport over USB?  or via the connection at J3 of the Experimenter's Kit?

    If USB, then you are right to populate J9.  You would need to also flip the controlCARD's SW1 to the OFF position.  This last step will remove contention from the controlCARD's U4.

    Hopefully this helps!


    Thank you,
    Brett

  • Thank you, Brett. I am incredibly grateful, it works perfectly.

    Tolu.