Hello klaetze,
This is awesome! Because I remember there were issues to reach 2Msps, so finally they fix that situation.
Great!
Best regards.
Gianluca.
Search found 19 matches
- Tue Apr 27, 2021 6:53 am
- Forum: ESP-IDF
- Topic: Uncorrect ADC iniziatization with I2S
- Replies: 20
- Views: 19145
- Mon Apr 26, 2021 1:49 pm
- Forum: ESP-IDF
- Topic: Uncorrect ADC iniziatization with I2S
- Replies: 20
- Views: 19145
Re: Uncorrect ADC iniziatization with I2S
Hello Klaetze,
Great!
I haven't answer you yet because I haven't any time to test your fw. I'm glad you solved your problem.
Did you reach 2Msps?
Regards,
Gianluca.
Great!
I haven't answer you yet because I haven't any time to test your fw. I'm glad you solved your problem.
Did you reach 2Msps?
Regards,
Gianluca.
- Thu Apr 22, 2021 12:07 pm
- Forum: ESP-IDF
- Topic: Uncorrect ADC iniziatization with I2S
- Replies: 20
- Views: 19145
Re: Uncorrect ADC iniziatization with I2S
Hello klaetze,
try to put ".use_apll = false," and also, which kind of values are you supposed to read?
To do some test, you can try to set up a DAC output and bring it (by a wire for example) to che ADC pin and try to read it in order to have a specific value.
Regars,
Gianluca.
try to put ".use_apll = false," and also, which kind of values are you supposed to read?
To do some test, you can try to set up a DAC output and bring it (by a wire for example) to che ADC pin and try to read it in order to have a specific value.
Regars,
Gianluca.
- Thu Apr 22, 2021 10:16 am
- Forum: ESP-IDF
- Topic: Uncorrect ADC iniziatization with I2S
- Replies: 20
- Views: 19145
Re: Uncorrect ADC iniziatization with I2S
hello klaetze, Giving a quick view of your code I noticed some point. In your configuration, you set " .bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT, ", so, when you make a calloc you will need: uint16_t* adc_data_buf = (uint16_t*) calloc(NUM_SAMPLES, sizeof(uint16_t)); And so, in your read: ret = i2...
- Thu Apr 22, 2021 7:04 am
- Forum: ESP-IDF
- Topic: Uncorrect ADC iniziatization with I2S
- Replies: 20
- Views: 19145
Re: Uncorrect ADC iniziatization with I2S
Hello klaetze,
Which IDF are you using? Before pointing to 2Msps, did you try with slower sampling rate?
Could you show me some of your code?
I don't call bootloader_random_disable() function because it is called by the fw start-up routine.
Gianluca.
Which IDF are you using? Before pointing to 2Msps, did you try with slower sampling rate?
Could you show me some of your code?
I don't call bootloader_random_disable() function because it is called by the fw start-up routine.
Gianluca.
- Wed Nov 25, 2020 8:16 am
- Forum: ESP-IDF
- Topic: Uncorrect ADC iniziatization with I2S
- Replies: 20
- Views: 19145
Re: Uncorrect ADC iniziatization with I2S
Hello BitSmith, Before changing the IDF, I suggest you to manage the read from the dma's buffers using "I2S_EVENT_RX_DONE" event. You will find the code below. Let me know if you are able to see something different with this modifications. Regards, Gianluca. // ... QueueHandle_t adc_i2s_event_queue;...
- Tue Nov 24, 2020 8:14 am
- Forum: ESP-IDF
- Topic: Uncorrect ADC iniziatization with I2S
- Replies: 20
- Views: 19145
Re: Uncorrect ADC iniziatization with I2S
Hi Gianluca, Thanks for the quick response. I'm using the stable(?) idf version 4.1. this seems to be the latest release bar the development version. I haven't changed any of the core idf code, thinking that the examples that are included with the version would have been tested on the version they ...
- Mon Nov 23, 2020 7:52 am
- Forum: ESP-IDF
- Topic: Uncorrect ADC iniziatization with I2S
- Replies: 20
- Views: 19145
Re: Uncorrect ADC iniziatization with I2S
Hi Guys, This problem is doing my head in. I've been scouring the net trying to find documentation or running code. I have Arduino version of code that runs. But not esp-idf. I'm having the same problem. The documents from espressif are not the expressive and very light on specifics or working code...
- Thu Sep 17, 2020 10:14 am
- Forum: General Discussion
- Topic: ESP32 Crashed when listening BLE advertising after long time
- Replies: 13
- Views: 17099
Re: ESP32 Crashed when listening BLE advertising after long time
In that case maybe try to find when it is happening and try to add small delay before bt command that is causing it. I don't think is a solution because, between the end of the scan and the restart there some operations. Anyway I tried adding 2ms delay before the restart and this message appears. A...
- Thu Sep 17, 2020 7:33 am
- Forum: General Discussion
- Topic: ESP32 Crashed when listening BLE advertising after long time
- Replies: 13
- Views: 17099
Re: ESP32 Crashed when listening BLE advertising after long time
What I have is this error only "BT_HCI: command_timed_out hci layer timeout waiting for response to a command. opcode: 0x200c"chegewara wrote: ↑Thu Sep 17, 2020 7:29 amOf course i am assuming you are getting this error:Code: Select all
***ERROR*** A stack overflow in task Tmr Svc has been detected
Gianluca