Comments (24)
I try to enclose old i2s drivers.
from ka-radio32.
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.
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.
I made some update recently for this problem
from ka-radio32.
Will update spi display speed from 1MHz to 20MHz, please -
its solve click problem.
Best Regards
from ka-radio32.
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.
I released a bin in R8 with all updates
from ka-radio32.
tested R8 - sound clicked with my SPI 256x64 display (SSD1322),
after increase SPI clock >= 10 MHz sound becomes continuous
from ka-radio32.
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.
u8g2 library has clock info for every controller, may using its
from ka-radio32.
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.
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.
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.
Topicstarter using color hi-resolution 240x320 SPI display,
therefore he using ucglib
from ka-radio32.
today it was updated on OTA
there were problems with a sound and on R8 (clicks)
I have returned on R6
from ka-radio32.
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.
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.
@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.
https://github.com/pilnikov/KaRadio32_fork
bin worked
from ka-radio32.
@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.
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.
I updated the files in my repository. You can try to compile it. My ttgo works fine.
from ka-radio32.
@pilnikov Thanks! Will have a look!
from ka-radio32.
@pilnikov working brilliantly! Will communicate with you on your github page.
from ka-radio32.
Related Issues (20)
- Doesn't work without a computer HOT 1
- wolfssl error -323, WANT_READ HOT 6
- Gm
- csv to bin HOT 1
- Does not get the ip address HOT 3
- Statio URL Convert HOT 4
- Where can I upload my project prototype picture and station? HOT 2
- Wrong play aac HOT 12
- 0.96 80x160 IPS screen problem
- Error connect with wifi aes
- SPI LCD HOT 1
- WT32-ETH01 support?
- Play m3u? HOT 2
- Problem with link to playlist with spaces
- New guy on the block
- IPS Panels
- no Battery on lcd 194
- Stations switches only through web interface
- BBC stations no longer compatible
- Power on reset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ka-radio32.