Search found 149 matches
- Mon Jul 08, 2024 1:19 am
- Forum: IDEs for ESP-IDF
- Topic: VScode keep being asked to "search for compilers on this computer"
- Replies: 1
- Views: 3382
VScode keep being asked to "search for compilers on this computer"
Hi, Each time I open up VScode to work on a project I keep getting the message "Search for compilers on this computer". Where I click this or click on white space to close the message, the code compiles ok. This happens on multiple projects, I am running on Windows 11 platform. Is there a way to sto...
- Sat Jul 06, 2024 12:00 am
- Forum: ESP-IDF
- Topic: RMT code migration from ESP-IDF 4.2 to version 5.2.2
- Replies: 10
- Views: 3145
Re: RMT code migration from ESP-IDF 4.2 to version 5.2.2
Thank you for your help, I think I understand the driver now. We are using the TX config so set up the wavefrom generator where data bit durations and levels are applied from the array of rmt_words. Then for carrier we set up the desired freq and dc and this modulates the data waveform each time dat...
- Fri Jul 05, 2024 10:01 am
- Forum: ESP-IDF
- Topic: RMT code migration from ESP-IDF 4.2 to version 5.2.2
- Replies: 10
- Views: 3145
Re: RMT code migration from ESP-IDF 4.2 to version 5.2.2
I have another question. Can the config for transmitter, carrier and encoder be done once at start of program and then just activate the tx function each time to send it (ie. Once encloder etc has been loaded with my data, it does not get blanked out for any reason during use but acts like a normal ...
- Fri Jul 05, 2024 9:18 am
- Forum: ESP-IDF
- Topic: RMT code migration from ESP-IDF 4.2 to version 5.2.2
- Replies: 10
- Views: 3145
Re: RMT code migration from ESP-IDF 4.2 to version 5.2.2
I think this is what I was missing
ESP_LOGI(TAG, "modulate carrier to TX channel");
rmt_carrier_config_t carrier_cfg = {
.duty_cycle = 0.33,
.frequency_hz = 38000, // 38KHz
};
ESP_ERROR_CHECK(rmt_apply_carrier(tx_channel, &carrier_cfg));
ESP_LOGI(TAG, "modulate carrier to TX channel");
rmt_carrier_config_t carrier_cfg = {
.duty_cycle = 0.33,
.frequency_hz = 38000, // 38KHz
};
ESP_ERROR_CHECK(rmt_apply_carrier(tx_channel, &carrier_cfg));
- Fri Jul 05, 2024 9:14 am
- Forum: ESP-IDF
- Topic: RMT code migration from ESP-IDF 4.2 to version 5.2.2
- Replies: 10
- Views: 3145
Re: RMT code migration from ESP-IDF 4.2 to version 5.2.2
I'm not quite with you on this yet. If I set resolution to say 1000000 then this is 1us bit time. So for say the DATA time, I could set the Duration for say 2000 with level 1 to be high for 2ms? Isn't the data the actual modulating signal? If so, how do I set the carrier to 125 khz? ie. I need the c...
- Fri Jul 05, 2024 5:27 am
- Forum: ESP-IDF
- Topic: RMT code migration from ESP-IDF 4.2 to version 5.2.2
- Replies: 10
- Views: 3145
Re: RMT code migration from ESP-IDF 4.2 to version 5.2.2
Hi, I have written some code based on your simple example. I am getting a clock error when trying to assign the RMT channel. assert failed: rmt_ll_tx_set_channel_clock_div /IDF/components/hal/esp32s3/include/hal/rmt_ll.h:181 (div >= 1 && div <= 256 && "divider out of range") My init code is below......
- Thu Jul 04, 2024 1:37 am
- Forum: ESP-IDF
- Topic: RMT code migration from ESP-IDF 4.2 to version 5.2.2
- Replies: 10
- Views: 3145
Re: RMT code migration from ESP-IDF 4.2 to version 5.2.2
Thank you for your response. I appreciate your time to answer my question So, I can do all the loading in my init code then whenever I want to send, I repeat these 2 lines of code? [Codebox=c file=Untitled.c] rmt_transmit(tx_chan_handle, tx_encoder, rmt_data_out, sizeof(rmt_data_out), &rmt_tx_config...
- Wed Jul 03, 2024 11:18 pm
- Forum: ESP-IDF
- Topic: RMT code migration from ESP-IDF 4.2 to version 5.2.2
- Replies: 10
- Views: 3145
RMT code migration from ESP-IDF 4.2 to version 5.2.2
Hi, I am having trouble understanding how to migrate my RMT driver code from esp-idf version 4.2 to 5.2.2 My application is simple that I want to modulate a 125kHz carrier with data. In my exisiting code I can simply place my data into an array and call the function to send it on demand. However, th...
- Fri Feb 16, 2024 12:59 am
- Forum: General Discussion
- Topic: Production issues with ESP32
- Replies: 1
- Views: 936
Production issues with ESP32
Hi, I am having a number of ESP32 rotating during reflow soldering. I suspect either the footprint or stencil and wondering if anyone can help with either of the following: 1) Footprint to suit reflow soldering 2) Specs for the stencil (preferred stencil thickness, aperture enlarge or decrease - par...
- Fri Feb 02, 2024 10:56 pm
- Forum: ESP-ADF
- Topic: How to use only I2S stream and not I2C ADF 2.6 custom board
- Replies: 0
- Views: 3292
How to use only I2S stream and not I2C ADF 2.6 custom board
I am using latest version of vscode with esp-idf extension 1.7.0 Installed esp-idf 5.1 and then latest adf 2.6 from within vscode. Next I created a new adf project based on PLAY_MP3_CONTROL_EXAMPLE I am using esp32-s3 processor (16MB, no psram) on my own custom board (no buttons, lcd etc) and have a...