Search found 12 matches

by ligteltelecom
Tue Aug 12, 2025 9:03 pm
Forum: ESP32 Arduino
Topic: Uart2 Lost Connection or Reading Wrong
Replies: 1
Views: 947

Uart2 Lost Connection or Reading Wrong

Hello,

I have this problem when I use Uart 2. It starts reading fine, but in the middle it starts reading strange characters.
using an FTD1232 interface read everything correctly.


Serial2.setRxBufferSize(4096);
Serial2.setTimeout(512);
delay(100);
Serial2.begin(115200, SERIAL_8N1, RX_PIN, TX ...
by ligteltelecom
Mon May 27, 2024 9:34 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 100
Views: 208452

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 ...
by ligteltelecom
Sat May 25, 2024 12:26 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 100
Views: 208452

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: 3498

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 ...
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: 3498

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 ...
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: 3498

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: 3498

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: 3498

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: 1281

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: 1281

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)

Go to advanced search