I'm trying to get the FB0 ABZ encoder's Z routed to index_enable in LinuxCNC. By default it seems that sserial0.index_out is connected like this in STMBL:
idx_home0.index_en <= sserial0.index_out
I can see the index pulse in ServoTerm if I connect enc_fb0.index to term0.wave4.
The connection in LinuxCNC is done like this:
net xindex joint.0.index-enable <=> hm2_5i25.0.stbl.0.0.index_enable
The issue is that joint.0.index-enable is false all the time.
//set bidirectional pins PIN(index_out) = data_out.index_enable; data_in.index_enable = (PIN(index_clear) > 0) ? 0 : data_out.index_enable;
STM32F407VE has ethernet and STM32F407VG has not. I found this is the only difference.
I'll probably have some assembled boards in a few weeks
Is there some freedom in quantity?
I noticed a difference in two docs:
psi = (Nm/A) / 3.0 * 2.0 / #POLE_PAIRS
psi = (Nm/A) / 2.0 * 3.0 / #POLE_PAIRS
And it would be better to use brackets