Talk:4 Axis TB6560 CNC Stepper Motor Driver Board Controller

From RepRap
Jump to: navigation, search

Wait here's some head start for a TB6560-based open source driver:

http://www.thingiverse.com/thing:3548

This chip delivers good power. Have a couple of those chips waiting for time for development, doesn't seem harder than with other driver designs.

Here's the datasheet:

http://www.glyn.de/data/glyn/media/doc/TB6560HQ_FFGE_P31_060531.pdf

Lanthan 13.09.2011

Cosc vs tw(clk) and looking at what comes out of the Mega2560.. Measuring the output of the mega running Marlin i get a step pulse of

http://i268.photobucket.com/albums/jj26/999hamster/Zstep.jpg

only 3.5µsec needs to be at least three times as long to match the 10µsec required by the 100pf Cosc see page 10 of speck sheet for TB6560AHQ.

So the question is how do you stretch the Step pulse in Marlin, cant find it in Config.

and looking in stepper.cpp ........

       WRITE(Z_STEP_PIN, !INVERT_Z_STEP_PIN);
       counter_z -= current_block->step_event_count;
       count_position[Z_AXIS]+=count_direction[Z_AXIS];
       WRITE(Z_STEP_PIN, INVERT_Z_STEP_PIN); 

........

no wait state. User:IanBev 24th Sept 2012