From 7880feb896b03583b7a6c558a1de9ad61b93454c Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Mon, 4 Mar 2024 10:32:39 +0100 Subject: [PATCH] doc: releases: release-notes: 3.7: support minimum suported CAN bitrates Add release notes related to the added support for minimum supported CAN transceiver/controller bitrates. Signed-off-by: Henrik Brix Andersen --- doc/releases/release-notes-3.7.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/releases/release-notes-3.7.rst b/doc/releases/release-notes-3.7.rst index 5d337fbbdf95227..ba0b9c6fe218099 100644 --- a/doc/releases/release-notes-3.7.rst +++ b/doc/releases/release-notes-3.7.rst @@ -75,6 +75,16 @@ Drivers and Sensors * Deprecated the :c:func:`can_calc_prescaler` API function, as it allows for bitrate errors. Bitrate errors between nodes on the same network leads to them drifting apart after the start-of-frame (SOF) synchronization has taken place, leading to bus errors. + * Added optional ``min-bitrate`` devicetree property for CAN transceivers. + * Added devicetree macros :c:macro:`DT_CAN_TRANSCEIVER_MIN_BITRATE` and + :c:macro:`DT_INST_CAN_TRANSCEIVER_MIN_BITRATE` for getting the minimum supported bitrate of a CAN + transceiver. + * Added support for specifying the minimum bitrate supported by a CAN controller in the internal + ``CAN_DT_DRIVER_CONFIG_GET`` and ``CAN_DT_DRIVER_CONFIG_INST_GET`` macros. + * Added a new CAN controller API function :c:func:`can_get_min_bitrate` for getting the minimum + supported bitrate of a CAN controller/transceiver combination. + * Updated the CAN timing functions to take the minimum supported bitrate into consideration when + validating the bitrate. * Clock control