Hi All, I want to do a test of reading from and writing to a scratch register on the USB3320 transceiver several thousand times and see if there will be any error between OMAP3530 and PHY. The address of the scratch register on the USB3320 is 16-18h (Read), 16h (Write), 17h (Set), 18h (Clear). I searched in "soc\common_ti_v1\common_ti\usb\ ehcipdd\system.c" and saw the function "UlpiWriteReg(
DWORD EhciRegBase, DWORD Port, DWORD Register, BYTE Data) and UlpiReadReg(DWORD EhciRegBase, DWORD Port, DWORD Register, BYTE * pData).
Are these the right functions to use for my test? In the registry file "omap_usbhs.reg", MemBase is 0x48064000. I guess I can use this value for "EhciRegBase" parameter and 16h for "Register" parameter. What should I use for "Port" parameter? If the USB3320 transceiver is connected to USB2, is the Port equal to 2? How can I do this test from an application? I do not see these functions used anywhere for me to get an example. I appreciate any tips/advice that you can give me. Thanks, Luan