Search found 40 matches

by ESP_morris
Tue Sep 17, 2019 8:53 am
Forum: ESP-IDF 中文讨论版
Topic: 调试IDF里的ethernet demo,出现emac: Timed out waiting for PHY register 0x2 to have value 0x0243(mask 0xffff). Current value 0xf
Replies: 1
Views: 62

Re: 调试IDF里的ethernet demo,出现emac: Timed out waiting for PHY register 0x2 to have value 0x0243(mask 0xffff). Current value

你好,官方开发板还需要如下配置,详见板子原理图:
CONFIG_PHY_USE_POWER_PIN=y
CONFIG_PHY_POWER_PIN=5

另外为了降低官方开发板的使用门槛,近期我们会将配置导入sdkconfig.defaults,方便上手直接使用
by ESP_morris
Tue Sep 17, 2019 2:58 am
Forum: Hardware
Topic: WROVER and PSRAM and EMAC_TX_CLK
Replies: 5
Views: 466

Re: WROVER and PSRAM and EMAC_TX_CLK

Hi @bwendin Ethernet requires a high quality of RMII clock, the idea of "Output RMII clock via GPIO0" can sometimes be unstable, which depends on your hardware design. So I would like to suggest you switch to using an external xtal as the RMII clock and select the "GPIO0 input mode". BTW, the "GPIO0...
by ESP_morris
Mon Jul 15, 2019 7:35 am
Forum: ESP-IDF 中文讨论版
Topic: esp32外接lan8720模块报错
Replies: 4
Views: 351

Re: esp32外接lan8720模块报错

1. 示波器查看GPIO0是否有50MHz时钟输入
2. 检查PHY的原理图,确保PHY地址在软件中被正确设置
by ESP_morris
Mon Jul 15, 2019 7:30 am
Forum: ESP-IDF 中文讨论版
Topic: spiffs挂载失败
Replies: 3
Views: 312

Re: spiffs挂载失败

您这么一说,我就升级到master也试了下,确实没有再出现这个情况 :shock: 1、就是升级到master之后返回旧的分支,make时的路径会报错 **没有规则制作目标** /esp-idf/tools/kconfig/expand_env.h, 由"zconf.tab.o" 需求。停止 这是什么原因呢? 2、我用release/v3.2可以实现例程spiffsgen的功能吗? 烧录文件进去spiffs分区 1. 请清理掉build/ 和 sdkconfig后重新编译 2. 3.2 release版本的构建系统并没有集成自动制作spiffs文件系统并烧录的功能,但是 spiffsgen....
by ESP_morris
Thu Jul 11, 2019 9:56 am
Forum: ESP-IDF 中文讨论版
Topic: spiffs挂载失败
Replies: 3
Views: 312

Re: spiffs挂载失败

不好意思,刚在本地测试了一下并没有复现出这个问题(用的master分支),能否告知你所使用的硬件和软件环境?
by ESP_morris
Thu Jul 11, 2019 9:44 am
Forum: ESP-IDF 中文讨论版
Topic: 程序本身并没有返回参数,为什么会报错
Replies: 1
Views: 155

Re: 程序本身并没有返回参数,为什么会报错

task退出前有没有调用 ` vTaskDelete` 呢?
by ESP_morris
Wed Jul 03, 2019 8:14 am
Forum: ESP32 IDF
Topic: Where is the component (folder) ethernet ?
Replies: 1
Views: 148

Re: Where is the component (folder) ethernet ?

Sorry for any inconvenience, yes, we've refactored the ethernet driver in 4.0, which also breaks original APIs. The main reason is that, IDF will support more kind of Ethenret (e.g. SPI Ethernet module), the original one is not flexible enough to support this work. We don't have much documentation a...
by ESP_morris
Thu Jun 13, 2019 2:28 am
Forum: Hardware
Topic: MIIM / SMI "ETH Connected" check on eth-switch
Replies: 2
Views: 282

Re: MIIM / SMI "ETH Connected" check on eth-switch

Hi, I am trying to integrate an ethernet Switch (Microsemi KSZ8864 series with four Ports, of which two PHYs and two RMII) with an ESP32. MIIM connection and access to the standard registers works. The Issue I have is, that I can only check one PHY of the Switch for a valid connection at a time. So...
by ESP_morris
Wed Jun 12, 2019 8:04 am
Forum: ESP-IDF 中文讨论版
Topic: spiffs文件系统是挂载在哪个分区的
Replies: 4
Views: 1218

Re: spiffs文件系统是挂载在哪个分区的

建议是将音频文件打包成spiffs格式,IDF中已经集成了相关工具,简单来说分成以下几个步骤: 1. 你要在分区表中新建一个分区,取个名字,比如这里的www分区 # Name, Type, SubType, Offset, Size, Flags # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild nvs, data, nvs, 0x9000, 0x6000, phy_init, data, phy, 0xf000, 0x1...
by ESP_morris
Tue May 28, 2019 5:05 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32内置开机音乐,比如欢迎使用等
Replies: 1
Views: 320

Re: ESP32内置开机音乐,比如欢迎使用等

chyoch8742 wrote:
Mon May 27, 2019 9:34 am
大家好,我需要内置几小段MP3,开机的时候播放,如果用外置的SD成本太高,请问如果实现!谢谢
看你音频文件的大小和实际固件的大小而定吧。
如果音频文件很小,可以使用spiffs文件系统,烧写到spi Flash中
如果音频文件很大,除了sd卡,也可以尝试SD Nand

仅供参考

Go to advanced search