This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: USB Peripheral Mode 啟動時 VBUS 有1V 突波

Part Number: AM3352


Hi Expert

USB1 DTS 設定為




USB埠與USB Host為斷接,此時FW 啟動UDC Driver  (echo "musb-hdrc.1" > UDC),VBUS上可以觀察到約1V的突波(圖1),

本來預期USB device 模式下VBUS應該只會由HOST端輸出,不知MCU為什麼會暫態送出這個1V。

經追查Kernel 4.19.38 程式碼(圖2) ,發現是 MUSB_DEVCTL_SESSION這個bit的設定造成此現象,麻煩協助確認這是否為正常現象或是有建議的修改方法,感謝~



圖1



圖2 linux-4.19.38/driver/usb/musb/musb_core.c

謝謝

Daniel