This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2434: Disabling USB 480Mbps mode in TinyUSB

Part Number: AM2434
Other Parts Discussed in Thread: SYSCONFIG

We have an application where we want to use the supplied TinyUSB stack but we wish to disable 480Mbps mode because we intend to use a USB Isolator that only supports 1.5Mbps and 12Mbps.

What is the correct way to disable 480Mbps in TinyUSB? We'd prefer to not modify the SDK so we don't have to fork and maintain it.

I see some #defines that seem to be set up based on the board.mk file but there's no board.mk files for any TI parts - so I guess this is handles by sysconfig - but we don't see any options.

The USB registers section in the TRM appears to be largely absent except for a note saying to contact TI for info. So here I am.

Thanks

Andy

  • Hi Andy,

    In tusb_option.h file there is a following statement:

    // highspeed support indicator
    #define TUD_OPT_HIGH_SPEED (CFG_TUD_MAX_SPEED ? (CFG_TUD_MAX_SPEED & OPT_MODE_HIGH_SPEED) : TUP_RHPORT_HIGHSPEED)

    If you change it to:

    // highspeed support indicator
    #define TUD_OPT_HIGH_SPEED 0

    then the USB device will only support full speed only. Keep in mind, it will take effect after you re-build the tinyUSB library: usbd_tusb_cdc_freertos.am243x.r5f.ti-arm-clang.lib

    Best regards,

    Ming