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.

AM2732: I would like to implement printf function by my UART pheriperal ot AM273. Compiler is CCS

Part Number: AM2732
Other Parts Discussed in Thread: SYSCONFIG

Hi

I would like to user printf funciton in my CCS compiler.

It's hard to find the answer from the forum.

Please let me know how to implement.

Thank you

  • Hi Antony, 

    If you take a look at any of the https://www.ti.com/tool/MCU-PLUS-SDK-AM273X examples, almost all of them make use of UART debug prints using the DebugP_log() function. 

    If you dig into the Hello World example (C:\ti\mcu_plus_sdk_am273x_09_02_00_52\examples\hello_world\am273x-evm\r5fss0-0_freertos) you can see how that is connected.

    In SYSCONFIG, the TI DRIVER PORTING LAYER > Debug_Log configures the ti_dpl_config.c/h auto-generated code and attaches the CONFIG_UART0 and CONFIG_EDMA0 instances to it. 

    Check that out and then let me know if you have any more questions on this. 

    Thank you,

    -Randy