Search found 6 matches

by rkit2134
Wed Sep 27, 2023 7:48 pm
Forum: ESP-IDF
Topic: CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP confusion
Replies: 2
Views: 592

CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP confusion

This config option allows to add RTC fast memory region to system heap with capability similar to that of DRAM region but without DMA. This memory will be consumed first per heap initialization order by early startup services and scheduler related code . Speed wise RTC fast memory operates on APB c...
by rkit2134
Wed Aug 30, 2023 9:39 am
Forum: ESP-IDF
Topic: ESP32C6 ADC not working properly
Replies: 5
Views: 1742

Re: ESP32C6 ADC not working properly

I have the same problem. Adc always reads exactly 4081.
by rkit2134
Fri Jul 01, 2022 2:15 am
Forum: ESP-IDF
Topic: What is the recommend way to customize lwIP settings using ESP-IDF?
Replies: 3
Views: 3604

Re: What is the recommend way to customize lwIP settings using ESP-IDF?

add_compile_definitions(LWIP_SNMP=1) In root CMakeLists.txt Also some files from LWIP are not included in esp-idf build. You can manually add those into idf_component_register directive "$ENV{IDF_PATH}/components/lwip/lwip/src/apps/snmp/snmpv3_mbedtls.c" "$ENV{IDF_PATH}/components/lwip/lwip/src/apps...
by rkit2134
Thu Oct 07, 2021 9:47 am
Forum: ESP-IDF
Topic: Any way to momentarily suspend RF transmission or detect modem sleep?
Replies: 0
Views: 1004

Any way to momentarily suspend RF transmission or detect modem sleep?

My project needs to activate 350mA load for about 10ms, and it is running from 500mA power supply. If esp32 decides to transmit some data at the same time the load is activated, power is surely going to brownout. The easy solution would be to add a bulk capacitor, but I am exploring alternatives. I ...
by rkit2134
Mon Sep 14, 2020 9:01 am
Forum: General Discussion
Topic: Measure VDD33 using ADC2
Replies: 6
Views: 12487

Re: Measure VDD33 using ADC2

int read_battery() { adc2_channel_t channel = ADC2_GPIO25_CHANNEL; // accepted gpios are 25, 26, 27 gpio_num_t adc_gpio_num; int result; ESP_ERROR_CHECK(adc2_pad_get_io_num(channel, &adc_gpio_num)); ESP_ERROR_CHECK(adc2_vref_to_gpio(adc_gpio_num)); ESP_ERROR_CHECK(adc2_config_channel_atten(channel,...