Search found 7 matches

by harith
Mon Jul 08, 2024 2:11 pm
Forum: General Discussion
Topic: Using the Second USB-C Port on ESP32-S3 to Read Data via VCP Protocol
Replies: 0
Views: 1028

Using the Second USB-C Port on ESP32-S3 to Read Data via VCP Protocol

Hi everyone, I have an ESP32-S3 development board that comes with two USB-C ports. I'm working on a project where I need to read data from a Dracal RTD300 sensor connected via a USB controller. The sensor sends data using the Virtual COM Port (VCP) protocol. My question is: Is it possible to use the...
by harith
Tue Jun 11, 2024 1:57 pm
Forum: ESP-IDF
Topic: Need Help with I2C Master Code on ESP32
Replies: 10
Views: 2142

Re: Need Help with I2C Master Code on ESP32

Yes I'll try this. And for WDT do you think I can "pause" the watchdog during the execution of the "infinite" loop ? (measure_task) Or is there a more convenient way to do it ? Thanks ! edit : I increase the value of the watchdog from 6s to 20s in the menuConfig and it works because my loop takes 17...
by harith
Mon Jun 10, 2024 10:52 am
Forum: ESP-IDF
Topic: Need Help with I2C Master Code on ESP32
Replies: 10
Views: 2142

Re: Need Help with I2C Master Code on ESP32

Nope it does not work. I’ve noticed something interesting that might shed more light on the issue. When I press the reset button while the program is running, it causes an error that requires me to power cycle the module of to recover. However, if I let the program run to completion and then press t...
by harith
Sun Jun 09, 2024 5:06 pm
Forum: ESP-IDF
Topic: Need Help with I2C Master Code on ESP32
Replies: 10
Views: 2142

Re: Need Help with I2C Master Code on ESP32

I'm working with an ESP32 WROOM-32 module from Az-Delivery, which is a bit on the older side, the module is 3 years old without updating the firmware. The IDF version I'm using is 5.2, and the sensor in question is a TSL2591. after several tests , I've encountered a peculiar issue. The setup works p...
by harith
Sat Jun 08, 2024 3:23 pm
Forum: ESP-IDF
Topic: Need Help with I2C Master Code on ESP32
Replies: 10
Views: 2142

Re: Need Help with I2C Master Code on ESP32

Hello it is still the same output
that is really confusing
by harith
Wed Jun 05, 2024 2:47 pm
Forum: ESP-IDF
Topic: Need Help with I2C Master Code on ESP32
Replies: 10
Views: 2142

Re: Need Help with I2C Master Code on ESP32

I know what documentation says, but did you try to set this value to 0: i2c_master_bus_config_t i2c_mst_config = { .clk_source = I2C_CLK_SRC_DEFAULT, .i2c_port = -1, <----------- SET it to 0 Yup I have tested and the output is still the same, I don't know what I am missing
by harith
Tue Jun 04, 2024 6:23 pm
Forum: ESP-IDF
Topic: Need Help with I2C Master Code on ESP32
Replies: 10
Views: 2142

Need Help with I2C Master Code on ESP32

Subject: Hi everyone, I'm new to ESP32 and esp idf programming and trying to get an I2C master working using the code example from the [ESP-IDF documentation](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/peripherals/i2c.html). Despite following the example, my code doesn...