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.
Ti Team, Hello:
We now need to use am6442's usb as a host, now we have some problems, hope you answer.
Our current approach is described as follows:
The current situation is that:
Questions expected to answer:
Problem 1: xhc reports serious error after sending the Enable Slot Command. This error could be related to various factors, including incorrect configuration of the peripheral interface, memory alignment issues, or clock synchronization problems. It is crucial to ensure that the peripheral interface, memory, and clock configurations are properly set up according to the specifications of the USB host controller.
Problem 2: phy is not powered up. If the phy is not powered up, it could be due to missing or incorrect configuration settings. It is important to configure the relevant registers for phy configuration properly. Additionally, the phy configuration may vary depending on the specific hardware and software setup.
Regarding your questions:
1. Other registers for phy configuration: Yes, there might be additional registers that need to be configured for proper phy functionality.
2. OTG partial register configuration: If you are only using the xhci function and not utilizing the OTG functionality, it may not be necessary to configure the OTG registers.
3. Possible causes for error in Problem 1: Without specific details about the error and the system setup, it is challenging to pinpoint the exact cause. However, it is recommended to thoroughly review the xhci specification, double-check the peripheral interface configuration, verify memory alignment, ensure proper phy connection, and check clock synchronization to troubleshoot the error.