Ux_Host_CDC_ACM Application Description

This application provides an example of Azure RTOS USBX stack usage .

The application is designed to behave as a USB CDC_ACM Host, the code provides required requests to properly enumerate CDC devices, CDC_ACM class APIs to send or receive data and display data on UART HyperTerminal.

The main entry function tx_application_define() is then called by ThreadX during kernel start, at this stage, all USBx resources are initialized. The application creates 3 threads with different priorities:

Expected success behavior

Error behaviors

Errors are detected (such as unsupported device, enumeration Fail) and the corresponding message is displayed on the HyperTerminal.

Assumptions if any

User is familiar with USB 2.0 “Universal Serial BUS” specification and CDC_ACM class specification.

Known limitations

ThreadX usage hints

USBX usage hints

Keywords

Connectivity, USBX Host, ThreadX, USB, CDC_ACM, UART, USART

Hardware and Software environment

How to use it ?

In order to make the program work, you must do the following :

Notes