Search found 11 matches

by ligteltelecom
Mon May 27, 2024 9:34 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 100
Views: 150772

Re: Best Frequency Meter ever made with ESP32 - awesome!

Hi ligteltelecom, You must use these two pins for the frequency meter to work. #define PCNT_INPUT_CTRL_IO GPIO_NUM_35 // Set Pulse Counter Control GPIO pin - HIGH = count up, LOW = count down #define OUTPUT_CONTROL_GPIO GPIO_NUM_32 // Timer output control port - GPIO_32 Why don't you want to use th...
by ligteltelecom
Sat May 25, 2024 12:26 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 100
Views: 150772

Re: Best Frequency Meter ever made with ESP32 - awesome!

Hi, when I set pcnt_config.ctrl_gpio_num = -1, to not use ports 35 and 32 it becomes inaccurate. example I will measure 500khz it shows 550khz

Can someone help me?
by ligteltelecom
Tue May 14, 2024 12:44 pm
Forum: ESP-IDF
Topic: how generate clock and data 32khz to 10mhz using esp32
Replies: 9
Views: 2321

Re: how generate clock and data 32khz to 10mhz using esp32

Hello everyone, can I use i2s with callback? to send the data within this callback? I mean, that depends on the callback? Can you step back a bit and give us an overview of what you're trying, rather than posting one-off questions to the forum that we can't really answer without context? Explain a ...
by ligteltelecom
Mon May 13, 2024 7:58 pm
Forum: ESP-IDF
Topic: how generate clock and data 32khz to 10mhz using esp32
Replies: 9
Views: 2321

Re: how generate clock and data 32khz to 10mhz using esp32

Bitbanging on an ESP32 is generally not a good idea and it's unlikely you'll be able to do it at 25MHz. Are you absolutely 200% sure there's not a peripheral in the ESP32 (e.g. I2S, SPI, RMT, ...) that can be convinced to generate that protocol for you? Hello everyone, can I use i2s with callback? ...
by ligteltelecom
Mon May 13, 2024 10:23 am
Forum: ESP-IDF
Topic: how generate clock and data 32khz to 10mhz using esp32
Replies: 9
Views: 2321

Re: how generate clock and data 32khz to 10mhz using esp32

What is the maximum frequency I can achieve using this function?
esp_timer_start_periodic()
by ligteltelecom
Mon May 13, 2024 12:47 am
Forum: ESP-IDF
Topic: how generate clock and data 32khz to 10mhz using esp32
Replies: 9
Views: 2321

Re: how generate clock and data 32khz to 10mhz using esp32

Hi guys. I'm not using a loop inside the callback. but I need to generate frequency between 32khz - 25mhz. within this callback I will send the bits I need
by ligteltelecom
Sun May 12, 2024 1:08 pm
Forum: ESP-IDF
Topic: how generate clock and data 32khz to 10mhz using esp32
Replies: 9
Views: 2321

how generate clock and data 32khz to 10mhz using esp32

Hello, is it possible to generate clock and date between 32khz and 10mhz.
I tried use, but the maximum I could reach was 10khz

#define DT 0.0001
esp_timer_start_periodic(timer1Handle, (int)(1000 * 1000 * DT));

I dont want use LEDC for generate this clock.
by ligteltelecom
Mon Oct 30, 2023 9:05 pm
Forum: General Discussion
Topic: the identifier "CONFIG_FREERTOS_HZ" is not defined
Replies: 1
Views: 906

Re: the identifier "CONFIG_FREERTOS_HZ" is not defined

Anyone help me how solve this issue?
Need setting config -> FreeRTOS -> Tick rate (hz) ?
https://www.freertos.org/FreeRTOS_Suppo ... 4ac4j.html
by ligteltelecom
Thu Oct 26, 2023 12:30 pm
Forum: General Discussion
Topic: the identifier "CONFIG_FREERTOS_HZ" is not defined
Replies: 1
Views: 906

the identifier "CONFIG_FREERTOS_HZ" is not defined

Hi Guys

How can i solve this issue below:
i got erro here portTICK_PERIOD_MS
Code:
vTaskDelay(500 / portTICK_PERIOD_MS);
Erro:

the identifier "CONFIG_FREERTOS_HZ" is not definedC/C++(20)
by ligteltelecom
Thu Oct 26, 2023 11:00 am
Forum: General Discussion
Topic: assert failed: adc_oneshot_ll_set_output_bits
Replies: 2
Views: 934

Re: assert failed: adc_oneshot_ll_set_output_bits

ESP_Sprite wrote:
Thu Oct 26, 2023 5:53 am
You're creating a handle, then immediately deleting it.
Thank you! My problem was solved!