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/TMS320F28027F: SCI communication with external uart device and with PC at the same time .

Part Number: TMS320F28027F


Tool/software: Code Composer Studio

Hi, I am using F28027 launchpad for uart communication . The communication is proper and sending whatever i send via uart . but at the same time i have to see the data received  via uart tx-pin on the watch - variable window of code composer studio i.e. on PC . I as per my knowledge PC and launchpad communication via USB cable uses UART port of controller, am i right ?

 I also  have TMS570ls04x  launchpad I tried the same logic with that launchpad but i was unable to see the received data because that launchpad has only one uart , so on forum i got suggestion to remove some of register from launchpad (R8, R9) , and implementation  new uart port using timer . 

Now on C2000 f28027 launchpad has only one uart port . So my question is to see the the received data , Is I  have to modify the launchpad by removing some  register and then implement new uart  port in software

like TMS570? 

Thanks and Regards,

indrajit.

  • Hi Indrajit,

    Indrajit Lawande95 said:
    I as per my knowledge PC and launchpad communication via USB cable uses UART port of controller, am i right ?

    Yes, you're right!

    Indrajit Lawande95 said:
    so on forum i got suggestion to remove some of register from launchpad (R8, R9) , and implementation  new uart port using timer . 

    That should not be required as you can shift SCI to other compatible GPIOs.

    Indrajit Lawande95 said:
    Now on C2000 f28027 launchpad has only one uart port . So my question is to see the the received data , Is I  have to modify the launchpad by removing some  register and then implement new uart  port in software

    Yes, you can modify the SCI pins from existing GPIO28,29 to GPIO7,12 instead.

    Regards,

    Gautam

  • Thank you for detail explanation.
  • You're Welcome!

    Goodluck & Regards,
    Gautam
  • Hi , Gautam

    As per your suggestion I will modify the GPIO 28 And 29 to  GPIO 7 and 12 . Using  that configuration  i can connect UART (new pins GPIO7 and 12)to external device , but while reading launchpad datasheet I found following

    In this document, when I changed the position of switch S4 to low then I can use UART to connect booster pack  but , how can i see the readings in watch window , because this configuration dis-connect the  PC from launchpad . 

    Thanks and Regards

    Indrajit.

  • Indrajit Lawande95 said:
    In this document, when I changed the position of switch S4 to low then I can use UART to connect booster pack  but , how can i see the readings in watch window , because this configuration dis-connect the  PC from launchpad . 

    Through JTAG connection. S1 should be ON.

    Regards,

    Gautam

  • Thanks ... Its working !