Search found 43 matches

by dzungpv
Sat May 10, 2025 4:37 am
Forum: Showcase
Topic: Logic analyzer on ESP32 for self-diagnostics
Replies: 23
Views: 149028

Re: Logic analyzer on ESP32 for self-diagnostics

I use your project and it is great but 50k sample for ESP32 is limited with long signal.
It is possible to make sample with ESP32 to 128k like the project you mention in the github https://github.com/EUA/ESP32_LogicAnalyzer?
by dzungpv
Mon Apr 21, 2025 12:01 am
Forum: ESP-IDF
Topic: (Solved) RMT driver for software UART with 22 bit data possible?
Replies: 41
Views: 11368

Re: (Solved) RMT driver for software UART with 22 bit data possible?

please
ok-home@ya.ru
I sent you with data capture with you logic analyzer. Do you receive it?
by dzungpv
Sun Apr 20, 2025 12:15 pm
Forum: ESP-IDF
Topic: (Solved) RMT driver for software UART with 22 bit data possible?
Replies: 41
Views: 11368

Re: (Solved) RMT driver for software UART with 22 bit data possible?



Also, I came across your logic_analyzer project—is it possible to send captured data to a remote server? The physical device is no longer directly accessible, and remote access over the internet is now required.


include/logic_analyzer_hal.h
Gets samples into ESP32 buffer
logic_analyzer_config ...
by dzungpv
Sun Apr 20, 2025 11:29 am
Forum: ESP-IDF
Topic: (Solved) RMT driver for software UART with 22 bit data possible?
Replies: 41
Views: 11368

Re: (Solved) RMT driver for software UART with 22 bit data possible?


if you follow this protocol
https://github.com/iblue/mhi-xy-bus/blob/main/report.pdf
it has nothing to do with HBS, it is easily implemented on rmt with encoding and decoding
the only question is how levels uh,uz,ul look like when input to rmt which has only 2 states "0" and "1".
The fact that ...
by dzungpv
Sun Apr 20, 2025 10:05 am
Forum: ESP-IDF
Topic: (Solved) RMT driver for software UART with 22 bit data possible?
Replies: 41
Views: 11368

Re: (Solved) RMT driver for software UART with 22 bit data possible?



I have problem to decode other signal, this time the signal with higher variable.
It mention in this document: https://github.com/iblue/mhi-xy-bus/blob/main/report.pdf
The frame is 48 bytes long, using hbs standard, the signal mention below

as far as I can see it's not hbs at all
frame size is ...
by dzungpv
Sat Apr 19, 2025 4:03 pm
Forum: ESP-IDF
Topic: (Solved) RMT driver for software UART with 22 bit data possible?
Replies: 41
Views: 11368

Re: (Solved) RMT driver for software UART with 22 bit data possible?

ok-home I have problem to decode other signal, this time the signal with higher variable.
It mention in this document: https://github.com/iblue/mhi-xy-bus/blob/main/report.pdf
The frame is 48 bytes long, using hbs standard, the signal mention below

mhi_signal.jpg

With RMT driver it can only ...
by dzungpv
Fri Jan 10, 2025 4:49 pm
Forum: ESP-IDF
Topic: LAN8720 and ESP32, Reduce power power consumption
Replies: 7
Views: 3377

Re: LAN8720 and ESP32, Reduce power power consumption


Could be effect of LAN8720 errata, please see https://github.com/espressif/esp-idf/blob/master/components/esp_eth/test_apps/main/esp_eth_test_apps.c#L167-L182


Thank you for the information about errata my chip version is B and they do not plan to fix it. Is there work around from their errata ...
by dzungpv
Fri Jan 10, 2025 9:10 am
Forum: ESP-IDF
Topic: LAN8720 and ESP32, Reduce power power consumption
Replies: 7
Views: 3377

Re: LAN8720 and ESP32, Reduce power power consumption

I can make it change to 10Mbps now. I verify this with code:



void check_link_speed(esp_eth_handle_t eth_handle)
{
eth_speed_t cur_speed;
esp_err_t ret = esp_eth_ioctl(eth_handle, ETH_CMD_G_SPEED, &cur_speed);
if (ret == ESP_OK) {
if (cur_speed == ETH_SPEED_10M) {
ESP_LOGI("ETH", "Current ...
by dzungpv
Fri Jan 10, 2025 7:44 am
Forum: ESP-IDF
Topic: LAN8720 and ESP32, Reduce power power consumption
Replies: 7
Views: 3377

LAN8720 and ESP32, Reduce power power consumption

I design a board with LAN8720a and ESP32 connect to it using RMII interface, with internal 1.2V enable.
In active mode speed 100Mbps it consume about 110ma, include all the LAN parts: 2 led, transformer.
My application does not require full speed of LAN8720A, 10Mbps is enough for it. So I try to ...
by dzungpv
Mon Dec 02, 2024 6:34 pm
Forum: ESP-IDF
Topic: (Solved) RMT driver for software UART with 22 bit data possible?
Replies: 41
Views: 11368

Re: RMT driver for software UART with 22 bit data possible?


try

https://github.com/ok-home/hbs_rmt_serial/blob/main/src/hbs_rmt_serial.c#L121

and
#define RMT_RX_IDLE_THRES (5000) // from 2400 to 10000


I have other problem, I have 2 test device with ESP32 1 with ESP32C3, 1. ESP32 work, but 1 esp32 crash all the time with:


assert failed ...

Go to advanced search