Throughput reachable with Wicked CDC - ACM

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

cross mob
MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

Hello,

I'm new in WICED.

I download WICED Studio and I see that there is usb_device_cdc_acm_read_write sample.

I understand that this sample configures WICED USB to be seen as VirtualComPort in PC side.

How throughput I can reach ? I have to reach 20MBps.

If I want to configure three bulk endpoints (two "out" endpoint, and one "in" endpoint, "in" I mean from PC to WICED, "out" I mean from WICED to PC)

like I did in Cypress-FX3 device and load my specfic USB driver (my collegue is able to develop USB drivers). Is it possibile or I have to use just CDC ACM ?

For example : if I take device_framework_full_speed ...

unsigned char device_framework_full_speed[] = {

    /* Device descriptor     18 bytes

       0x02 bDeviceClass:    CDC class code

       0x00 bDeviceSubclass: CDC class sub code

       0x00 bDeviceProtocol: CDC Device protocol

       idVendor & idProduct - http://www.linux-usb.org/usb.ids

    */

    0x12, 0x01, 0x10, 0x01,

    0xEF, 0x02, 0x01,

    0x08,

    0xB4, 0x04, 0x02, 0x00,

    0x00, 0x01,

    0x01, 0x02, 0x03,

    0x01,

    /* Configuration 1 descriptor 9 bytes */

    0x09, 0x02, 0x4b, 0x00,

    0x02, 0x01, 0x00,

    0x40, 0x00,

    /* Interface association descriptor. 8 bytes.  */

    0x08, 0x0b, 0x00, 0x02, 0x02, 0x02, 0x00, 0x00,

    /* Communication Class Interface Descriptor Requirement. 9 bytes.   */

    0x09, 0x04, 0x00,

    0x00,

    0x01,

    0x02, 0x02, 0x01,

    0x00,

    /* Header Functional Descriptor 5 bytes */

    0x05, 0x24, 0x00,

    0x10, 0x01,

    /* ACM Functional Descriptor 4 bytes */

    0x04, 0x24, 0x02,

    0x0f,

    /* Union Functional Descriptor 5 bytes */

    0x05, 0x24, 0x06,

    0x00,                          /* Master interface */

    0x01,                          /* Slave interface  */

    /* Call Management Functional Descriptor 5 bytes */

    0x05, 0x24, 0x01,

    0x03,

    0x01,                          /* Data interface   */

    /* Endpoint 1 descriptor 7 bytes (Interrupt IN Transfer Type) */

    0x07, 0x05, 0x83,

    0x03,

    0x08, 0x00,

    0xFF,

    /* Data Class Interface Descriptor Requirement 9 bytes */

    0x09, 0x04, 0x01,

    0x00,

    0x02,

    0x0A, 0x00, 0x00,

    0x00,

    /* First alternate setting Endpoint 1 descriptor 7 bytes (Bulk OUT Transfer Type)*/

    0x07, 0x05, 0x02,

    0x02,

    0x40, 0x00,

    0x00,

    /* Endpoint 2 descriptor 7 bytes (Bulk IN Transfer Type) */

    0x07, 0x05, 0x81,

    0x02,

    0x40, 0x00,

    0x00,

};

0 Likes
1 Reply
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hello,

Which WICED version are you using? Can you elaborate more and explain in detail on your application and requirements?

Have you written any application to achieve this throughput of 20 MBps and facing error? If yes, please attach the application code to understand the issue.

Thanks

Aditi

0 Likes