Reference design for USB charger detection of i.MX7D

cancel
Showing results for 
Search instead for 
Did you mean: 

Reference design for USB charger detection of i.MX7D

Jump to solution
1,011 Views
ko-hey
Senior Contributor II

Hi all

I plan to use MCIMX7D5EVM10SD and use USB charger detection function.

However, I can't find a details of register setting and reference design.

1. Can i.MX7 USB_OTG1 port detect supply power of Host using USB Charger Detection ?

2. If 1 is possible, please tell us about recommended circuit for USB port connection.
In particular, please tell me about USB_OTG1_ID / USB_OTG1_REXT / USB_OTG1_CHD_B pin handling.

3. Could you please tell me the software flow (the flow which is described in Figure 66-4. USBPHY Charger Detection Software Flow in IMX6DQRM) ?

Ko-hey

Labels (3)
0 Kudos
1 Solution
332 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Ko-hey

1. yes

2. please refer to p.5 spf-28484 schematic

iMX7 12x12 dsn lib file 

3. please refer to i.mx usb driver sources in linux/drivers/usb/chipidea/

drivers/usb/chipidea/usbmisc_imx.c

linux-imx.git - i.MX Linux Kernel 

dts property "imx6-usb-charger-detection"

linux/Documentation/devicetree/bindings/usb/ci-hdrc-imx.txt

linux-imx.git - i.MX Linux Kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
333 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Ko-hey

1. yes

2. please refer to p.5 spf-28484 schematic

iMX7 12x12 dsn lib file 

3. please refer to i.mx usb driver sources in linux/drivers/usb/chipidea/

drivers/usb/chipidea/usbmisc_imx.c

linux-imx.git - i.MX Linux Kernel 

dts property "imx6-usb-charger-detection"

linux/Documentation/devicetree/bindings/usb/ci-hdrc-imx.txt

linux-imx.git - i.MX Linux Kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos