Skip to content

Commit f588c59

Browse files
committed
new PLL config cf JIRA ORC-511
1 parent 773fdc9 commit f588c59

File tree

2 files changed

+589
-0
lines changed

2 files changed

+589
-0
lines changed

src/Cru/Ttc.cxx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "register_maps/Si5345-RevD_ttc_pll1_zdb-Registers.h"
2525
#include "register_maps/Si5345-RevD_ttc_pll2_zdb-Registers.h"
2626
#include "register_maps/Si5344-RevD-TFC_40-Registers.h"
27+
#include "register_maps/Si5345-RevD-_local_pll-oct-2024-320M-LPGBTCRU-Registers.h"
2728

2829
namespace o2
2930
{
@@ -65,6 +66,12 @@ void Ttc::configurePlls(uint32_t clock)
6566
registerMap2 = getTtcClockPll2RegisterMap();
6667
}
6768

69+
extern bool testModeORC501; // testMode flag used for some FW dev, cf JIRA ORC-501
70+
if (testModeORC501) { // testMode flag used for some FW dev, cf JIRA ORC-501 + JIRA ORC-511
71+
registerMap1 = getORC511PllRegisterMap();
72+
registerMap2 = getORC511PllRegisterMap();
73+
}
74+
6875
I2c p1 = I2c(Cru::Registers::SI5345_1.address, chipAddress, mBar, 0, registerMap1);
6976
I2c p2 = I2c(Cru::Registers::SI5345_2.address, chipAddress, mBar, 0, registerMap2);
7077
I2c p3 = I2c(Cru::Registers::SI5344.address, chipAddress, mBar, 0, registerMap3);

0 commit comments

Comments
 (0)