Search found 290 matches

by ESP_morris
Mon Nov 23, 2020 7:55 am
Forum: ESP-IDF 中文讨论版
Topic: 红外peripherals/rmt/ir_protocols实例有问题
Replies: 3
Views: 4598

Re: 红外peripherals/rmt/ir_protocols实例有问题

我们有用自带的红外收发进行测试,没有发现这个问题...期间我们用障碍物遮挡了发送器让接收器收不到信号,过段时间再移开遮挡物,接收器还是能正常工作 ... I (723620) example: Send command 0x176 to address 0x10 I (723690) example: Scan Code --- addr: 0x0010 cmd: 0x0176 I (723750) example: Scan Code (repeat) --- addr: 0x0010 cmd: 0x0176 I (725730) example: Send command 0x177 to...
by ESP_morris
Mon Nov 23, 2020 6:52 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号 [IDFGH-4312]
Replies: 4
Views: 5642

Re: ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号

试试这个函数esp_flash_read_id,第一个参数如果是NULL,就会默认选择主flash芯片
by ESP_morris
Mon Nov 23, 2020 6:49 am
Forum: ESP-IDF 中文讨论版
Topic: 入门新手esp32-s2-kaluga-1怎么使用
Replies: 1
Views: 2975

Re: 入门新手esp32-s2-kaluga-1怎么使用

开发板的BSP是以组建的形式提供的,所以如果你要跑开发板对应的官方example,需要: 1. 安装好idf的开发环境: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/get-started/index.html 2. 克隆BSP代码: https://github.com/espressif/esp-dev-kits/tree/master/esp32-s2-kaluga-1 3. 进入任意一个example目录,https://github.com/espressif/esp-dev-kits/tree/mast...
by ESP_morris
Wed Nov 18, 2020 8:28 am
Forum: ESP-IDF
Topic: LEDC and PCNT on same GPIO
Replies: 5
Views: 4928

Re: LEDC and PCNT on same GPIO

yes you can route different peripheral signals to a same GPIO by GPIO matrix. We have many example in our unit test cases. For example: https://github.com/espressif/esp-idf/bl ... _rmt.c#L67
by ESP_morris
Wed Nov 18, 2020 8:23 am
Forum: ESP-IDF
Topic: devkitM does not run ethernet/enc28j60 example
Replies: 2
Views: 3054

Re: devkitM does not run ethernet/enc28j60 example

ENC29J60 revision reads out "0", one possibility could be the SPI communication is wrong (wrong wiring? SPI timing setting?)
by ESP_morris
Mon Nov 16, 2020 3:17 am
Forum: ESP-IDF 中文讨论版
Topic: windows 下安装vscode插件无法启动menuconfig
Replies: 1
Views: 3839

Re: windows 下安装vscode插件无法启动menuconfig

export.bat 应该会帮你将CMake的bin目录加到PATH中
by ESP_morris
Thu Nov 12, 2020 2:47 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32S2在Linux下make flash下载失败,不知道什么原因
Replies: 6
Views: 6193

Re: ESP32S2在Linux下make flash下载失败,不知道什么原因

明白了,你用的IDF不是4.2..只有从4.2版本开始才支持ESP32S2
by ESP_morris
Wed Nov 11, 2020 11:05 am
Forum: ESP-IDF
Topic: ESP32驱动phy芯片ksz8041初始化失败
Replies: 1
Views: 2438

Re: ESP32驱动phy芯片ksz8041初始化失败

一定要注意RMII时钟,从你的log来看,PHY侧应该没有拿到有效的RMII时钟(50MHz),所以PHY内部的电路都没有起来。ESP32上有多种方式可以产生 RMII 时钟,关于这块内容,建议阅读一下文档 https://docs.espressif.com/projects/esp ... ac-and-phy
by ESP_morris
Wed Nov 11, 2020 3:20 am
Forum: ESP-IDF 中文讨论版
Topic: IDF中的 pthread 和 Task 相比有何不同?
Replies: 1
Views: 2560

Re: IDF中的 pthread 和 Task 相比有何不同?

你可以理解IDF中提供的POSIX 标准pthread的实现是基于freertos 提供的基础组件,包了一层,好处是可以方便移植更多原先依赖pthread的库。同时IDF还对pthread加了扩展,详见文档 https://docs.espressif.com/projects/esp ... hread.html