-
Notifications
You must be signed in to change notification settings - Fork 7.8k
nordic: enable usb testing on nrf54lm20dk #93667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
nordic: enable usb testing on nrf54lm20dk #93667
Conversation
Include: Nrfx 7936 enable usb testing on nrf54lm20dk nrfconnect/sdk-zephyr#3082 zephyrproject-rtos/zephyr#93667 Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Depends on #92842 |
c650b7c
to
eb06702
Compare
153a94a
to
27432e6
Compare
- "HS bNumConfigurations 1" | ||
- "FS bNumConfigurations 1" | ||
- "Actual device speed 2" | ||
- "s-in-status finished" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs USBD INF level logs and connection to host that will perform enumeration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will set USBD INF log level. Otherwise there is nothing usable in the console.
With INF enabled, I see that with/without Host connected, following logs are printed
- "HS bNumConfigurations 1"
- "FS bNumConfigurations 1"
Does these logs indicate that the sample works (f.e. USB stack works)? Or there is no value added by extending sample.yaml with these two regexps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without connection to Host I get on the console:
*** Booting nRF Connect SDK v3.1.99-d7b0f5b8d864 ***
*** Using Zephyr OS v4.1.99-53824876e356 ***
[00:00:00.002,198] <inf> usbd_init: interface 0 alternate 0
[00:00:00.002,213] <inf> usbd_init: ep 0x81 mps 0x0040 interface ep-bm 0x00020000
[00:00:00.002,218] <inf> usbd_init: Instance iface-bm 0x00000001 ep-bm 0x00020000
[00:00:00.002,229] <inf> usbd_init: Init class node 0x200001d8, descriptor length 25
[00:00:00.002,235] <inf> usbd_init: bNumInterfaces 1 wTotalLength 34
[00:00:00.002,242] <inf> usbd_init: HS bNumConfigurations 1
[00:00:00.002,247] <inf> usbd_init: interface 0 alternate 0
[00:00:00.002,258] <inf> usbd_init: ep 0x81 mps 0x0040 interface ep-bm 0x00020000
[00:00:00.002,263] <inf> usbd_init: Instance iface-bm 0x00000001 ep-bm 0x00020000
[00:00:00.002,270] <inf> usbd_init: Init class node 0x200001d8, descriptor length 25
[00:00:00.002,276] <inf> usbd_init: bNumInterfaces 1 wTotalLength 34
[00:00:00.002,281] <inf> usbd_init: FS bNumConfigurations 1
[00:00:00.027,447] <wrn> udc_dwc2: Experimental DMA enabled
1eb3fdb
to
2cf1852
Compare
Include: Nrfx 7936 enable usb testing on nrf54lm20dk nrfconnect/sdk-zephyr#3082 zephyrproject-rtos/zephyr#93667 Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Include: Nrfx 7936 enable usb testing on nrf54lm20dk nrfconnect/sdk-zephyr#3082 zephyrproject-rtos/zephyr#93667 Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Works in internal CI
|
Include: Nrfx 7936 enable usb testing on nrf54lm20dk nrfconnect/sdk-zephyr#3082 zephyrproject-rtos/zephyr#93667 Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Include: Nrfx 7936 enable usb testing on nrf54lm20dk nrfconnect/sdk-zephyr#3082 zephyrproject-rtos/zephyr#93667 Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Include: Nrfx 7936 enable usb testing on nrf54lm20dk nrfconnect/sdk-zephyr#3082 zephyrproject-rtos/zephyr#93667 Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Add 'usbd' to the list of supported peripherals on nrf54lm20dk. Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Use console logs to determine if sample operates correctly. Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Use console logs to determine if sample operates correctly. Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2cf1852
to
eff4002
Compare
|
Include: Nrfx 7936 enable usb testing on nrf54lm20dk nrfconnect/sdk-zephyr#3082 zephyrproject-rtos/zephyr#93667 Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Enable USB samples on nrf54lm20dk board.