Skip to content
This repository was archived by the owner on Jul 15, 2025. It is now read-only.

Have trouble with the mic, lan and wifi. #16

@metalpy

Description

@metalpy

Hi, I'm trying to use an Olimex ESP32 POE with and an INMP441 mic. This have a LAN8710 PHY, and in the code until before execute lan.active(1) the PHY work and turn on the leds but, when execute the command lan.active(1) or lan.active(True), the device show an assert fail and reboot.

I also have trouble with wifi, when connect to wifi stop of execute and don't continue with the I2S module.

PD: As the error refer to C:/Users/miket/Documents/micropython_projects/esp-idf-v3-3-2-9e7082/components/freertos/queue.c, I think the kernel have an issue??

This the prompt code:

import network
import machine

lan_power = machine.Pin(12, machine.Pin.OUT)
lan_power.value(1)
lan = network.LAN(mdc = machine.Pin(23), mdio = machine.Pin(18), power=machine.Pin(12), phy_type = network.PHY_LAN8720, phy_addr=0, clock_mode=network.ETH_CLOCK_GPIO17_OUT)
[0;32mI (803460) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE�[0m
lan.active(1)
C:/Users/miket/Documents/micropython_projects/esp-idf-v3-3-2-9e7082/components/freertos/queue.c:719 (xQueueGenericSend)- assert failed!
abort() was called at PC 0x4009aca4 on core 1

ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000

Backtrace: 0x4008ef6b:0x3ffce610 0x4008f289:0x3ffce630 0x4009aca4:0x3ffce650 0x400867be:0x3ffce690 0x40165e4f:0x3ffce6c0 0x40165f32:0x3ffce6e0 0x400f7ff9:0x3ffce710 0x400e39f2:0x3ffce730 0x400df961:0x3ffce760 0x400dfa81:0x3ffce780 0x400ed0f5:0x3ffce7a0 0x400e3aac:0x3ffce840 0x400df961:0x3ffce8b0 0x400df98a:0x3ffce8d0 0x40101863:0x3ffce8f0 0x40101a6d:0x3ffce980 0x400f5b8c:0x3ffce9c0 0x4009a79a:0x3ffce9f0

Rebooting...
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x1b (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:5164
load:0x40078000,len:10600
load:0x40080400,len:5684
entry 0x400806bc
�[0;32mI (534) cpu_start: Pro cpu up.�[0m

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions