USB composite device

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

USB composite device

979 Views
allu
Contributor I

HI NXP,

We are developing a USB compostie device based on the NXP SDK_2_14_0_FRDM-MCXN236_rfp USB device example, with an MCTP class (using endpoints 1 and 2) and an HID class (using endpoints 3 and 4).

I modified the following:

#define USB_DEVICE_CONFIG_ENDPOINTS (5U)

I found that only endpoints 1 and 2 work—the MCTP class functions correctly, but the HID class does not.

However, when I change it to use the MCTP class on endpoints 3 and 4 and the HID class on endpoints 1 and 2, the HID class works, but the MCTP class does not.

 

Could you tell me if the endpoint settings need to be modified?

 

Thanks,

Alan

 

 

Labels (1)
0 Kudos
Reply
1 Reply

928 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @allu

There is a composite demo available in the SDK that also uses 5 endpoints. You might find it helpful to refer to this demo for configuration guidance.

Alice_Yang_0-1730359308900.png

 

BR

Alice

 

 

0 Kudos
Reply