diff --git a/developHw.pro.user b/developHw.pro.user index c43fc1f..11a6a24 100644 --- a/developHw.pro.user +++ b/developHw.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/include/model/hardware/core/lowLevelApi/register/boardsCtrlMngt/BoardsCtrlMngt.h b/include/model/hardware/core/lowLevelApi/register/boardsCtrlMngt/BoardsCtrlMngt.h index 5e8248c..0ebca0e 100644 --- a/include/model/hardware/core/lowLevelApi/register/boardsCtrlMngt/BoardsCtrlMngt.h +++ b/include/model/hardware/core/lowLevelApi/register/boardsCtrlMngt/BoardsCtrlMngt.h @@ -24,7 +24,7 @@ #define HVB_Offset 1.525f #define HVB_GAIN 2.635f -#define HVA_MAX_VALUE 30.0f +#define HVA_MAX_VALUE 66.0f #define HVB_MAX_VALUE 66.0f // must be check enum ePg : bool diff --git a/src/model/hardware/core/lowLevelApi/TrxBoard.cpp b/src/model/hardware/core/lowLevelApi/TrxBoard.cpp index a2b1c9c..e440b2f 100644 --- a/src/model/hardware/core/lowLevelApi/TrxBoard.cpp +++ b/src/model/hardware/core/lowLevelApi/TrxBoard.cpp @@ -1105,14 +1105,15 @@ void TrxBoard::scenPlayerStart(bool afeHvPwrOn) this->_afeSlave1->setAfeGblPwr(afePwrdnDisable); this->_afeSlave2->setAfeGblPwr(afePwrdnDisable); - this->_bCtrlMngt->timerShot(20); +#ifdef MPS_BOARD + this->_bCtrlMngt->mpsDacsOn(); +#endif + + this->_bCtrlMngt->timerShot(170); //uncrustify off while(!(this->_bCtrlMngt->checkTimeout())); //uncrustify on -#ifdef MPS_BOARD - this->_bCtrlMngt->mpsDacsOn(); -#endif } this->_scenPlayer->control.setCommand(true); @@ -1154,7 +1155,7 @@ void TrxBoard::scenPlayerStop(bool afeHvPwrOff) this->_bCtrlMngt->mpsDacsOff(); #endif - this->_bCtrlMngt->timerShot(20); + this->_bCtrlMngt->timerShot(140); //uncrustify off while(!(this->_bCtrlMngt->checkTimeout())); //uncrustify on