Hi
I'm trying to configure my TMC2209 for UART but am a bit confused about what is meant by the 8-bit slave address in the datagram structure.
On the datasheet under the UART configuration it says "The slave address SLAVEADDR is selected by MS1 (bit 0) and MS2 (bit 1)" and in an example Arduino sketch it says:
#define DRIVER_ADDRESS 0b00 // TMC2209 Driver address according to MS1 and MS2
What does this mean?
How do I get the address according to MS1 and MS2? How is 1 value assigned to the address of two pins?
Is the slave address only required for configuring multiple drivers?
If anyone can explain to me any of this, I would be very grateful.
Here is a link to the datasheet: https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2209_Datasheet_V103.pdf
SOLUTION
So after staring at the datasheet for a few more hours I found this diagram:
The slave address is simply the address physically defined by the value of pins ms1 and ms2. I believe the address is 8 bit with ms1 being bit 0 (LSB) and ms2 being bit 1. Therefore by pulling ms1 high and ms2 low, I assume the address for that driver would be 0000001.