NRF USB CDC Configurations

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

NRF USB CDC Configurations

Post by devnull » Mon Jan 06, 2020 10:20 am

Does anyone know, for the NRF devices, other than connecting D+, D-, VBUS and Ground from USB cable and making the following changes in the mpcconfigboard.h, are there any other settings / connections to make CDC work on the NRF ??

is there any additional USB firmware that needs to be flashed to the device as well as the bluetooth and applications hexes ?

Code: Select all

#define MICROPY_HW_USB_CDC            (1)

// UART config
#define MICROPY_PY_MACHINE_UART       (0)
As after doing this the usb device is not being recognized.

User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Re: NRF USB CDC Configurations

Post by devnull » Fri Jan 10, 2020 9:07 am

Ping....

Anybody have any suggestions about this ???

As the NRF52840 pca10059 has bluetooth and BT, it must be possible and the NRF device has the necessary connections for USB connections ?!

Thanks

User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Re: NRF USB CDC Configurations

Post by devnull » Sat Jan 11, 2020 10:40 am

@jimmo - any idea about this ???

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: NRF USB CDC Configurations

Post by jimmo » Sat Jan 11, 2020 2:02 pm

Sorry I haven't used USB on the NRF (usb support was added after I last used that particle xenon board i mentioned).

I can only suggest really generic stuff like looking at dmesg output when you connect it. Also without schematics for that module I don't know if you need any additional circuitry on the D+ / D-. Also does the module include built-in voltage regulation (i.e. can it be safely powered by 5V on Vbus?)

Might be worth following up on pr 5112?

Post Reply