My AM3354 board is currently configured with 2 USB Host ports. I'd like to change them to OTG configuration and then verify the functionality of them (that they can be used as both peripheral and host as well as doing some test transfers).
I have 3 questions about this work.
1) I see that in the device tree I have them currently configured for host operation.
musb: usb@47400000 { status = "okay"; control@44e10000 { status = "okay"; }; usb-phy@47401300 { status = "okay"; }; usb-phy@47401b00 { status = "okay"; }; usb@47401000 { status = "okay"; dr_mode = "host"; }; usb@47401800 { status = "okay"; dr_mode = "host"; }; dma-controller@07402000 { status = "okay"; }; };
I can change the two usb nodes dr_mode property to be "otg" but is that all that is required, or is there more to it?
2) Once I have the ports correctly configured for OTG I'd like to run some verification tests to make sure the functionality works as expected. This would include making sure they operation both as peripheral, slave, devices as well as host, master, devices. Does TI have, or know of, any such software packages that can verify the full OTG functionality of the AM3354 device?
3) I've read that when using OTG devices a special OTG USB cable is required. Is this the case or can any USB cable be used?