Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: fstorm on April 28, 2019, 08:16:48 PM

Title: TE0703: USB as OTG/Function?
Post by: fstorm on April 28, 2019, 08:16:48 PM
Hi all,
the TE0703  carrier board has a USB Type-A plugin, which is the default for a host interface. Can it be used as a function device (via OTG) by connecting it via one of these rare Type-A to Type-A cables e.g. to a PC? Or is this not possible?

Many thanks and best regards,
Frank
Title: Re: TE0703: USB as OTG/Function?
Post by: Oleksandr Kiyenko on April 29, 2019, 08:08:40 AM
Hello,

you can use this board as "USB device". As there is USB-A plug, type of connection can't be detected. So you need another configuration for this type of connection.
You need to enable USB gadgets drivers and change device tree for "peripheral" type of interface
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842272/Zynq+Linux+USB+Device+Driver

Best regards
Title: Re: TE0703: USB as OTG/Function?
Post by: fstorm on April 29, 2019, 09:31:26 AM
Hi,
thanks for the quick answer. The software side is clear, the question was more whether this will not damage the hardware (regarding bus power).

Best regards,
Frank
Title: Re: TE0703: USB as OTG/Function?
Post by: JH on April 29, 2019, 09:56:04 AM
Hi,

for OTG you must change some resistor and capacitor, we have also a pdf schematic for OTG usage of the TE0703 online :

SCH-TE0703-06-D.PDF is for OTG and SCH-TE0703-06.PDF is like we offer on the shop for host mode.
Compare page 10.
br
John