Permalink
Browse files

slight decrease in stall time for bemf

  • Loading branch information...
Josh S
Josh S committed Jan 5, 2013
1 parent d570498 commit 6ed14a4530c2b2607230ad8cd4daf9f9f90d928f
Showing with 2 additions and 2 deletions.
  1. BIN kovan.bit
  2. +2 −2 kovan.v
View
BIN kovan.bit
Binary file not shown.
View
@@ -522,7 +522,7 @@ module kovan (
bemf_in_valid <= 1'd0;
bemf_sensing_r <= 1'd0;
- if (bemf_counter > 3200) // 1mS
+ if (bemf_counter > 1600) // 0.5mS
bemf_state <= bemf_state + 1'd1;
else
bemf_state <= bemf_state;
@@ -534,7 +534,7 @@ module kovan (
bemf_in_valid <= 1'd0;
bemf_sensing_r <= 1'd1;
- if (bemf_counter > 12800) // 4mS
+ if (bemf_counter > 9600) // 3mS (if this has probs 3.5 should work)
bemf_state <= bemf_state + 1'd1;
else
bemf_state <= bemf_state;

0 comments on commit 6ed14a4

Please sign in to comment.