Is it possible to Hi-Z state the USB data pins (D+ & D-) of K32L2B3x?

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to Hi-Z state the USB data pins (D+ & D-) of K32L2B3x?

254 Views
Aiden_Kim
Contributor I

We are working on a project using K32L2B3x. For this project, the charger we are using does its own D+/D- detection. For the charger to complete the detection properly, it needs to a processor whose D+/D- lines are in a Hi-Z state for the millisecond after power is applied. Is it possible to Hi-Z state the USB data pins (D+/ D-) of K32L2B3x?

 

0 Kudos
3 Replies

201 Views
alex_yang
NXP Employee
NXP Employee

Hi ,

 It's possible to Hi-Z state the USB data pins (D+/ D-) of K32L2B3x.

 

I check USB spec. and do experiment on FRDM-K32L2B:

K32L2B USB's DP and DM pin have about 15Kohm pull down resistor, same as USB spec. requirement .

 

alex_yang_1-1635403608626.png

 

you need to set PDE to 0 to disable pull down resistor. Also, REMEMIDER: VREGIN must be powered. otherwise, there will be leak current.

178 Views
Thomas_Kang
Contributor I

Hi Alex,

Thank you for clarification!

Best regards,
Thomas Kang

0 Kudos

236 Views
Thomas_Kang
Contributor I

Hi Aiden,

 

Let me describe more for easy understanding of NXP.

 

We are trying to replace competitor's part, and question is asked due to different USB pin spec.

Because competitor MCU(STM32L072RB)'s USB line is multifunctional which can be used GPIO, so it's different with K32L USB.

 

Reason why Hi-Z of D+/- is to check whether Load Switch is mandatory. With competitor's part, the switch is not.

I think external switch should be used with K32L2B that is different with competitor's MCU. Would you please give feedback for double check?

 

Below picture is,

- MCU : K32L2B

- The application is using rechargeable battery using USB-C.

 

 

Thomas_Kang_1-1635351389517.png

 

 

Best regards,

Thomas Kang

 

 

 

0 Kudos