Skip to content

Add UART support for TMC51xx series #90687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 30, 2025

Conversation

dipakgmx
Copy link
Member

Added UART support alongside existing SPI functionality for the tmc51xx series.
Also, adds now a generic UART communication layer, with some restructuring of the bus abstraction layer .

This is the same as #89759, where I accidentally deleted the branch, and now I cannot reopen it. Sorry for the mess up

dipakgmx added 6 commits May 21, 2025 20:44
Now adds support to tmc51xx via uart. The base yaml supports
the common properties, and uart and spi bindings are
configuration-specific.

Signed-off-by: Dipak Shetty <[email protected]>
Now a bus abstraction for Trinamic stepper drivers with
unified interface for SPI/UART communication. Separates
transport logic from device-specific functionality.

Signed-off-by: Dipak Shetty <[email protected]>
Add support for trinamic controller with single wire UART

Signed-off-by: Dipak Shetty <[email protected]>
Now added pos_reached_mask for polling rampstat when
position reached event is not supported, for example,
with uart drivers. Consequently, when the position is
reached, the position is reached, and the event flag is
set active. Hence, an additional value is now introduced.

Signed-off-by: Dipak Shetty <[email protected]>
Added support for tmc51xx uart support alongside the
existing spi support. The tmc51xx driver is now consolidated
into a dedicated folder.

Signed-off-by: Dipak Shetty <[email protected]>
Now added a node to test builds with tmc51xx on uart.

Signed-off-by: Dipak Shetty <[email protected]>
Copy link

@kartben kartben merged commit f5d1803 into zephyrproject-rtos:main May 30, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Stepper platform: ADI Analog Devices, Inc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants