Hi,
I am using 6748 USB Startware. By default, it enumerated to "HI SPEED". I like to set default enumeration mode to "FULL SPEED". How can I do it ?
Thanks
Jayesh
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.
Hi,
I am using 6748 USB Startware. By default, it enumerated to "HI SPEED". I like to set default enumeration mode to "FULL SPEED". How can I do it ?
Thanks
Jayesh
Copy usbphyGS50.c (\C6748_StarterWare_1_20_04_01\drivers\usbphyGS50.c) to your project folder, and add this line at the top of the file.
#define USB_MODE_FULLSPEED
And then, this line of the file drops HSEN (High-Speed ENable) bit on the USB POWER register.
void UsbPhyOn(unsigned int ulIndex) { ... #ifdef USB_MODE_FULLSPEED HWREGB(USB0_BASE + USB_O_POWER) &= 0xdf; #endif /* USB_MODE_HS_DISABLE */ }
It forces the device into full-speed.
Tsuneo
Moving this thread to the C67x forum.
Hi Jayesh,
Jayesh said:I am using 6748 USB Startware. By default, it enumerated to "HI SPEED". I like to set default enumeration mode to "FULL SPEED". How can I do it ?
Hi Shankari,
Shankari G said:To which mode you want to operate? Host or peripheral mode?
Shankari G said:The speed settings cannot be changed on the host side to full speed. It is fixed depending on the device speed.