fx3 and fx2lp

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
gean_3054931
Level 5
Level 5
10 likes given 5 likes given First like received

Hello,

can i define both msc and vendor usb class in one descriptor file(one application) in fx2lp and fx3?

regards,

geetha.

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello Geetha,

Yes, you can use vendor and MSC in the same firmware.

For this, you have to define one of the interfaces as mass storage (Refer to the descriptor file in the FX3SMassStorage example that comes with the FX3 SDK) and an other interface as Vendor (Refer to USBBulkLoopAuto example that comes with the FX3 SDK). Also, the USB endpoints have to be configured to handle mass storage data and the vendor data.

We do not have a ready example that implements both but the endpoint configuration and the descriptor from these two examples can be merged to generate a firmware that has both the capabilities.

Best regards,

Srinath S

View solution in original post

3 Replies