Search found 8 matches
- Fri Oct 14, 2022 12:08 pm
- Forum: ESP-IDF
- Topic: Trouble reading I2C device
- Replies: 5
- Views: 1389
Re: Trouble reading I2C device
If you are using ESP-IDF 4.4.2, you should then try using their improved, consolidated i2c function calls. After you configure the i2c, you just need `i2c_master_write_to_device` or `i2c_master_read_from_device`. The latest examples with ESP-IDF illustrate their use. Ah interesting - I did see thos...
- Fri Oct 14, 2022 9:11 am
- Forum: ESP-IDF
- Topic: Trouble reading I2C device
- Replies: 5
- Views: 1389
- Thu Oct 13, 2022 3:49 pm
- Forum: ESP-IDF
- Topic: Trouble reading I2C device
- Replies: 5
- Views: 1389
Re: Trouble reading I2C device
Bad form to be the first to reply to my own post but I wanted to add a bit - I have now changed to software I2C (i.e. bit banging) on the same gpio pins and it is working albeit more slowly. I don't think speed is the issue though because I previously slowed down the I2C clock to check that. Could t...
- Thu Oct 13, 2022 1:17 pm
- Forum: ESP-IDF
- Topic: Trouble reading I2C device
- Replies: 5
- Views: 1389
Trouble reading I2C device
PLATFORM: Espressif 32 (5.2.0) > OLIMEX ESP32-EVB HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (esp-prog) framework-espidf @ 3.40402.0 (4.4.2) I'm struggling to get I2C working properly when reading. I've got an LCD working fine over I2c via a PCF8574 board so I know the wiring is goo...
- Wed Jul 06, 2022 1:40 pm
- Forum: ESP-IDF
- Topic: Debug from vscode with jtag
- Replies: 1
- Views: 2345
Re: Debug from vscode with jtag
I changed to use the espidf esp-debug-adapter instead.
This seemed to work better but it was not reliable so I have now switched to platformio instead and that seems robust.
This seemed to work better but it was not reliable so I have now switched to platformio instead and that seems robust.
- Sat Jul 02, 2022 9:49 pm
- Forum: ESP-IDF
- Topic: Debug from vscode with jtag
- Replies: 1
- Views: 2345
Debug from vscode with jtag
I have my ESP32-EBV board connected to ESPROG board via JTAG. I can run openocd server as follows: openocd -f board/esp32-wrover-kit-3.3v.cfg and that works fine. If I create a .gdbinit file with the contents: target remote :3333 set remote hardware-watchpoint-limit 2 mon reset halt flushregs thb ap...
- Sat Jul 03, 2021 12:55 pm
- Forum: ESP-IDF
- Topic: ESP-IDF equivalent of AsyncClient
- Replies: 0
- Views: 917
ESP-IDF equivalent of AsyncClient
Can anyone clarify for the ESP-IDF equivalent of the Arduino AsyncClient for TCP use?
- Fri Jul 02, 2021 3:04 pm
- Forum: ESP-IDF
- Topic: FauxmoESP with ESP-IDF
- Replies: 0
- Views: 1017
FauxmoESP with ESP-IDF
I'm new to ESP-IDF at this point having used Mongoose-OS with ESP32 in the past. I'm currently getting to grips with ESP-IDF in VSCode and I like it. I'd like to use FauxmoESP with ESP-IDF however it is written as an Arduino library, not an ESP-IDF component. Before I set about modifying it to work ...