If you used pncconf to create the configuration, you can have it setup the chargepump
Stepgen 4 is used as the chargepump signal generator on the G540 firmware
pncconf does have a bug where it set the wrong frequency but that is easily fixed
in the hal file.
You could also just add this code to your hal file:
I'm beginnig to think I may have done something to my G540. The only difference that I saw between what you shared was velocity-cmd which was set to 0.25. I changed it to 1.0 but that did'nt make a difference. I then replaced what I had with all that you shared, still the G540 had a red fault light. If I turn the charge pump off everything seems to work. Chargepump on and it stays in fault mode.
Is there a way to check the signal on pin 16(Gecko) without a scope?
So I was unable to get it to work with any settings. I decided to see if it would work from a pci parallel port card. After running stepconf it responded the same. Works with chargepump off, but won't come out of error state when pump is on.
I then decided to boot an old install (Debian stretch(9) with 4.9.0-7-rt-amd64) and everything works properly with pump on. So I rebooted into the new install and copied that config over. It didn't work if pump was on.
I'll try sometime tomorrow to see if I get the same response from the 5i25 card.
So I'm not a kernel person but seems like something is missing in the new kernel?