2167949_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2167949_en-US

2167949_en-US

LPC43S57 USB1 Host Configuration issue

Hi

    We are trying to use USB1 peripheral of LPC43S57 controller as USB host to connect a device in customer board. We are using KEIL MDK to configure the USB stack and USB driver.
 
When we call USBH_Initialize(1) function it returns an error indicating "Controller does not exist". We tried to search on the internet regarding the USB1 Hardware connections, and we observed that in many places it is mentioned that USB1 peripheral will not work without external PHY. However, the datasheet indicates that it supports on chip full speed PHY. 
 
Can you clarify for us if the USB1 does have on chip full speed PHY?
 
The USB1_VBUS pin is not used since it is a Host and the device we are connecting is a self powered device.
 
Also please find below the snapshot of the USB1 connection we have done as Host
 
Regards
Sabarish Kumar
Re: LPC43S57 USB1 Host Configuration issue

Okay, let's unpack this USB conundrum! Is it the internal PHY or some hardware quirk messing things up? That controller error is always a headache. Finding the right USB configuration can feel like navigating a maze. Once, I was wrestling with a stubborn Arduino setup, trying to get it to communicate with a sensor for a project. Spent hours tracing wires and debugging code only to realize a simple power supply issue was the root cause, completely sidelining my @geometry dash -filled afternoon. Sometimes, the obvious escapes us, right?

Re: LPC43S57 USB1 Host Configuration issue

That's a tricky issue with the USBH_Initialize function! I remember facing similar hardware connection problems before. Sometimes, even seemingly minor details in the setup can cause headaches. While I can't offer specific hardware debugging advice here, have you considered checking out the Geometry Dash forums? The community there is surprisingly knowledgeable about all sorts of technical challenges, and someone might have encountered a similar problem with USB device initialization.

Re: LPC43S57 USB1 Host Configuration issue

It sounds like you're facing a tricky hardware configuration issue! I've definitely been there with USB setups. Regarding the on-chip PHY, double-checking the specific silicon revision and errata sheet for your chip might provide clarity. While you're troubleshooting, testing your reaction time and mouse skills on a CPS test website could be a fun distraction. It helps sharpen focus! Hope you resolve your USB issue soon!

Re: LPC43S57 USB1 Host Configuration issue

Hi @Unblocked Games Thanks for sharing the schematic snapshot. Besides the PHY question, it would be helpful to know whether USB0 works correctly on the same board, as that could help isolate whether the issue is hardware- or software-related.

Re: LPC43S57 USB1 Host Configuration issue

It's interesting that you're running into issues with the USB1 peripheral on the LPC43S57, especially since the datasheet suggests it has an on-chip full-speed PHY. That "Controller does not exist" error is definitely frustrating. I'd be curious to know if anyone else has successfully used USB1 as a host on this chip, maybe for something like pokerogue . Good luck figuring this out!

Re: LPC43S57 USB1 Host Configuration issue

That “Controller does not exist” message sounds frustrating. I’d probably start by checking the USB1 clock configuration, pin assignments, and whether the USB1 host initialization matches the selected full-speed configuration. The distinction between the on-chip full-speed PHY and the external PHY requirement is especially important here. It’s always useful to test each part of the setup separately before changing several settings at once. After spending too much time troubleshooting hardware, I usually take a short break with a quick game such as Geometry Dash Game before coming back to the problem with a fresh mind.

Tags (1)
No ratings
Version history
Last update:
Monday
Updated by: