Code Monkey home page Code Monkey logo

Comments (12)

pilnikov avatar pilnikov commented on June 10, 2024 1

For TTGO TM try my fork https://github.com/pilnikov/KaRadio32_fork

from ka-radio32.

pilnikov avatar pilnikov commented on June 10, 2024 1

I modified gpio.h (for correct connection) addon.c (for display Russian on the screen) and disabled the unused RDA module. Maybe it's really in the new IDF? I've make my firmware for a long time ago.

from ka-radio32.

pilnikov avatar pilnikov commented on June 10, 2024 1

ok! i try it. Maybe tomorrow.
P.S not

from ka-radio32.

pilnikov avatar pilnikov commented on June 10, 2024 1

https://yadi.sk/d/AYk_Jhi13Xqi78 full project include idf, exclude msys. need corrected path

from ka-radio32.

HIMjack666 avatar HIMjack666 commented on June 10, 2024

Try ESP Vin connect to DAC VCC and plug ESP in USB port, better power bank.

from ka-radio32.

Primus007 avatar Primus007 commented on June 10, 2024

Thank you. Works good.

from ka-radio32.

joaofl avatar joaofl commented on June 10, 2024

@Primus007
I also have one of these DAC based on the PCM5102. More specifically I have a board that comes with the DAC, LCD and battery support.

The issue is that when I configure the KaRadio to use the proper IOs, and the I2S output, I get some audio output, but I get music playing really fast and noisy, like if it was playing in fast forward.

I've been looking around for any possible cause, but could not really figure it out so far. Which IDF and SDK versions are you using? Did you need to change any other config to get it working?

from ka-radio32.

joaofl avatar joaofl commented on June 10, 2024

@pilnikov I did try your fork. But it has a couple of issues. I even opened an issue there.
Thing is that you dont provide all the source, so its not possible to compile the code.
I tried to merge your changes with the one from KaRadio, and managed to get the LCD working, and managed to get some audio coming out. But the same issue still hold: The music plays really fast, like fast-forwarding

I wonder why. You either changed something else on the code which is not on the repo (for example the project configs). Or the same code does no longer work with the latest expressif IDF

(by the way, if I flash the binaries you provide, then it works just fine.)

from ka-radio32.

joaofl avatar joaofl commented on June 10, 2024

@pilnikov
Yes. I've merged those exact changes on this code here, and it does not work. The music plays in fast-forward. Some issue with rates. Really dont know what. Do you think you can test it again and see if you find something?

Edit:
Which IDF version did you use to compile? Remember?

from ka-radio32.

pilnikov avatar pilnikov commented on June 10, 2024

I used the current (on March) version of IDF (3 months ago was March)

from ka-radio32.

joaofl avatar joaofl commented on June 10, 2024

That's strange.. By merging the code you have on your repo with this one here, I swear it doesnt work. Unless you changed something else on the sdkconfig file, or any other config at runtime.

Let me know please.

from ka-radio32.

joaofl avatar joaofl commented on June 10, 2024

Tried to compile, but could not. Some weird errors... Really lost on this topic

Edit: So I managed to compile your code using the latest IDF! Resulting in the same shitty fast-forwarded audio!
Curiously, if I flash your binaries, as you sent them, it works just fine. The issue is either with the IDF or with the xtensa-esp32-elf sdk..... Its definitely a bug.

Edit2: forgot to say that Im using Linux Mint 19 (based on Ubuntu 18.04) with the cross compiler I found here: https://dl.espressif.com/doc/esp-idf/latest/get-started/linux-setup.html and the latest clone from the IDF

Edit3: I found out why and how to solve it. Its basically the I2S library that got major updates lately. By using the latest IDF with the previous I2S library version, I managed to compile and get radio working. Now I have to figure out a way to get it working without downgrading. Need to investigate more.

from ka-radio32.

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.