Search found 6 matches

by wanckl
Tue Mar 31, 2026 9:52 am
Forum: ESP-IDF
Topic: TWAI changes in v5.5
Replies: 6
Views: 1578

Re: TWAI changes in v5.5

Hi kevinevans :

For `error 0x0`, there is a fix thanks to PR https://github.com/espressif/esp-idf/pull/18100

But for other errors (form_error / stuff_error), it indicate that timing issue on this node, maybe your 2nd device's timing not very accurate, at least not accurate with esp node.

The `sp ...
by wanckl
Tue Sep 30, 2025 6:52 am
Forum: Hardware
Topic: SPI slave is not releasing the MISO line
Replies: 5
Views: 3354

Re: SPI slave is not releasing the MISO line

Thank you for your trying and feedback!

But unfortunately, finally get info from the design team that the ESP32 is true has this issue on chip hardware, it is an old design and can't do any software workaround, we can only:
1. using esp32 spi slave without other devices on bus
2. or like what you ...
by wanckl
Wed Sep 17, 2025 8:41 am
Forum: Hardware
Topic: SPI slave is not releasing the MISO line
Replies: 5
Views: 3354

Re: SPI slave is not releasing the MISO line

Hi, Thank you for your report, and we can reproduce the issue now, it is same as an github issue https://github.com/espressif/esp-idf/issues/8638

Form simply try, there are 2 ways, enable DMA, or reduce MISO pin strength by gpio_set_drive_capability(buscfg.miso_io_num, GPIO_DRIVE_CAP_0);

We'll ...
by wanckl
Tue Aug 05, 2025 8:39 am
Forum: Hardware
Topic: Slave SPI is not collecting data
Replies: 6
Views: 252

Re: Slave SPI is not collecting data

Hi, for esp32 it use an old design, If you using DMA and actual transaction length (master side) not align to 4 byte, slave can't receive those not aligned bytes.

So for your solution: change PIC master side that transaction length align to 4 bytes, Or not use DMA on esp32 spi slave.

Thanks for ...
by wanckl
Thu Sep 14, 2023 12:37 pm
Forum: ESP-IDF 中文讨论版
Topic: esp-idf 什么时候能支持 esp32c6 的两路 TWAI
Replies: 2
Views: 4843

Re: esp-idf 什么时候能支持 esp32c6 的两路 TWAI

啊这,,计划是今年底,年底新版本里面支持,旧的驱动不好改,已经在直接做一套新的了,,,可以再等2个月吗,实在捉急的话11月左右可以先给你补丁去测
by wanckl
Mon Sep 11, 2023 9:00 am
Forum: ESP-IDF
Topic: Issue with SPI Communication between ESP32C3 and MCP3461: MISO Problem with Espressif's spi_master Library
Replies: 3
Views: 1669

Re: Issue with SPI Communication between ESP32C3 and MCP3461: MISO Problem with Espressif's spi_master Library

I don't know how Arduino implement your transaction, But from your ADC chips datasheet, if you need check the "ack" phases, it seems actually a full-duplex communication, at least in the "cmd-ack" section, means you need perform them in same transaction so that they are same time.
So you shouldn't ...

Go to advanced search