Skip to content

Commit 681173c

Browse files
alexanderwachternashif
authored andcommitted
doc: releasenotes 2.5: Add CAN driver release notes
This commit adds the release notes for the 2.5 releas for the CAN driver. Signed-off-by: Alexander Wachter <[email protected]>
1 parent fb71ad5 commit 681173c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

doc/releases/release-notes-2.5.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,26 @@ Drivers and Sensors
196196

197197
* CAN
198198

199+
* We reworked the configuration API.
200+
A user can now specify the timing manually (define prop segment,
201+
phase segment1, phase segment2, and prescaler) or use a newly introduced
202+
algorithm to calculate optimal timing values from a bitrate and sample point.
203+
The bitrate and sample point can be specified in the device tree too.
204+
It is possible to change the timing values at runtime now.
205+
206+
* We reworked the zcan_frame struct due to undefined behavior.
207+
The std_id (11-bit) and ext_id (29-bit) are merged to a single id
208+
field (29-bit). The union of both IDs was removed.
209+
210+
* We made the CANbus API CAN-FD compatible.
211+
The zcan_frame data-field can have a size of >8 bytes now.
212+
A flag was introduced to mark a zcan_frame as CAN-FD frame.
213+
A flag was introduced that enables a bitrate switch in CAN-FD frames.
214+
The configuration API supports an additional timing parameter for the CAN-FD
215+
data-phase.
216+
217+
* drivers are converted to use the new DEVICE_DT_* macros.
218+
199219
* Clock Control
200220

201221
* Console

0 commit comments

Comments
 (0)