I'm driving a stepper motor with a PI4B and pigpio / Unosquare.PiGpio library for .NET. I'm using the wave module to modulate the pulse to drive the stepper motor. This works pretty good, until I reach about 12k pulses (gpioWaveGetMaxPulses). Then I get the error PI_TOO_MANY_CBS (What does CBS even mean?) Is there any way of chaining waves to get more than 12k pulses? I tried to use the gpioWaveChain method, but I get the error already when setting up the waves with GpioWaveAddGeneric.
This is my current call chain:
NativeMethods.Waves.GpioWaveClear() NativeMethods.Waves.GpioWaveAddGeneric() NativeMethods.Waves.GpioWaveCreate()