Search found 599 matches

by mikemoy
Sun Dec 10, 2023 6:35 am
Forum: General Discussion
Topic: can't printf with ESP32-S2 ESP-IDF 5.1
Replies: 5
Views: 46713

Re: can't printf with ESP32-S2 ESP-IDF 5.1

As far as I know, printf will not work in Arduino frameworks. Rather it should be Serial.print()
FYI, printf works just fine in Arduino.
by mikemoy
Tue Dec 05, 2023 3:19 am
Forum: General Discussion
Topic: Espressif DSP Library help
Replies: 14
Views: 6543

Re: Espressif DSP Library help

I got it working. Thank you guys for the help!
by mikemoy
Mon Dec 04, 2023 2:51 pm
Forum: General Discussion
Topic: Espressif DSP Library help
Replies: 14
Views: 6543

Re: Espressif DSP Library help

Seems pretty trivial to me: the functions take int16_t types
FWIW, in the example this function " dsps_tone_gen_f32(x1, N, 1.0, 0.16, 0); "
fills x1 with float values from -1.0 to 1.0. Why do you say it takes int16_t types ?
by mikemoy
Mon Dec 04, 2023 12:50 pm
Forum: General Discussion
Topic: Espressif DSP Library help
Replies: 14
Views: 6543

Re: Espressif DSP Library help

I apologize if that is how my statement came off. It's intention was just to explain I am under the gun on something I know very little about, and could use some help in a big way is all. You'r expiation was very helpful. Embarrassing obvious now that it was pointed out. If I take the fft example as...
by mikemoy
Mon Dec 04, 2023 4:42 am
Forum: General Discussion
Topic: Espressif DSP Library help
Replies: 14
Views: 6543

Re: Espressif DSP Library help

I have thank you, but its not clear to me what is the min/max values my data needs to be to pass to the functions.
by mikemoy
Mon Dec 04, 2023 3:17 am
Forum: General Discussion
Topic: Espressif DSP Library help
Replies: 14
Views: 6543

Re: Espressif DSP Library help

FWIW, The company decided way to late to attend a show in Jan. They decided to make a new product in 2 months. I have 1/2 of the project and the DSP guy had the other 1/2. I have been already working 16-18 hour days for weeks now just on my 1/2. So to now have the other 1/2 given to me with the curr...
by mikemoy
Sun Dec 03, 2023 6:15 pm
Forum: General Discussion
Topic: Espressif DSP Library help
Replies: 14
Views: 6543

Re: Espressif DSP Library help

If you know so much about it wouldn't it have been better to shed some light than to make a comment like that ?
That's why its called learning.
by mikemoy
Sun Dec 03, 2023 7:38 am
Forum: General Discussion
Topic: Espressif DSP Library help
Replies: 14
Views: 6543

Re: Espressif DSP Library help

Thanks, that is where I started. But it's clear as mud to me as for how I inject my data.
by mikemoy
Sun Dec 03, 2023 12:24 am
Forum: General Discussion
Topic: esp-idf 5.1 crazy amount of log output... way different than before
Replies: 2
Views: 3573

Re: esp-idf 5.1 crazy amount of log output... way different than before

You can do something like this to minimize it. use ESP_LOG_NONE to disable all logging. Then turn on what you do want to log.


#define MAIN_TAG "Main"

void app_main(void)
{
esp_log_level_set("*", ESP_LOG_NONE);
esp_log_level_set(MAIN_TAG, ESP_LOG_VERBOSE);
by mikemoy
Thu Nov 30, 2023 6:17 pm
Forum: General Discussion
Topic: Espressif DSP Library help
Replies: 14
Views: 6543

Espressif DSP Library help

Our native DSP guy got canned last week. So I got stuck with finishing up his project. YEA!!! Don't know jack about DSP, learning as fast as I can. I need to sample a audio source from 200 - 20k. So far I am able to pull in 4096 bytes from my 12bit external a/d converter with a sample rate of 40960....