MCD54418 - CDC (Virtual COM) example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCD54418 - CDC (Virtual COM) example

Jump to solution
618 Views
nicolasuhl
Contributor I

Hello,

I'm developping a new project on a Coldfire 54418 with MQX 3.6

I would like to implement a virtual COM port on my target.

Do you know where I can find an example of a virtual COM (CDC) on the MQX OS (for MCF5441x)

I would like to understand how to initialize the usb driver, how to set the baudrate (and parity, ...).

And then how to receive and send characters.

Is it possible to work with file handle to read and write to the USB port ? (The same way we do with an UART with fopen("ittya:", ...)

Sorry if my question has already been answered (I'm new in MQX and I have searched in the forum. But I didn't get a clear picture where the CDC examples can be found).

Thanks in advance.

Best regards

Nicolas

Labels (1)
Tags (1)
0 Kudos
1 Solution
325 Views
DavidS
NXP Employee
NXP Employee

Hi Nicolas,

MQX3.6 is very old and out dated.  The current MQX for development is MQX4.0.

It has following example for you:

C:\Freescale\Freescale_MQX_4_0_EAR1\usb\device\examples\cdc\virtual_com

Regards,

David

View solution in original post

0 Kudos
1 Reply
326 Views
DavidS
NXP Employee
NXP Employee

Hi Nicolas,

MQX3.6 is very old and out dated.  The current MQX for development is MQX4.0.

It has following example for you:

C:\Freescale\Freescale_MQX_4_0_EAR1\usb\device\examples\cdc\virtual_com

Regards,

David

0 Kudos