Other Parts Discussed in Thread: AM3715
Hi,
Sorry to start another thread of discussing USB3320 because I verified the answer from Carsten in my previous port.
Now I'm able to dump register values from USB3320 transceiver.
In our customized design, we added another USB3320 for port1 and enabled port1 in registry like this:
"Port1Mode"=dword:1 ; Port 1 is supported now
"Port1PwrGpio"=dword:60 ; GPIO_96
"Port1PwrLevel"=dword:1
"Port1RstGpio"=dword:39 ; GPIO_57
The hardware configuration is the same as Port2.
However, when I dump the register values from two USB3320 chips in InitializeEHCI function after ExternalDeviceDeassertReset(pPddObject);
There are some differences in register settings:
InitializeEHCI -------------------------------------------------------
DumpUSBTransceiver - port = 2
Port2 - Ulpi PHY Vendor ID Lo = 0x24
Port2 - Ulpi PHY Vendor ID High = 0x4
Port2 - Ulpi PHY Product ID Low = 0x7
Port2 - Ulpi PHY Product ID High = 0x0
Port2 - Ulpi PHY Function Control = 0x41
Port2 - Ulpi PHY Interface Control = 0x0
Port2 - Ulpi PHY OTG Control = 0x6
Port2 - Ulpi PHY Interrupt EnableRising = 0x1f
Port2 - Ulpi PHY Interrupt EnableFalling = 0x1f
Port2 - Ulpi PHY Interrupt Status = 0x4
DumpUSBTransceiver - port = 1
Port1 - Ulpi PHY Vendor ID Lo = 0x24
Port1 - Ulpi PHY Vendor ID High = 0x4
Port1 - Ulpi PHY Product ID Low = 0x7
Port1 - Ulpi PHY Product ID High = 0x0
Port1 - Ulpi PHY Function Control = 0x45
Port1 - Ulpi PHY Interface Control = 0x18
Port1 - Ulpi PHY OTG Control = 0x66
Port1 - Ulpi PHY Interrupt EnableRising = 0x1f
Port1 - Ulpi PHY Interrupt EnableFalling = 0x1f
Port1 - Ulpi PHY Interrupt Status = 0x4
The differences are in Function Control, Interface Control, and OTG Control.
Function Control Interface Control OTG Control.
Port2 0x41 0x0 0x6
Port1 0x45 0x18 0x66
I would expect to see exactly the same register settings in these two transceivers since the hardware configurations are the same.
Do you know where the code is to initialize USB3320 transceiver?
Thanks,
James