Git Product home page Git Product logo

Comments (24)

Gromkz avatar Gromkz commented on June 4, 2024

I try to enclose old i2s drivers.

from ka-radio32.

karawin avatar karawin commented on June 4, 2024

With the latest ESP-IDF you need to replace the i2s.c and .h given in the root of KaraDio32 in idf components driver

from ka-radio32.

Gromkz avatar Gromkz commented on June 4, 2024

And I have made.
the sound became better
but the sound strongly clicks at any updating of the screen
I have LCD_SPI_ILI9341

from ka-radio32.

karawin avatar karawin commented on June 4, 2024

I made some update recently for this problem

from ka-radio32.

emax73 avatar emax73 commented on June 4, 2024

Will update spi display speed from 1MHz to 20MHz, please -
its solve click problem.
Best Regards

from ka-radio32.

Gromkz avatar Gromkz commented on June 4, 2024

I update
git clone --recursive https://github.com/karawin/Ka-Radio32.git

replace the i2s.c and .h given in the root of KaraDio32 in idf components driver
clicks are after compilation
I update OTA of any clicks.

from ka-radio32.

karawin avatar karawin commented on June 4, 2024

I released a bin in R8 with all updates

from ka-radio32.

emax73 avatar emax73 commented on June 4, 2024

tested R8 - sound clicked with my SPI 256x64 display (SSD1322),
after increase SPI clock >= 10 MHz sound becomes continuous

from ka-radio32.

karawin avatar karawin commented on June 4, 2024

I lowered the spi speed because I was not sure that every type support the 10MHz.
May be i will make an uart command for that.

from ka-radio32.

emax73 avatar emax73 commented on June 4, 2024

u8g2 library has clock info for every controller, may using its

from ka-radio32.

karawin avatar karawin commented on June 4, 2024

You mean sck_pulse_width_ns?

For ucg
I use dev_config.clock_speed_hz = (1000000000/((ucg_com_info_t *)data)->serial_clk_speed) ;

But not found where sck_pulse_width_ns is initialized.
Many comment like

  • sck_pulse_width_ns = / 140,
    /
    sck_clock_hz = / 1000000UL, / since Arduino 1.6.0, the SPI bus speed in Hz. Should be 1000000000/sck_pulse_width_ns /
    /
    spi_mode = / 0, / old: sck_takeover_edge, new: active high (bit 1), rising edge (bit 0) */
    But ....

from ka-radio32.

karawin avatar karawin commented on June 4, 2024

May be
// dev_config.clock_speed_hz = 1000000;
dev_config.clock_speed_hz = u8x8->display_info->sck_clock_hz;
in u8g2_esp32_hal.c

from ka-radio32.

emax73 avatar emax73 commented on June 4, 2024

I see clock info at
u8x8_d_ssd1322.c, line 248
static const u8x8_display_info_t u8x8_ssd1322_256x64_display_info =
{
...
/* sck_clock_hz = / 10000000UL, / since Arduino 1.6.0, the SPI bus speed in Hz. Should be 1000000000/sck_pulse_width_ns, increased to 8MHz (issue 215), 10 MHz (issue 301) */
...
}
Probably, its u8x8->display_info->sck_clock_hz, right

from ka-radio32.

emax73 avatar emax73 commented on June 4, 2024

Topicstarter using color hi-resolution 240x320 SPI display,
therefore he using ucglib

from ka-radio32.

Gromkz avatar Gromkz commented on June 4, 2024

today it was updated on OTA
there were problems with a sound and on R8 (clicks)

I have returned on R6

from ka-radio32.

Gromkz avatar Gromkz commented on June 4, 2024

I have compiled R7 with esp-idf-v2.1.1
I have corrected main/websocket. with
Solves the issue of multiple declaration of the function 'base64_encode'

The sound good without clicks, IR works.
))

from ka-radio32.

Gromkz avatar Gromkz commented on June 4, 2024

R7 with the last esp-idf

  • Solves the issue of multiple declaration of the function 'base64_encode'
  • old i2s drivers
    works well

from ka-radio32.

acolwill avatar acolwill commented on June 4, 2024

@Gromkz Any chance you could share your changes to the code to get the PCM5102 DAC working?
I've got a TTGO-TM-ESP32 board which has it integrated and am having a hard time getting it seen by Ka-Radio32.
Thanks in advance!

from ka-radio32.

pilnikov avatar pilnikov commented on June 4, 2024

https://github.com/pilnikov/KaRadio32_fork
bin worked

from ka-radio32.

acolwill avatar acolwill commented on June 4, 2024

@pilnikov Hi Alex, unfortunately I can't get that to work with my TTGO-TM-ESP32 unit... it will either not boot, or it won't initialise the screen

from ka-radio32.

pilnikov avatar pilnikov commented on June 4, 2024

If you compile with a new expressif sdk - you must comment line 72 in vs1053.c
.flags = SPICOMMON_BUSFLAG_NATIVE_PINS|SPICOMMON_BUSFLAG_MASTER
because spi is not native

from ka-radio32.

pilnikov avatar pilnikov commented on June 4, 2024

I updated the files in my repository. You can try to compile it. My ttgo works fine.

from ka-radio32.

acolwill avatar acolwill commented on June 4, 2024

@pilnikov Thanks! Will have a look!

from ka-radio32.

acolwill avatar acolwill commented on June 4, 2024

@pilnikov working brilliantly! Will communicate with you on your github page.

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.