]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
ADC Addon: Fix CS numbering
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Mon, 7 Jul 2014 09:04:26 +0000 (11:04 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Mon, 7 Jul 2014 09:04:26 +0000 (11:04 +0200)
ADC/trb3_periph_adc.vhd

index 9e51e7b55f3f59da9649fc7438c25665ae1f7819..dfadae846b13d966286efda8a58ddf3fe0135d5d 100644 (file)
@@ -589,8 +589,8 @@ THE_SPI_RELOAD : entity work.spi_flash_and_fpga_reload
   
   LMK_CLK             <= spi_SCK when spi_CS(5 downto 4) /= b"11" else '1' ;
   LMK_DATA            <= spi_SDO when spi_CS(5 downto 4) /= b"11" else '0' ;
-  LMK_LE_1            <= spi_CS(3); -- active low
-  LMK_LE_2            <= spi_CS(4); -- active low
+  LMK_LE_1            <= spi_CS(4); -- active low
+  LMK_LE_2            <= spi_CS(5); -- active low
   
 
 ---------------------------------------------------------------------------