From 143ab9f4f76cefb72714863b2b8d251e8b162282 Mon Sep 17 00:00:00 2001 From: Kostas Alexopoulos Date: Mon, 10 Aug 2020 15:59:48 +0200 Subject: [PATCH] [cru] Update SCA addresses --- include/ReadoutCard/Cru.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/ReadoutCard/Cru.h b/include/ReadoutCard/Cru.h index f6e3cf92..d3dee936 100644 --- a/include/ReadoutCard/Cru.h +++ b/include/ReadoutCard/Cru.h @@ -53,13 +53,17 @@ static constexpr Register SCA_WR_DATA(0x00f00000); static constexpr Register SCA_WR_CMD(0x00f00004); static constexpr Register SCA_WR_CTRL(0x00f00008); -static constexpr Register SCA_RD_DATA(0x00f00010); +static constexpr Register SCA_RD_DATA(0x00f00000); +static constexpr Register SCA_RD_CMD(0x00f00004); +static constexpr Register SCA_RD_CTRL(0x00f00008); +/*static constexpr Register SCA_RD_DATA(0x00f00010); static constexpr Register SCA_RD_CMD(0x00f00014); -static constexpr Register SCA_RD_CTRL(0x00f00018); +static constexpr Register SCA_RD_CTRL(0x00f00018);*/ static constexpr Register SCA_RD_MON(0x00f0001c); static constexpr Register SC_LINK(0x00f00078); -static constexpr Register SC_RESET(0x00f0007c); +static constexpr Register SC_RESET(0x00f0000c); +//static constexpr Register SC_RESET(0x00f0007c); static constexpr Register SWT_WR_WORD_L(0x00f00040); static constexpr Register SWT_WR_WORD_M(0x00f00044);