Giter VIP home page Giter VIP logo

Comments (17)

netmindz avatar netmindz commented on August 19, 2024 1

Just checked and no error, but silence and no passthru, need to double check the config is right

from wled.

softhack007 avatar softhack007 commented on August 19, 2024 1

If the initialisation fails, we need that to be showing on the info page, not just silence

good point, I'll add a message tomorrow. I'll also check if a "frozen" message (discussed some month ago) can be added easily.

from wled.

netmindz avatar netmindz commented on August 19, 2024

#48

from wled.

softhack007 avatar softhack007 commented on August 19, 2024

@netmindz I think we can close this now?

from wled.

netmindz avatar netmindz commented on August 19, 2024

Let me just double check with this board as well as the LyraT

from wled.

netmindz avatar netmindz commented on August 19, 2024

PIN Manager: wire.begin successfull! I2C bus is active. SDA=33 SCL=32.
Starting display (I2C HW).
AR: ES8388 Source (Line-In)
ES8388Source:: initialize();
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x8, val 0x0).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x2, val 0xF3).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x2B, val 0x80).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x0, val 0x5).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0xD, val 0x2).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x1, val 0x40).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x3, val 0x0).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x4, val 0xFC).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x2, val 0x40).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0xA, val 0x50).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x9, val 0x0).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x10, val 0x40).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x11, val 0x40).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x26, val 0x9).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x27, val 0x50).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x2A, val 0x50).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x2E, val 0x1B).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x2F, val 0x1E).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x30, val 0x1E).
AR: ES8388 I2C write failed with error=2 (addr=0x10, reg 0x31, val 0x1E).
I2SSource:: initialize().

from wled.

softhack007 avatar softhack007 commented on August 19, 2024

Starting display (I2C HW).

This one comes from four line display. It should not cause any problem, but you could check if disabling the usemod makes a difference.

from wled.

softhack007 avatar softhack007 commented on August 19, 2024

I2C write failed with error=2

i2c error 2 is NACK when sending the address - either the Es8388 address (0x10) is wrong, or the I2C pins ( SDA=33 SCL=32) are wrong/swapped.

from wled.

softhack007 avatar softhack007 commented on August 19, 2024

i2c error 2 is NACK when sending the address - either the Es8388 address (0x10) is wrong, or the I2C pins ( SDA=33 SCL=32) are wrong/swapped.

@netmindz: your I2C config seems to be correct, at least according to information I found here: https://www.pschatzmann.ch/home/2021/12/06/the-ai-thinker-audio-kit-experience-or-nothing-is-right/

So maybe its really some interference with four-line-display drivers. un-checking "enabled" in the fourline-display usermod setting, then reboot, might help.

from wled.

netmindz avatar netmindz commented on August 19, 2024

If the initialisation fails, we need that to be showing on the info page, not just silence

from wled.

netmindz avatar netmindz commented on August 19, 2024

I just tried the alternative pin combo for I2C on some boards and I get

AR: ES8388 Source (Line-In)
ES8388Source:: initialize();
PIN Manager: wire.begin successfull! I2C bus is active. SDA=18 SCL=23.
I2SSource:: initialize().
AR: I2S#0 driver without aPLL; fixed_mclk=0.
AR: 32 bits, Sample scaling factor = 1.0000
AR: I2S#0 driver installed in MASTER mode.
AR: FFT task started on core 0 [prio=1, min free stack=|| loopTask min free stack 4360
AR: sound input driver initialized successfully.

But still then silence and still no audio passthru

from wled.

netmindz avatar netmindz commented on August 19, 2024

Might be useful

https://github.com/muvox-io/euphonium/blob/e26ee70af16602ae4bed48d94aca14974b988a19/euphonium/scripts/esp32/dacs/es8388_driver.be

from wled.

softhack007 avatar softhack007 commented on August 19, 2024

I just tried the alternative pin combo for I2C on some boards and I get
But still then silence and still no audio passthru

Looks like a step forward - no i2c errors means that AR could talk to the chip 👍

from wled.

netmindz avatar netmindz commented on August 19, 2024

I'm annoyed i never took a screenshot of the setting when I had my board working, the notes on the docs are from @troyhacks and this board is notorious for having 3 variants

from wled.

softhack007 avatar softhack007 commented on August 19, 2024

Maybe this table helps: https://github.com/pschatzmann/arduino-audiokit/wiki/GPIO-Overview-by-Selected-Board

Screenshot_20231008-225109_Samsung Internet

If SDA=18 SCL=23 works for you, then it seems you have the variant in column 7, with
SD=35, WS=25, SCK=5, MCLK=0.

from wled.

netmindz avatar netmindz commented on August 19, 2024

Ah, great find @softhack007

from wled.

netmindz avatar netmindz commented on August 19, 2024

Screenshot from 2023-10-09 18-42-23

from wled.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.