DMA Stepgen - beta testing
For those interested, DMA Stepgen is ready for beta testing. On the bench it's working nicely with bugs being found and fixed along the way. Appreciate some feedback on issues.
github.com/scottalford75/Remora-RT1052-c...e/feature/DMAstepgen
github.com/scottalford75/Remora-RT1052-c...t1052-2.0.0-beta.bin
The DMA stepgen is configured like below:
Code:
{
"Thread": "DMA",
"Type": "DMAstepgen",
"Comment": "X - Joint 0 step generator",
"Joint Number": 0,
"Step Pin": "P1_22",
"Direction Pin": "P1_17",
"Step Length": 2,
"Step Space": 3
},
As you will see, there is now the ability to configure the step length and space settings. These are in multiples of 1 micro second (1000ns).
With a 1 micro second step length and space you will achieve 500 khz step rate!
Of course, adjust your max velocity in your HAL setup to respect the max step rate achievable with your step setting.