Replies: 1 comment 1 reply
-
You need to use usb_write() to arm/write-to an endpoint and when the transfer to the host is complete, the driver will call endpoint callback m2i_in_cb. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Zephyr Version: 3.4.99
Describe the bug
I implemented the USB callback in/out function by referring to the link.
A folder was added under the zephyr/subsys/usb/device path.
Three files were added under the folder.
After that, I added USB-related configs to my project prj.conf file.

When I built and flashed the project, USB worked fine.

When connected to a PC, a message is displayed including the configuration I added.

However, even if I try to generate an interrupt by sending a message to my board through the PC, no callback function is generated.
Please advise if I have made any mistakes or are lacking in this matter.
Beta Was this translation helpful? Give feedback.
All reactions