2
I'm looking for a software guide on setting up OTG in host mode. The reference manual lacks enough information and the Freescale Platform SDK is broken so I need to know where the guide is that explains how to use the OTG port (i.e. how to configure the registers correctly). Can you Freescale guys points me in the right direction?
Solved! Go to Solution.
1
Host mode problem is solved. My Nitrogen6X board has a PMIC for OTG power that needs to be activated using a GPIO pin. Also, a device must be plugged in for the port to register as enabled in the PORTSC1, which seems weird.
1
Host mode problem is solved. My Nitrogen6X board has a PMIC for OTG power that needs to be activated using a GPIO pin. Also, a device must be plugged in for the port to register as enabled in the PORTSC1, which seems weird.
I see, good to know that for the Nitrogen board !.
1
What would cause Port Enable to be low when Port Power is high?
1
The specific problem I'm seeing is the OTG PORTSC1 register PSPD (speed) bits read Undefined. There is no reason for this, as the init sequence looks fine and the registers look correct. The sequence works fine for the other host controller ports, and when the Freescale boot ROM sets the OTG up for serial image download, this problem does not occur.