Search found 290 matches
- Fri Dec 30, 2022 8:27 am
- Forum: ESP-IDF 中文讨论版
- Topic: esp32 有几个rmt信道?
- Replies: 1
- Views: 1498
Re: esp32 有几个rmt信道?
32有 8个tx通道,s3有4个,但是这个通道会被你设置的mem_block_symbols 的大小影响,因为各个通道实际上是share一块内部RAM的,如果其中一个通道把他们都占了,哪怕你还剩7个通道,实际上你也已经申请不到了。
- Wed Dec 07, 2022 5:43 am
- Forum: ESP-IDF 中文讨论版
- Topic: esp32能不能跑opencv
- Replies: 2
- Views: 2620
- Wed Dec 07, 2022 5:41 am
- Forum: ESP-IDF 中文讨论版
- Topic: 请问get_example_netif_from_desc函数源代码在哪里?
- Replies: 1
- Views: 1422
- Wed Nov 30, 2022 6:48 am
- Forum: ESP-IDF
- Topic: Using same pin as MCPWM output and PCNT input on ESP32-S3
- Replies: 5
- Views: 2297
Re: Using same pin as MCPWM output and PCNT input on ESP32-S3
BTW, if you want to drive the stepper motor in an open-loop, then the RMT peripheral is more suitable. It can generate the precise number of pulses you want. See example https://github.com/espressif/esp-idf/tree/master/examples/peripherals/rmt/stepper_motor But if you want to do that in a close loop...
- Thu Nov 24, 2022 2:43 am
- Forum: ESP-IDF 中文讨论版
- Topic: 使用ESP32-C3 RMT外设驱动W2812
- Replies: 2
- Views: 1585
Re: 使用ESP32-C3 RMT外设驱动W2812
主要原因是用RMT电灯会频繁进入RMT的传输半满中断,wifi的中断优先级非常高,会抢占掉rmt中断,直接导致rmt因为没有及时响应中断而导致发送错误。
解决办法就是使用带DMA的外设去模拟这个时序,比如SPI.
另外,S3上的RMT带有DMA,所以如果你用S3上的RMT(驱动中开启DMA)的话,也不会有问题
解决办法就是使用带DMA的外设去模拟这个时序,比如SPI.
另外,S3上的RMT带有DMA,所以如果你用S3上的RMT(驱动中开启DMA)的话,也不会有问题
- Mon Nov 14, 2022 9:29 am
- Forum: ESP-IDF 中文讨论版
- Topic: 关于链接脚本(ld)的使用中段(section)被优化的问题
- Replies: 1
- Views: 1351
Re: 关于链接脚本(ld)的使用中段(section)被优化的问题
有官方example可以参考,文档非常详细
https://github.com/espressif/esp-idf/tr ... ke/plugins
https://github.com/espressif/esp-idf/tr ... ke/plugins
- Mon Nov 14, 2022 9:26 am
- Forum: ESP-IDF 中文讨论版
- Topic: 乐鑫 有没有出 chipinfo 类似的软件啊 自动识别 芯片或者 模组型号?!
- Replies: 4
- Views: 2720
Re: 乐鑫 有没有出 chipinfo 类似的软件啊 自动识别 芯片或者 模组型号?!
esptool 可以读取chip_id 的,可以自动识别芯片型号
esptool.py --help 查看具体的
esptool.py --help 查看具体的
- Thu Oct 27, 2022 2:32 am
- Forum: ESP-IDF
- Topic: Does RMT loop implementation use Interrupt ?
- Replies: 1
- Views: 847
Re: Does RMT loop implementation use Interrupt ?
By hardware.
- Fri Oct 14, 2022 10:21 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32如何记录MCPWM输出的脉冲个数
- Replies: 1
- Views: 1494
- Fri Oct 14, 2022 10:19 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32S3 GPIO36配置成Dedicated 写入值后没有输出信号
- Replies: 2
- Views: 1428
Re: ESP32S3 GPIO36配置成Dedicated 写入值后没有输出信号
看这个write函数的第二个参数:mask – [in] Mask of the GPIOs to be written in the given bundle, 指的是你要操作的gpio在这个bundle中的位置,不是实际的gpio号了。你应该试试传0x01