Search found 35 matches

by e2738729
Sat Jan 26, 2019 5:16 pm
Forum: ESP-IDF
Topic: Control the Timing of CS line ESP32 SPI
Replies: 1
Views: 4746

Control the Timing of CS line ESP32 SPI

Hi everyone, for the requirement of my application, I need to pull the CS pin LOW to send an 8-bit command via SPI to an ADC, delay for a minimum 7usec then receive 24-bit data via SPI from the ADC. The requirement here is that the CS pin must be low the entire process of 8-bit sending and 24-bit re...
by e2738729
Sun Jan 06, 2019 10:53 pm
Forum: Hardware
Topic: ADS1256 with ESP32 idf
Replies: 3
Views: 6950

ADS1256 with ESP32 idf

Hi Everyone, I would like to to setup ESP32 as SPI master and 24-bit ADS1256 as slave for data collection. I will use 6 out of 8 ADC channels on the ADS1256. I have the following questions hopefully you could help me. 1. The ADS1256 has DRDY pin which we could use to trigger the hardware interrupt o...
by e2738729
Sat Dec 01, 2018 4:31 pm
Forum: Hardware
Topic: ESP32 Thing Master with 3 ADC Slave (SPI)
Replies: 1
Views: 3481

ESP32 Thing Master with 3 ADC Slave (SPI)

Hi everyone, I am trying to connect the ESP32 Thing from Sparkfun to 3 SPI slaves (ADCs) but I am not able to finalize my pin assignment regarding the Slave Select (SS or CS) pins Could I do the following: GPIO 23 -> MOSI GPIO 19 -> MISO GPIO 18 -> SCK GPIO 5 -> SS of ADC 1 GPIO 15 -> SS of ADC 2 Wh...
by e2738729
Thu Nov 29, 2018 6:32 pm
Forum: ESP-IDF
Topic: Problem: Setting up JTAG debugger for ESP32
Replies: 14
Views: 14557

Re: Problem: Setting up JTAG debugger for ESP32

Hi, Could someone help me with this please? I spent days to figure out why esp32-thing and tumpa wont work with eclipse but work fine on terminal using openocd and gdb. After I followed this instruction https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/using-debugger.ht...
by e2738729
Thu Nov 29, 2018 5:21 pm
Forum: Hardware
Topic: OpenOCD with Eclipse for ESP32
Replies: 0
Views: 2520

OpenOCD with Eclipse for ESP32

Hi everyone, I was able to make both openocd and gdb work in my terminals. I am using Windows 10, and TUMPA for debugging. The directory of openocd is: "C:\msys32\home\khoil\esp\openocd-esp32\bin" The directory of openocd cfg files: "C:\msys32\home\khoil\esp\openocd-esp32\share\openocd\scripts\board...
by e2738729
Tue Nov 27, 2018 3:37 pm
Forum: ESP-IDF
Topic: Problem: Setting up JTAG debugger for ESP32
Replies: 14
Views: 14557

Re: Problem: Setting up JTAG debugger for ESP32

Hi esp_igrr, So it is great that I am able to make the gdb works in the terminal. However, I followed the instruction from https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/using-debugger.html#jtag-debugging-using-debugger-eclipse After I setup the gdb in Eclipse, I did...
by e2738729
Tue Nov 27, 2018 3:10 pm
Forum: ESP-IDF
Topic: Problem: Setting up JTAG debugger for ESP32
Replies: 14
Views: 14557

Re: Problem: Setting up JTAG debugger for ESP32

I did what you said and I think it works now. GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it...
by e2738729
Mon Nov 26, 2018 3:13 pm
Forum: ESP-IDF
Topic: Problem: Setting up JTAG debugger for ESP32
Replies: 14
Views: 14557

Re: Problem: Setting up JTAG debugger for ESP32

However, the gdbinit file in home\khoil has exact content as the one in D:\esp32\workspace\scan. So even if I remove the one in "khoil" folder, it probably wont fix the problem with gdb connection, right?

Thanks,
by e2738729
Mon Nov 26, 2018 3:10 pm
Forum: ESP-IDF
Topic: Problem: Setting up JTAG debugger for ESP32
Replies: 14
Views: 14557

Re: Problem: Setting up JTAG debugger for ESP32

I think you are right, I think it tried to run the .gdbinit in .\home\khoil, eventhough my .gdbinit file I want it to run is in D:\esp32\scan\ So what is the best way for me to fix this? Thank you again for your help. $ xtensa-esp32-elf-gdb GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.1...
by e2738729
Sun Nov 25, 2018 3:38 pm
Forum: ESP-IDF
Topic: Problem: Setting up JTAG debugger for ESP32
Replies: 14
Views: 14557

Re: Problem: Setting up JTAG debugger for ESP32

Hi esp_igrr, I tried both of your methods and the results are the same. The problem is that gdb does not prompt me to write "-x .gdbinit." xtensa-esp32-elf-gdb build/scan.elf GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+...