Search found 8 matches

by temuko
Sun Sep 01, 2024 3:20 pm
Forum: ESP-IDF
Topic: ESP32 - ADS1115 Configure problem
Replies: 5
Views: 1780

Re: ESP32 - ADS1115 Configure problem

but it's still not properly configured. What does that mean? I have the alert/rdy pin connected to GPIO5 and tried to configure it on the ADS1115 to change the value to '1' after every conversion, but I did not see the pin status change. However, by using a delay corresponding to the configured SPS...
by temuko
Thu Aug 29, 2024 6:33 pm
Forum: ESP-IDF
Topic: ESP32 - ADS1115 Configure problem
Replies: 5
Views: 1780

Re: ESP32 - ADS1115 Configure problem

It's still happening. I was able to send all the bytes, but it's still not properly configured. Could it be because it doesn't wait for an ACK between each byte? uint8_t config_register_data[] = {0x01, 0x84, 0x83}; ESP_ERROR_CHECK(i2c_master_transmit(i2c_handle, config_register_data, sizeof(config_r...
by temuko
Sun Aug 25, 2024 11:19 am
Forum: ESP-IDF
Topic: ESP32 - ADS1115 Configure problem
Replies: 5
Views: 1780

ESP32 - ADS1115 Configure problem

Hello everyone, First of all, I'm a bit of a newbie when it comes to embedded programming. I'm working on my final degree project using an ESP32, and I'm having trouble configuring an external ADC (ADS1115). According to the ADS1115 datasheet, I need to write 4 bytes to configure the register in the...
by temuko
Wed Jan 10, 2024 7:09 pm
Forum: IDEs for ESP-IDF
Topic: ESP32 Debugg with VSCode
Replies: 2
Views: 19019

Re: ESP32 Debugg with VSCode

Thanks!
The MIMode solved the problem. Anyways, I was opening the OpenOCD manual in the terminal.
-sudo openocd -f board/esp32-wrover-kit-3.3v.cfg
I will now write the tasks.json since I know it is working. Thanks a lot!
by temuko
Sun Jan 07, 2024 10:00 pm
Forum: IDEs for ESP-IDF
Topic: ESP32 Debugg with VSCode
Replies: 2
Views: 19019

ESP32 Debugg with VSCode

Hello! I recently bought an ESP-Prog and am attempting to debug a project in VSCode. I'm using an ESP32 Dev kit along with the Espressif ESP-Prog. Unfortunately, I'm unable to make it work. When I execute OpenOCD, it seems to work properly, but when I click the run button to debug, the tools appear,...
by temuko
Fri Dec 08, 2023 9:56 pm
Forum: ESP-IDF
Topic: Issue with ESP-ADC Continuous Conversion - Abort() Exception
Replies: 4
Views: 6763

Re: Issue with ESP-ADC Continuous Conversion - Abort() Exception

Thank you!

I've resolved the issue. I encountered additional problems because I wasn't stopping the ADC after the first reading, which led to errors afterward. The ESP_LOGI was another issue when I attempted to debug the initial one.

Appreciate the assistance!
by temuko
Wed Dec 06, 2023 1:00 pm
Forum: ESP-IDF
Topic: Issue with ESP-ADC Continuous Conversion - Abort() Exception
Replies: 4
Views: 6763

Re: Issue with ESP-ADC Continuous Conversion - Abort() Exception

Thank you. This is what appears with the decoded backtrace: Backtrace: 0x4008182a:0x3ffb07e0 0x40086709:0x3ffb0800 0x4008bbfe:0x3ffb0820 0x40082c9f:0x3ffb0890 0x40082ddd:0x3ffb08c0 0x40082e56:0x3ffb08e0 0x400ddb7a:0x3ffb0910 0x400e0ce9:0x3ffb0c30 0x400e8529:0x3ffb0c60 0x4008bab1:0x3ffb0c90 0x4008327...
by temuko
Sun Dec 03, 2023 9:35 pm
Forum: ESP-IDF
Topic: Issue with ESP-ADC Continuous Conversion - Abort() Exception
Replies: 4
Views: 6763

Issue with ESP-ADC Continuous Conversion - Abort() Exception

Hello everyone, I'm new to ESP development and currently working on a project where I need to read values from the ADC and send them via UART. I've encountered an issue with ADC conversion, and although I've tried to adapt examples from esp-idf, I'm unsure where the error might be in my code. #inclu...