1010/fixpower (#1677)

* sleep for g2 and my3 poweron

(cherry picked from commit 3a1af098ed)

* binaries in

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
This commit is contained in:
Erik Fröjdhandmaliakal_d authored and GitHub committed 2026-11-12 18:16:42 +01:00
1 parent efb6cc368c
commit 61dcc96a2e
6 files changed
+4 -2

No files matched your search

@@ -2298,6 +2298,7 @@ int powerChip(int on, char *mess) {
if (on) {
LOG(logINFO, ("Powering chip: on\n"));
bus_w(CONTROL_REG, bus_r(CONTROL_REG) | CONTROL_PWR_CHIP_MSK);
usleep(50 * 1000); // wait for chip to be ready
if (configureChip(mess) == FAIL)
return FAIL;
} else {
@@ -2204,6 +2204,7 @@ int powerChip(int on) {
if (on) {
LOG(logINFO, ("Powering chip: on\n"));
bus_w(CONTROL_REG, bus_r(CONTROL_REG) | CONTROL_PWR_CHIP_MSK);
usleep(50 * 1000); // wait for chip to be ready
} else {
LOG(logINFO, ("Powering chip: off\n"));
bus_w(CONTROL_REG, bus_r(CONTROL_REG) & ~CONTROL_PWR_CHIP_MSK);
+2 -2
View File
@@ -4,9 +4,9 @@
#define APILIB "10.1.0 0x260806"
#define APIRECEIVER "10.1.0 0x260806"
#define APICTB "10.1.0 0x261109"
#define APIGOTTHARD2 "10.1.0 0x261106"
#define APIGOTTHARD2 "10.1.0 0x261112"
#define APIMOENCH "10.1.0 0x261109"
#define APIEIGER "10.1.0 0x261105"
#define APIXILINXCTB "10.1.0 0x261106"
#define APIJUNGFRAU "10.1.0 0x261109"
#define APIMYTHEN3 "10.1.0 0x261106"
#define APIMYTHEN3 "10.1.0 0x261112"