AnsweredAssumed Answered

How to use CDC VCOM example with printf?

Question asked by Ashley Duncan on Sep 19, 2016
Latest reply on Nov 7, 2016 by Jorge Antonio Alcala Vazquez

Hi,

 

Using KDS3.2, SDK 2.0.  I would like to implement a virtual com port in our project.  I have the dev_cdc_vcom_lite_bm_frdmk22f example project working fine.  I see where and how it reads the received characters and writes them back.  I cant see it anywhere obvious but is there an example project or easy way of redirecting some sort of formatted input and output to the virtual com port.  Currently standard IO is redirected to the debug UART which I am also using.  So...  I would like to be able to use formatted output for multiple UARTs.  Actually I have three I need to send to!

 

This would make a good advancement on the example demo project...

 

Any help would be appreciated

 

Regards

 

Ashley

Outcomes