Nice project! I had no trouble building it (normally I use ESP-IDF) but absolutely straightforward. Thanks for making that available.
Now what I didn't find so straightforward is the pulseview interaction. I could not figure out what it takes to connect to the ESP, what device to select, how to probe the port, etc. I see the nice screenshot on github but I can't seem to get that. Any quick instructions? Suggestions?
Thanks a bunch!
- mlp
SUMP Compatible ESP32 Logic Analyzer with RLE
Re: SUMP Compatible ESP32 Logic Analyzer with RLE
It looks like my project doesn't work after years. Probably some IDF changes.
As I understand, I2S0.conf.rx_start = 1 do not start the I2S0 sampling.
Do you know what is changed? Why my I2S DMA buffers doesn't filled?
I just want to make it working again... But can't figure why it doesn't start to sampling...
Edit:
Yeah I found the issue.
Before,
I2S can get clock input cfg.gpio_clk = 23 with ledcAttachPin(23, 0) is allowed.
But now, it does NOT supported.
So can't re-route ledC pwm output to I2S clock input via pin23... I need to make output to some pin (like pin 22) and than physically connect it into 23...
Is there a way to do that internally?
As I understand, I2S0.conf.rx_start = 1 do not start the I2S0 sampling.
Do you know what is changed? Why my I2S DMA buffers doesn't filled?
I just want to make it working again... But can't figure why it doesn't start to sampling...
Edit:
Yeah I found the issue.
Before,
I2S can get clock input cfg.gpio_clk = 23 with ledcAttachPin(23, 0) is allowed.
But now, it does NOT supported.
So can't re-route ledC pwm output to I2S clock input via pin23... I need to make output to some pin (like pin 22) and than physically connect it into 23...
Is there a way to do that internally?
Admin of the SamyGO.tv, Samsung TV Hacking Project
- jgustavoam
- Posts: 165
- Joined: Thu Feb 01, 2018 2:43 pm
- Location: Belo Horizonte , Brazil
- Contact:
Re: SUMP Compatible ESP32 Logic Analyzer with RLE
Hi EUA,
I suggest you take a look at these links
https://github.com/espressif/arduino-es ... i/ledc.rst
https://github.com/espressif/arduino-es ... pi/i2s.rst
Pin setup
Pins can be changed in two ways- 1st constants, 2nd functions.
By default, the pin numbers are defined in constants in the header file. You can redefine any of those constants before including I2S.h
PIN_I2S_SCK 14
PIN_I2S_FS 25
PIN_I2S_SD 26
PIN_I2S_SD_OUT 26
PIN_I2S_SD_IN 35
The second option to change pins is using the following functions. These functions can be called on either on initialized or uninitialized object.
setSckPin
Set and apply clock pin.
int setSckPin(int sckPin)
This function will return true on success or fail in case of failure.
I suggest you take a look at these links
https://github.com/espressif/arduino-es ... i/ledc.rst
https://github.com/espressif/arduino-es ... pi/i2s.rst
Pin setup
Pins can be changed in two ways- 1st constants, 2nd functions.
By default, the pin numbers are defined in constants in the header file. You can redefine any of those constants before including I2S.h
PIN_I2S_SCK 14
PIN_I2S_FS 25
PIN_I2S_SD 26
PIN_I2S_SD_OUT 26
PIN_I2S_SD_IN 35
The second option to change pins is using the following functions. These functions can be called on either on initialized or uninitialized object.
setSckPin
Set and apply clock pin.
int setSckPin(int sckPin)
This function will return true on success or fail in case of failure.
Retired IBM Brasil
Electronic hobbyist since 1976.
Electronic hobbyist since 1976.
Re: SUMP Compatible ESP32 Logic Analyzer with RLE
Hi jgustavoam!
Well, even if I use to select LEDC pin after initialized ledc,
Function does returns true BUT I2C do not work. Not detecting the clock pulses of LEDC.
I think something changed internally and ESPRESSIF doesn't allow it anymore.
Any officials could answer this?
Well, even if I use
Code: Select all
I2S.setSckPin(cfg.gpio_clk_out );
Function does returns true BUT I2C do not work. Not detecting the clock pulses of LEDC.
I think something changed internally and ESPRESSIF doesn't allow it anymore.
Any officials could answer this?
Admin of the SamyGO.tv, Samsung TV Hacking Project
- jgustavoam
- Posts: 165
- Joined: Thu Feb 01, 2018 2:43 pm
- Location: Belo Horizonte , Brazil
- Contact:
Re: SUMP Compatible ESP32 Logic Analyzer with RLE
Hi EUA,
Test suggestion - connect a jumper (wire) between the two pins externally. What do you think about this?
Test suggestion - connect a jumper (wire) between the two pins externally. What do you think about this?
Retired IBM Brasil
Electronic hobbyist since 1976.
Electronic hobbyist since 1976.
Re: SUMP Compatible ESP32 Logic Analyzer with RLE
I am new to ESP32. I have a ESP32 Wroom32 module. I downloaded the code from the Github repo, added #define USE_SERIAL2_FOR_OLS 0 in ESP32_LogicAnalyzer.h and uploaded the code to my module from the arduino IDE but PulseView doesnt detect the board at all, I have followed instructions from the Github Issues for this repo but still no luck. Please help.
- Attachments
-
- pulseviewpng.png (63.06 KiB) Viewed 1688 times
Who is online
Users browsing this forum: Google [Bot] and 159 guests