diff --git a/icestick/stopwatch_top_icestick.v b/icestick/stopwatch_top_icestick.v index 8e138c3..db31593 100644 --- a/icestick/stopwatch_top_icestick.v +++ b/icestick/stopwatch_top_icestick.v @@ -322,6 +322,7 @@ module SPI_wrapper ( digit_count <= 3'b0; sent_ON <= 0; sent_BCD <= 0; + sent_SCN <= 0; state <= SETUP_ON; end case(state) @@ -357,7 +358,7 @@ module SPI_wrapper ( SETUP_SCN: begin // send a setup packet enabling 6 digits if (ready_reported == 1) begin - word_out <= 16'b0000_1011_0000_0101; // address = scan limit, data = BCD for all + word_out <= 16'b0000_1011_0000_1110; // address = scan limit, data = BCD for all digit_count <= 3'b000; Cs <= 0; sent_SCN <= 1; diff --git a/src/stopwatch_top.v b/src/stopwatch_top.v index f490781..db31593 100644 --- a/src/stopwatch_top.v +++ b/src/stopwatch_top.v @@ -322,6 +322,7 @@ module SPI_wrapper ( digit_count <= 3'b0; sent_ON <= 0; sent_BCD <= 0; + sent_SCN <= 0; state <= SETUP_ON; end case(state)