4:24 AM
5:00 AM
this chip is very very very interesting and with uart you can get all info? even with uart you can control the frequency?
though i suppose you propose to use it to find the best frequency using the jig and reading from uart and the put the proper pwm. but what if i want a non static frequency
1 hour later…
6:56 AM
@kyrpav Well, my current test jig for MX540/TB6560/TB6600 is only for newbies. The MKS OSC stepper motor driver tester uses the stupid 555 timer is not flexible at all. In my other testers, I use XY-LPWM which is very precise, and UART controlled.
@kyrpav Well, the current test jig is manual, push button operation, is stupid, and only for CNC guys who does not know software at all. I am going to try 42VDC motor power, and I worry that I will fry more drivers, so it is sort of safe tester.
@kyrpav Yes, as you all drivers have the basic signals, enable, direction, steps. But for tmc2209/2160, all the driver config and diagonstics are done in software uart or spi.
@kyrpav Yes, all modules on photo are mine, some are lying in the junk bin, collecting dust for years. The tmc2209/2160 are designed by the German guys, manufactured in ShenZhun, not too far away from my city, just across the boarder.
2 hours later…
9:39 AM
9:53 AM
10:06 AM
10:35 AM
10:58 AM
2 hours later…
1:39 PM
@kyrpav Well, I am thinking of using both uart tmc2219 and spi tmc2160, for my future projects. I started with uart 2209 because I just learned how to use Pico uart and found it easy. But then Pcio has only two uarts, not enough to go around for my many more projects. So I thought perhaps I can then use spi tmc2216 at the same time. Pico can entertain many more spi devices. I found both devices have similar config registers.
So learning one device is actually two devices together, as long as you are comfortable playing with uart and spi.
Another reason for playing with both is that when I searched for tmc2160 and tmc2209, I found almost all question is SE forums are one tmc2130 and tmc2208 which is a bit out of date. As I am just learning, so no harm but actually wise to learn new things.
me either used the DIAG thing. I guess it is for diagnostic or warning over current which means motor should be over heated. About optimum frequency, I just found out that, when playing with the mks motor driver testing tool, that even for a working frequency range, there are unique frequencies that the motor starts to tremble.
I read that there are some thing called "resonant" frequencies that the motor would oscillate. So the mks testier is handy to scan for such trouble making frequencies.
Next step is to use the mks tester to locate the trouble making frequencies and use a scope to check out if there are oscillations in the frequency range. I also need to look at closely the relations between current, voltage, motor current, and frequencies and duty cycles etc. I am a newbie in using "chopping mode" driving, so I need to spend some time building up knowledge in this area.
7 hours later…
« first day next day → last day (30 days later) »
Transcript for
Feb8
Feb '229
Feb10
Discussion between tlfong01 and kyrpav
Imported from a comment discussion on electronics.stackexchang...