Saturday, February 22, 2020

Testing Trinamic stepper drivers on MRR ESPA and MRR ESPE

Following the testing of slave addresses on TMC2209, I have done some further testing on Trinamic drivers on the MRR ESPA and MRR ESPE boards.


The following are the test setups:

1. MRR ESPA with 4 x TMC2209 in UART mode
Pins 21 and 22 were used for hardware Serial1, and slave addresses 0 to 3 were used for X, Y, Z, and E0 respectively. I ran into this issue while compiling (workaround also included in the issue), hopefully it gets resolved soon. With this setup, I also managed to test sensorless homing, and it works!

2. MRR ESPA with 3 x TMC2130 in SPI mode
Pins 21, 22, and 0 were used for CS pins of X, Y, and E0 respectively. These are the only 3 unused pins on MRR ESPA, so a fourth driver could not be tested, but this should not be an issue on the MRR ESPE which has five unused pins.

3. MRR ESPE with 3 x TMC2209 and 1 x TMC2208 in UART mode
Pins 21 and 22 were used for hardware Serial1, which supported the X, Y, and Z axes using TMC2209 with slave addresses 0 to 2. Pins 2 and 4 were used for hardware Serial2, which supported E0 running TMC2208 (no slave address). This mixing of TMC2209 and TMC2208 drivers work! Technically, this means 4 x TMC2209 can be on Serial1, while the fifth stepper driver can be 1 x TMC2208 or TMC2209 on Serial2. BTW, this is the setup shown in the photo (almost; the photo does not show the TMC2208 hooked up properly to Serial2).

This more or less concludes the testing of Trinamic stepper driver support on the MRR ESPA and MRR ESPE boards. My current printers are running a mix of TMC2209/A4988 on one, and TMC2130/A4988 on another printer. With this test completed, I will likely be using TMC2209s exclusively for one of them, and TMC2130s exclusively on the other.

A pull request has been submitted to Marlin to make it easier for users to configure the pins for hardware serial. Hopefully it gets merged soon.

Get the boards here.

MRR ESPA and MRR ESPE related social media:
Facebook page
Facebook group for users

2 comments:

Madhu Nuggehalli said...

Hello,

I was wondering; do you offer custom board engineering services?

Thanks!

Teck said...

Hi Madhu, no, I do not provide custom engineering services. If you have a feature request for existing boards, you can post a feature request.