Use USB CDC ACM port in ESP32S3 using Zephyr #71325
Replies: 2 comments 10 replies
-
The CDC-ACM port of esp32s3 is assigned to the "usb_serial" dts node. I have just tried to use it as console and it works well. |
Beta Was this translation helpful? Give feedback.
8 replies
-
hello. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Currently, I am using a custom board having ESP32S3 that has USB connected with DP and DM (IO20 and IO19) pins. I need an ACM port that can be used to flash an executable in ESP32 via a USB interface.
I have checked that the esp32s3_common.dtsi file and found that it does not have any interface of cdc_acm_uart. And that is why when I am trying to set the zephyr, console to cdc_acm_uart like below overlay
`/ {
chosen {
zephyr,console = &cdc_acm_uart;
zephyr,shell-uart = &cdc_acm_uart;
};
};
it gave me the error
error: static assertion failed: "node /soc/uart@60038000/cdc_acm_uart is not assigned to a USB device controller"
So is there any way to have an ACM0 port in ESP32 using Zephyr.
Beta Was this translation helpful? Give feedback.
All reactions