Hi
We want to use the OTG function in S32G,
Firstly, we use the default dts configuration(host mode only), it seems that the device was detected successfully.
StanleyShen_2-1681098949966.png
StanleyShen_1-1681099067371.png
StanleyShen_0-1681099048350.png
QA1:OTG-Host Mode
But we tried to change it to OTG mode, the OTG cable(BUS) was detecded and the device was not
StanleyShen_2-1681099284151.png
StanleyShen_3-1681099296696.png
StanleyShen_0-1681125406371.png
StanleyShen_1-1681125438767.png
QA2: OTG-Device Mode
When we use the normal microUSB -> TypeA cable(not OTG Cable) and connect to computer,
from debug sysfs, it seems that the mod was changed to gedget mode,
but nothing message output to dmesg and the computer(windows 11) no any response.
StanleyShen_2-1681125879295.png
So could you tell us if we make mistake somewhere and how to fix it?
thank you.
Env.
CPU S32G274A
Soft BSP33.0 ( yocto fsl-auto make ARCH=arm64 s32gen1_defconfig )