-
Notifications
You must be signed in to change notification settings - Fork 42
esp32-s3-korvo-v3 #24
Comments
I don't get this error and I assume that you use an old version of the library. Let me know if you need some guidance to do this |
Thank you for Response. |
|
Thank You for quick response. |
Hello,
|
Difficult to say what the issue is w/o knowing the code: I suggest to test the following functions separately
you can use the example sketches in the project. I think the big challange might be to figure out how to use the ES7210 ADC chip |
I am working on separate tests, here's my changed version of this library as per your suggestions : My Fork Thank you. |
Hi.. I have tested separate function as per your suggestion.
I am still trying to find the flow of library, I am pretty sure we can use IDF (or ADF) Header and C files with some modifications. |
The only issue that I could identify is that the i2s master clock (pin) is not set up. ps. if you want to follow the program flow it might help to set the log level to debug and if necessary add some more debug log lines to check if the expected methods are called. |
after commenting I am still struggling to get streams-url_mp3-audiokit running. as per your suggestions of adding log lines, I got the idea that for S3 I need to add support in AudioConfig.h in arduino-audio-tools library, So, I changed line 144 of AudioConfig.h from
And then I compiled and uploaded streams-url_mp3-audiokit got below output with no sound from speaker.
I think I got the I2S pins right. Thank You. |
I suggest that you try to find out if the audio_hal_ctrl_codec call is the source if the trouble... ps. If you dont manage to find the root cause you can just try to deactivate the locking |
Sorry, I haven't seen your message.
pardon my question, but where to add delay ? I am totally clueless
Tried
|
In audio_hal_init do not executed the check when AUDIOKIT_MUTEX_SUPPORT is 0 |
You really need to create a stacktrace to analyse where this is coming from. You could also try to add some log statements to see what the sampling rate is that the URL is trying to set up (in setAudioInfo) and use that one at the intial setup of I2S. This way you avoid that the initialization has to be done twice |
I tried me-no-dev's EspExceptionDecoder
|
Now you need to check in your AudioKitHAL.h line 320 what could cause the nullpointer exception... |
it is return statement of setActive function
Yes, I was playing with different settings, So it is may be different from my fork. |
hmm are you sure ? I can't see what could go wrong here |
Yes, I am certain sir, also you have already pointed this thing in this comment |
Hi, sir I have a question : what is |
It is used to define i2s_config_t fixed_mclk to set a fixed master clock rate when you use I2SStream. |
ok.. As far as I understood, if we compile any audiokit related example from arduino-audio-tools, it will get the board configuration from this (arduino-audiokit) library, right sir ? |
Yes, that's correct. |
ok, with my current setup, what I found strange is I can play sinewave using streams-generator-audiokit with below output.
also It plays sinewave using output. |
As I was writing in one of my earlier comments the first setup seems to work ok. The issue happens when the system detects that the initial sampling rate is not correct and stops and restarts with the correct sampling rate. You can reconfirm this by setting the correct sampling rate in the first place. |
Setting the initial frequency 16k, 32k and 48k all gave me same result i.e. core 1 panic'ed.
can you sir please point out the part of the code, which does this check ? |
I think it is in AudioKit.setAudioInfo() |
yes, it is in arduino-audio-tools -> AudioKit.h -> at 249
I am playing with settings to find why check part is not working and than will move on to ES7210 (Mic input part). |
Hi Sir, what is the use of |
I confirm, It is not used... |
ok, got it. Update is I can drive the ES7210 (ADC) too with this library, I can see Mic input on serial terminal using streams-audiokit-serial but with a workaround as below in audiokit_board.h
So, now problem is either I can use DAC chip or ADC chip. I would love to hear your view on this. |
Hmm, thats strange. If you check in board.c the ES7210 is set up in audio_board_adc_init, so your change should not be necessary. |
@Tatvatecnovation I tried your branch and got error, did you see any error like this: |
There is no support for the korvo s3 board in the AudioKit project |
I know that, I am using @Tatvatecnovation 's fork, his fork support korvo s3 |
Oh, I see and unfortunately he has deactivated the issues and discussion tabs on his fork... |
Yeah, that's the reason why I am here. :) |
Hi Sir ;
I have a esp32s3-korvo-v3 board .
I am working for bidirectional audio live streaming on http.
I got a following issue on streams_audiokit_webserver_acc example .
C:\Users\tatva\OneDrive\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioAnalog/AnalogAudioESP32.h:7:10: fatal error: soc/dac_channel.h: No such file or directory
#include "soc/dac_channel.h"
The text was updated successfully, but these errors were encountered: