diff --git a/Components/SDCARD/sd_controller.vhd b/Components/SDCARD/sd_controller.vhd index 47f035a..7b9d18d 100644 --- a/Components/SDCARD/sd_controller.vhd +++ b/Components/SDCARD/sd_controller.vhd @@ -101,7 +101,7 @@ use ieee.std_logic_unsigned.all; entity sd_controller is generic ( - constant CLKEDGE_DIVIDER : integer := 200 -- 50MHz / 200 gives edges at 250kHz ie output + constant CLKEDGE_DIVIDER : integer := 100 -- 50MHz / 100 gives edges at 500kHz ie output -- or sdSCLK of 250kHz to be used during init phase ); port ( @@ -302,9 +302,7 @@ begin state <= cmd0; else bit_counter := bit_counter - 1; - if clkCount = (CLKEDGE_DIVIDER - 1) then -- Only toggle clock at divided rate - sclk_sig <= not sclk_sig; - end if; + sclk_sig <= not sclk_sig; end if; when cmd0 => diff --git a/build_id.v b/build_id.v index 2b0ee97..c884a2a 100644 --- a/build_id.v +++ b/build_id.v @@ -1 +1 @@ -`define BUILD_DATE "241207" \ No newline at end of file +`define BUILD_DATE "241208" \ No newline at end of file diff --git a/releases/MultiComp_20241208.rbf b/releases/MultiComp_20241208.rbf new file mode 100644 index 0000000..1cc14f7 Binary files /dev/null and b/releases/MultiComp_20241208.rbf differ