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/TMS570LC4357: How to stream data out of the TMS570LC4357 Development KIT

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

I am doing development on the Development KIT with CCS.   The interface is the USB interface between PC and board.   I can write code and download to the board,  but how can I stream data between PC and the KIT.  For example I want to save the ADC data from the board to a file in my PC,  or send some data from my PC to the board, what should I do?   I looked through the manual but can't find any information.   Please advice.    

Thanks,

XG

  • Hello,

    You can use SCI/1LIN1 port. SCI1/LIN1 is connected to FT2232HL (UART to USB).

    Best regards,
    Miro

  • Hi Miro,

    Thanks for your reply.  Could you elaborate a little more?   How to instruct the CPU to stream data to that port and what should I do to access that port from PC?  Is there an example somewhere?

    Thanks,

    XG

  • Hello,

    You can use SCI/1LIN1 because it is connected to UART-->USB IC (FT2232HL). When HDK is connected to PC, you can find (using device manager, for example) at which COM port you HDK is enumerated. After that you can use any terminal program to communicate with MCU (through the COM port)  This means that if you output data on SCI1 port this data will be available at COM port and  vice versa. CCS has terminal emulation as well (CCS-->View-->Terminal). 

    Of course, any other SCI port which is exposed to a HDKs connector can be used with an external UART-->USB (external UART-->USB adapter must support 3.3V IO).

    HALCoGen generates APIs to be used with SCI port (in sci.c). Some of these APIs outputs data to SCI port (take a look in ADC example where data is outputted to an SCI port)

    In the following post QJ attached code tof UART stdio using Hercules MCUs you can use as well:

    Best regards,
    Miro