Search found 6 matches

by mulinluo
Mon Sep 02, 2019 2:20 am
Forum: ESP-IDF 中文讨论版
Topic: esp32外接lan8720模块报错
Replies: 4
Views: 10085

Re: esp32外接lan8720模块报错

设置正确的phy address,确保有clock信号,把接线多焊了两遍就解决了
by mulinluo
Tue Aug 27, 2019 8:11 am
Forum: ESP-IDF 中文讨论版
Topic: esp32外接lan8720模块报错
Replies: 4
Views: 10085

Re: esp32外接lan8720模块报错

您好, 我用示波器测量有50MHz的clock信号,VDDCR有1.2V电压输出,lan8720是买的模块,其原理图如下: https://thumbnail0.baidupcs.com/thumbnail/6f067af6857f8531f20f65f1240683f7?fid=2910875040-250528-958046267077860&time=1566892800&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-EVF3hlAMjK8a7L7803KHRCEu7f4%3D&expires=8h&chkv=0&chkbd=0&c...
by mulinluo
Fri Jul 12, 2019 2:53 am
Forum: ESP-IDF 中文讨论版
Topic: esp32外接lan8720模块报错
Replies: 4
Views: 10085

esp32外接lan8720模块报错

我使用esp32外接lan8720模块做ethernet。使用esp-idf-release-v3.2的Ethernet示例代码进行编译。clock信号使用的是lan8720模块上的50MHz晶振,nINT/REFCLKO引脚与gpio0连接,模式选择为Ethernet PHY Clock Mode (GPIO0 Input) 。编译后报错E (1301) emac: Reset EMAC Timeout。 具体log如下: I (0) cpu_start: App cpu up. I (232) heap_init: Initializing. RAM available for dynam...
by mulinluo
Tue Jun 11, 2019 6:34 am
Forum: ESP-IDF 中文讨论版
Topic: 请问esp32在rs485模式下单字节收发怎么做?
Replies: 0
Views: 4294

请问esp32在rs485模式下单字节收发怎么做?

我的esp32一端通过wifi与电脑通信,另一端通过uart串口通信。当由电脑通过wifi发送数据到esp32,esp32再通过uart串口RS485模式将数据发送出去。 我的wifi端接收数据代码如下: void recv_data(void *pvParameters) { uint32_t recvLen = 0; char *sendFromNetToUartBuff = (char *)malloc(NETRECEIVEBUFF); while(1){ memset(sendFromNetToUartBuff, 0, NETRECEIVEBUFF); if(currentParame...
by mulinluo
Mon Jun 03, 2019 1:56 am
Forum: ESP-IDF 中文讨论版
Topic: esp32编译通过后重启
Replies: 3
Views: 6467

Re: esp32编译通过后重启

您好,我现在使用的是esp-idf-release-v3.2,使用的开发板是ESP-WROOM-32,通过0x40081379: call_start_cpu0 at /home/lin/esp/esp-idf/components/esp32/cpu_start.c:173查看原始代码如下: #if CONFIG_SPIRAM_BOOT_INIT esp_spiram_init_cache(); if (esp_spiram_init() != ESP_OK) { #if CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY ESP_EARLY_LOGE(T...
by mulinluo
Thu May 23, 2019 1:54 am
Forum: ESP-IDF 中文讨论版
Topic: esp32编译通过后重启
Replies: 3
Views: 6467

esp32编译通过后重启

我的esp32编译通过出现如下重启信息,请问哪路大神知道是什么原因? Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:752 ho 0 tai...