Skip to content

Commit 7a8b1f5

Browse files
authored
Merge pull request #430 from sy-c/master
v0.46.1
2 parents 773fdc9 + 7877087 commit 7a8b1f5

File tree

4 files changed

+593
-1
lines changed

4 files changed

+593
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ endif()
2424

2525
# Define project
2626
project(ReadoutCard
27-
VERSION 0.46.0
27+
VERSION 0.46.1
2828
DESCRIPTION "O2 ReadoutCard library"
2929
LANGUAGES C CXX
3030
)

doc/releaseNotes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,6 @@ This file describes the main feature changes for released versions of ReadoutCar
9696

9797
## v0.46.0 - 19/03/2025
9898
- class DmaChannelInterface: added getCounterFirstOrbit(), c.f. JIRA OMON-800
99+
100+
## v0.46.1 - 03/04/2025
101+
- o2-roc-config: new PLL config used for test-mode-ORC501, cf [ORC-511](https://its.cern.ch/jira/browse/ORC-511)

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)