Microstepping (16 steps)

Status
Not open for further replies.

Sweta25

Junior Member level 1
Joined
Dec 4, 2014
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
126
Hello,
I am encountering a problem with microstepping.
for full steps:
when "00" => dout <= "1000"
when "01" => dout <= "0100"
when "10" => dout <= "0010"
when "11" => dout <= "0001"

for half steps:
when "000" => dout <= "1000"
when "001" => dout <= "1100"
when "010" => dout <= "0100"
when "011" => dout <= "0110"
when "100" => dout <= "0010"
when "101" => dout <= "0011"
when "110" => dout <= "0001"
when "111" => dout <= "1001"

for microsteps (16 steps):
when "0000" => dout <= "1000"
when "0001" => dout <=
when "0010" => dout <= "1100"
when "0011" => dout <=
when "0100" => dout <= "0100"
when "0101" => dout <=
when "0110" => dout <= "0110"
when "0111" => dout <=
when "1000" => dout <= "0010"
when "1001" => dout <=
when "1010" => dout <= "0011"
when "1011" => dout <=
when "1100" => dout <= "0001"
when "1101" => dout <=
when "1110" => dout <= "1001"
when "1111" => dout <=

Can someone help with the microsteps???? I tried many pattern but in vain...any help would be appreciated...Thanks in advance
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…