-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Open
Labels
Status: OpenedIssue is newIssue is new
Description
Answers checklist.
- I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
Subject: [CRITICAL REGRESSION] ESP-IDF v5.5.2 TWAI Driver: Message Loss & Broken ISO 11783-6
Description
I am reporting a critical regression regarding the TWAI (CAN) driver in ESP-IDF release v5.5.2.
I have conducted an A/B comparison using the exact same application code, changing only the TWAI driver implementation (components\CAN1). The results show that the new driver implementation introduced in this release is causing severe instability compared to the previous version.
Test Scenario
- Release: ESP-IDF v5.5.2
- Path:
Application\components\CAN1 - Comparison: Tested the same application logic with two different driver implementations (files attached below).
Attachments & Evidence
| Component | New Driver (Failing) | Legacy Driver (Working) |
|---|---|---|
| Source | NewCanDriver_CAN1.c | OldCanDriver_CAN1.c |
| CMake | NewCMakeLists.txt | OldCMakeLists.txt |
Logs:
- 20260105_222206_logiBUS.log (Log showing failures with the New Driver)
Observed Symptoms
With the new CAN driver implementation, we are observing:
- Message Loss: Significant dropping of CAN frames.
- Protocol Failure: Broken Pool Uploads regarding ISO 11783-6 (ISOBUS).
- General Instability: The bus communication is unreliable compared to the legacy driver.
Impact / Severity
[BLOCKER / HIGHEST PRIORITY]
This regression makes the product completely unusable for the end customer.
- The application cannot perform basic required tasks (ISO 11783-6 compliance).
- We categorize this as a 100% functional failure of the driver in this context.
- We currently have to invest a significant amount of work to mitigate these driver issues.
We urgently request a review of the changes made to the TWAI driver in v5.5.2 and a fix for this regression.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: OpenedIssue is newIssue is new