Hi Kai,
USB MQX examples for HS are the same examples used for FS. In order to use TWR-SER2, follow the getting started MQX doc:
USBFS (KHCI0) module – This BSP is pre-configured to use USBFS module by default. The USBFS is connected to USB HOST (USB A connector) only. USB device functionality is not available due to HW limitations.
o
USBHS (EHCI0) module – To enable USBHS (EHCI0) change BSP settings as follows and recompile BSP. The USBHS (EHCI0) is connected to USB OTG (USB mini AB connector)
#define USBCFG_DEFAULT_DEVICE_CONTROLLER (&_bsp_usb_dev_ehci0_if) #define USBCFG_DEFAULT_HOST_CONTROLLER (&_bsp_usb_host_ehci0_if)
in the
<mqx_install_dir>\mqx\source\bsp\twrk70f120m\twrk70f120m.h
TWR-SER2 – J21 (USB_VBUS_EN) shunt
Best Regards,