Skip to content

Conversation

@skullbox305
Copy link
Contributor

Enables hardware RX timestamping for the STM32 FDCAN driver by leveraging the M_CAN timestamping interface.

Introduces a new timestamp-counter property in the device tree binding. If CONFIG_CAN_RX_TIMESTAMP is enabled and this property is defined, the driver configures the M_CAN Timestamp Select to use the external timestamp counter value.

This allows linking a Zephyr Counter device to the FDCAN instance to provide precise packet timing.

Enables hardware RX timestamping for the STM32 FDCAN driver by
leveraging the M_CAN timestamping interface.

Introduces a new `timestamp-counter` property in the device tree binding.
If `CONFIG_CAN_RX_TIMESTAMP` is enabled and this property is defined,
the driver configures the M_CAN Timestamp Select to use the
external timestamp counter value.

This allows linking a Zephyr Counter device to the FDCAN instance to
provide precise packet timing.

Signed-off-by: Igor Knippenberg <[email protected]>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants