What exactly is required to run USB on an nRF52840 without an external crystal?

Long story short, I trusted the datasheet (big mistake) where it says an external crystal is optional. In previous builds, I had an external crystal onboard anyway, so this issue never arose, but now I don't want an external crystal, but it turns out the "optional" marking in the datasheet really means "there's no easy way to do this, oh ya, and no clear guide either".

1. I have no external crystal oscillator, how can I use USB as an HID device still?

2. Can I still use BLE reliably without the external crystal? I'm depending on 7.5ms intervals, 16 Kb/s throughput.

Please don't paste minute code snippets without telling me where to paste them. Thank you!

Parents Reply
  • I am using a 3rd party board with this chip, after doing some research, it turns out that it does in fact include an external 32 MHz crystal, it does NOT include a 32 KHz crystal.

    Should USB still will under this layout? As far as my research tells me, if the 32 MHz crystal would suffice for USB, it would be automatic, like it's automatic when a 32 KHz crystal is connection.

    This is the schematic we are using:

Children
Related