Trinamic 51xx 1-wire UART

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
bludin
 
Posts: 97
Joined: Thu Apr 16, 2020 8:57 am

Trinamic 51xx 1-wire UART

Post by bludin »

Trinamic's handy TMC5130/5160 stepper driver/motion controllers can communicate via SPI (with a nifty daisy-chain mode) or via a half-duplex UART interface. The latter can be used in a simple one-wire form where the MCU send a request and then waits for a response from the TMC so up to 254 drivers can be controlled on a single bus. To that end, the MCU must either switch the TX pin to become the RX pin or to a hiZ (input state) after transmitting a request. It's similar to RS485 (which is also supported) but doesn't require a transceiver chip and direction pin.
Does Circuitpython (SAMD port) support such a protocol?

User avatar
tannewt
 
Posts: 3304
Joined: Thu Oct 06, 2016 8:48 pm

Re: Trinamic 51xx 1-wire UART

Post by tannewt »

I don't believe it is currently supported.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”