Description
Description
Update - USB Implementation Done - Pull Request Merged
I have finished the implementation for the USBPhy on the nRF52840 platform. I have put in a pull request so hopefully it should be released in master soon.
You can check out my development branch here.
Please note the development branch has been updated to work with Nordic SDK version 15!
USB Basic Tests
test case | status |
---|---|
usb control basic test | ✔️ PASSING |
usb control stall test | ✔️ PASSING |
usb control sizes test | ✔️ PASSING |
usb control stress test | ✔️ PASSING |
usb device reset test | ✔️ PASSING |
usb soft reconnection test | ✔️ PASSING |
usb repeated construction destruction test | ✔️ PASSING |
endpoint test data correctness | ✔️ PASSING |
endpoint test halt | ✔️ PASSING |
endpoint test parallel transfers | ✔️ PASSING |
endpoint test parallel transfers ctrl | ✔️ PASSING |
endpoint test abort | ✔️ PASSING |
endpoint test data toggle reset | ✔️ PASSING |
Serial USB Test
test case | status |
---|---|
cdc usb reconnect | ✔️ PASSING |
cdc rx single bytes | ✔️ PASSING |
cdc rx single bytes concurrent | ✔️ PASSING |
cdc rx multiple bytes | ✔️ PASSING |
cdc rx multiple bytes concurrent | ✔️ PASSING |
cdc loopback | ✔️ PASSING |
serial usb reconnect | ✔️ PASSING |
serial terminal reopen | ✔️ PASSING |
serial getc | ✔️ PASSING |
serial printf/scanf | ✔️ PASSING |
serial line coding change | ✔️ PASSING |
Table last updated 3/15/2019
Original Description
Hi,
I'm interested in moving up to the nRF52840 for a future project. The current nRF SDK supported by mbed is 14.2. The update for this was completed fairly recently. It looks like mbed is planning renewed support for the USB (see feature branch here: https://github.com/ARMmbed/mbed-os/tree/feature-hal-spec-usb-device), which would be great to have on the nRF52840.
The nRF SDK14.2 documentation lists the USB driver (and support for the nRF52840 in general) as "experimental" and not "production quality". Is there any plan to start updating to nRF SDK15 for production quality support for the nRF52840 and USB library? Might be something I'd like to help with.
@marcuschangarm have you looked into this? I vaguely remember that quite a bit changed in the structure of some drivers from v14.2 to v15.
Issue request type
[ ] Question
[X] Enhancement
[ ] Bug