Hello,
I'm having difficulty with an app which combines USB (CDC ACM) and 802.15.4 using Softdevice (15.3). The issue appears to be related to hfclk, which is started to have RAAL active. Following the example (examples/peripheral/usbd_cdc_acm) the program initializes USBD before Softdevice, which works fine. However, when then launching 802.15.4 which needs hfclk, the USB device is lost.
The program could be written to use these two alternately (switching between USB and 802.15.4) except that app_usbd_uninit() is not implemented -- and I don't think this would make sense, because you want the connection between the nRF52840 and the PC (Linux, Mac, Windows) to persist.
I wonder if there is some way to coach these two features, USB and 802.15.4, to share the high frequency clock.
- T