Search found 308 matches
- Mon Feb 28, 2022 9:58 am
- Forum: ESP-IDF
- Topic: ESP32-S3 USB host interface to keyboard
- Replies: 11
- Views: 12516
Re: ESP32-S3 USB host interface to keyboard
Hi @username ESP-IDF currently doesn't have support for Host Side HID class yet. We do have Host HID support planned, but I can't give you a definite timeline on when it will be supported (earliest possible is release v5.0). If you need a quick way to talk to a particular Mouse/Keyboard specifically...
- Fri Feb 25, 2022 11:26 am
- Forum: General Discussion
- Topic: how to solve [Errno 2] could not open port /dev/ttyS7??
- Replies: 1
- Views: 1608
Re: how to solve [Errno 2] could not open port /dev/ttyS7??
Have you tried specifying the port of your connected ESP32 device?
You can specify on the command line as such:
Alternatively, you can specify it in your project configuration.
You can specify on the command line as such:
Code: Select all
make flash ESPPORT=/dev/ttyUSB0
- Wed Feb 23, 2022 12:05 pm
- Forum: ESP-IDF
- Topic: RX doesnt work with TWAI libary
- Replies: 2
- Views: 2813
Re: RX doesnt work with TWAI libary
Might be something wrong with the driver's GPIO configuration. Have you tried using another set of GPIOs?
- Wed Feb 23, 2022 8:55 am
- Forum: ESP-IDF
- Topic: Timer/Counter with ZeroCross for dimmer
- Replies: 3
- Views: 2828
Re: Timer/Counter with ZeroCross for dimmer
You don't need create your own timers to dim an LED. The ESP chips have dedicated hardware to dim LEDs. See the LED Control driver for more details.
- Fri Feb 11, 2022 7:45 am
- Forum: ESP-IDF 中文讨论版
- Topic: 请代码维护者改正 USB 代码错误,从4.2到4.4都没改过来 [IDFGH-5223]
- Replies: 3
- Views: 4247
Re: 请代码维护者改正 USB 代码错误,从4.2到4.4都没改过来 [IDFGH-5223]
上述两个问题从 release/v4.4 开始已经修好了(commit)。
- Wed Feb 09, 2022 11:55 am
- Forum: Hardware
- Topic: ESP32-S3 USB ID pin
- Replies: 5
- Views: 4841
Re: ESP32-S3 USB ID pin
On the ESP32-S3, D- and D+ should be tied to GPIO19 and GPIO20. See section "2.2 Pin Description" of the S3 datasheet for more details.
- Tue Dec 14, 2021 12:53 pm
- Forum: General Discussion
- Topic: I2C corruption when using ESP CAN (IDFGH-3307)
- Replies: 20
- Views: 26307
Re: I2C corruption when using ESP CAN (IDFGH-3307)
The original issue in this thread was caused by the following chain of events: I2C had stuck bus issues (see 680 , 922 , 2494 . The stuck bus prevents the pending interrupts of other drivers (such as CAN) from running at the same time. If a CAN interrupt does not in due time, its RX FIFO fills up. T...
- Mon Dec 13, 2021 3:37 pm
- Forum: ESP-IDF 中文讨论版
- Topic: hcd.c中的zero_len_packet标志设置问题
- Replies: 2
- Views: 4148
Re: hcd.c中的zero_len_packet标志设置问题
驱动提供的 USB_TRANSFER_FLAG_ZERO_PACK 定义和用法有点问题。理想行为应该和 LIBUSB 的 LIBUSB_TRANSFER_ADD_ZERO_PACKET 一样。我会修改。
- Thu Dec 09, 2021 11:28 am
- Forum: ESP-IDF 中文讨论版
- Topic: [已解决] MASTER版本USB HOST批量传输时如数据长度正好是64的倍数导致HCD_PIPE_EVENT_ERROR_XFER错误
- Replies: 8
- Views: 10935
Re: MASTER版本USB HOST批量传输时如数据长度正好是64的倍数导致HCD_PIPE_EVENT_ERROR_XFER错误
如果不设置这个USB_TRANSFER_FLAG_ZERO_PACK标志,不会出现assert失败 看起来 USB_TRANSFER_FLAG_ZERO_PACK 可能有点问题。我会再检查。但是需要用 USB_TRANSFER_FLAG_ZERO_PACK 的情况很少。我不是很懂为什么你发bulk传输要加 USB_TRANSFER_FLAG_ZERO_PACK。当 urb->transfer.num_bytes 是端点 MPS (例如 64) 的 N 倍时,HCD 已经会自动加最后的 zero packet。 但是其中有一个256长度的报文,业务逻辑上不能拆分。还是请指导一下如何解决这个问题...
- Wed Dec 08, 2021 8:23 am
- Forum: ESP-IDF 中文讨论版
- Topic: [已解决] MASTER版本USB HOST批量传输时如数据长度正好是64的倍数导致HCD_PIPE_EVENT_ERROR_XFER错误
- Replies: 8
- Views: 10935
Re: MASTER版本USB HOST批量传输时如数据长度正好是64的倍数导致HCD_PIPE_EVENT_ERROR_XFER错误
如果不包括 USB_TRANSFER_FLAG_ZERO_PACK 还会出问题吗?你现在用的设备时什么 Device Class?