Question on driving stepper motors

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question on driving stepper motors

498件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Dave3891 on Wed Jul 13 23:01:39 MST 2011
I am working on a 6 axis stepper signal generator (Step and Direction) and I have tried a few different ways but I can't seem to get the max freq that I am looking to be close to (1Mhz).

I am using the LPC1343

I am just looking for advice on the fastest way to do it.

My current idea is to use the 2 32bit timers with 3 match registers on each timer, but I would have to use a free running timer and do a matchReg++ on each interrupt and a position++ for each interrupt.

When the match is in toggle mode, how long does it toggle for?

I have also tried a version that uses Bresenham formula and one timer, but this one could not interpolate all 6 axis faster then about 200khz...

So I am looking to have all 6 axis running at a max of 1MHz and I am not sure of the best way to do this and if it would work with the 2 timers and 6 match registers...

Thanks
Dave
0 件の賞賛
返信
0 返答(返信)