Search found 8 matches

by blade77
Sun Oct 20, 2024 9:07 pm
Forum: Showcase
Topic: Logic analyzer on ESP32 for self-diagnostics
Replies: 15
Views: 73867

Re: Logic analyzer on ESP32 for self-diagnostics

Thanks a lot! It is a very useful hint that actually rx_bck_div_num is not used in parallel slave mode.
by blade77
Sun Oct 13, 2024 9:09 pm
Forum: Showcase
Topic: Logic analyzer on ESP32 for self-diagnostics
Replies: 15
Views: 73867

Re: Logic analyzer on ESP32 for self-diagnostics

on a side note via commenting // logic_analyzer_ll_set_clock(sample_rate); actually default values will be applied according the ESP32 technical reference manual. The default values are equivalent with these lines I2SX.clkm_conf.clkm_div_num = 4; I2SX.sample_rate_conf.rx_bck_div_num = 6; ... actuall...
by blade77
Wed Oct 02, 2024 8:15 pm
Forum: Hardware
Topic: I2S parallel output in slave mode
Replies: 0
Views: 941

I2S parallel output in slave mode

I have recently managed to port this nice project to latest esp-idf: https://www.esp32.com/viewtopic.php?t=3256 This works very well. However if I try to switch the external clock (slave mode), then there is no output. The Technical Reference says that arbitrary combination of input/output vs. maste...
by blade77
Tue Sep 17, 2024 8:54 pm
Forum: Showcase
Topic: Logic analyzer on ESP32 for self-diagnostics
Replies: 15
Views: 73867

Re: Logic analyzer on ESP32 for self-diagnostics

I had to do the following changes for slave mode (using external clock) on ESP32:

Code: Select all

gpio_matrix_in(SD_CLOCK_PIN, I2S0I_WS_IN_IDX, false);

Code: Select all

I2SX.conf.rx_slave_mod = 1;

Code: Select all

//    logic_analyzer_ll_set_clock(sample_rate);
It seems to capture sd interface signals stable with 20 MHz clock.
by blade77
Thu Sep 12, 2024 7:41 am
Forum: Showcase
Topic: Logic analyzer on ESP32 for self-diagnostics
Replies: 15
Views: 73867

Re: Logic analyzer on ESP32 for self-diagnostics

Thanks a lot! Static 40 MHz sample rate seems to work fine for my use case. I would also like to send packages at 40 MHz as a kind of automation. I will try to figure out how.
by blade77
Wed Sep 11, 2024 11:21 am
Forum: Showcase
Topic: Logic analyzer on ESP32 for self-diagnostics
Replies: 15
Views: 73867

Re: Logic analyzer on ESP32 for self-diagnostics

Thank you so much. I am using ESP32 (pico) in my project. Will the same work with that as well?
by blade77
Tue Sep 10, 2024 10:37 pm
Forum: Showcase
Topic: Logic analyzer on ESP32 for self-diagnostics
Replies: 15
Views: 73867

Re: Logic analyzer on ESP32 for self-diagnostics

It sounds good. And can I use the CLK pin of the external sdmmc host as clock source instead of the internal clock?
by blade77
Mon Sep 09, 2024 8:26 pm
Forum: Showcase
Topic: Logic analyzer on ESP32 for self-diagnostics
Replies: 15
Views: 73867

Re: Logic analyzer on ESP32 for self-diagnostics

Hi, I would like to use your logic analyzer for capturing CMD pin traffic of sdmmc interface. Is it possible to use CLK pin of sdmmc as clock source? sdmmc runs at 40 MHz in my case.