How to access USB_DM and USB_DP

Hy there

I have to share the D+ and D- pins with a battery charger BQ25895.
For this, according to TI, it is prefered to set D+ and D- of the system microcontroller (an arduino nano 33 BLE in this case) to high impedance the first second when a usb plug is inserted. This should guarantee, that the charger can have a proper "look", what kind of USB source is connected (SDP, CDP, DCP,...).
So is there a possibility to access the two pins USB_DM and USB_DP on the NINA-B3X by software and start the communication with the arduino first one second after power up?

Thanks for an answer and kind regards


Your topic was Moved to it's current location / section as it is more suitable.

Could you also take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

It would help if you posted a schematic,not a frizzy drawing showing all power and ground connections. Also post links to each part connected.

Hey there

A few hours reading the manual of the microcontroller and a lot of pages in the net gives myself the solution:

NRF_USBD->ENABLE = 0; // disables the USB-port
NRF_USBD->ENABLE = 1; // enables the USB-port

So easy, but nowhere to find exactly like this in the www.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.