Hi Igor,
Thank you for your answer. Actually meanwhile you were answering I also had the information checking the mux possibilities with the NXP iomux tool.
To cope with this assignment error on my custom board, I switched the DP and DN at the filter level.
Now I am facing another issue trying to use an optical mouse plugged to USB_OTG port :
- The iMX6 being switched of, I plug in the USB mouse to the port, I power on the system, after several USB identification tries (error -71 message displayed at each identification try) the mouse is finally recognised and functional,
- If I unplug the mouse the system says that the USB peripheral has been removed, but if plug it in again, nothing happens (the mouse led blinks ~1s and then is off), no message regarding usb is prompt
- Now, if I power on the iMX6 without any usb peripheral plugged and I plug it in only when the system has finished booting, I come back to the previous situation where nothing happens 1s blink, nothing prompt)
- I probed the D+ D- signals with a scope. In the 1st case where the mouse is recognised when plugged before the iMX6 is powered on, I see the USB waveform but with weired voltage level. The USB standard says D+ and D- should be VH>2.8V and VL<0.3V. In my case VH takes 3 different levels : 2.7V 2.3V and 2V.
Do you have any idea of what happens (I tested the Linux which is on a SD card on a on the shelf (Variscite with same pinout as my custom board) demo kit and the USB works fine) ?
I was wondering if it is possible to configure the USB_OTG_DP & DN pads (slew rate, pull-up pull-down …)?
Thank you very much for your help !!
Xav