Browse Source

The AO voltage limitation is modified to 66v.

The freeze/unfreeze delays are increased to 140/170 ms repectively
master
Arash Aletayeb 3 years ago
parent
commit
151bf8a6b4
  1. 2
      developHw.pro.user
  2. 2
      include/model/hardware/core/lowLevelApi/register/boardsCtrlMngt/BoardsCtrlMngt.h
  3. 11
      src/model/hardware/core/lowLevelApi/TrxBoard.cpp

2
developHw.pro.user

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.10.0, 2021-08-08T16:32:32. -->
<!-- Written by QtCreator 4.10.0, 2021-08-09T09:47:55. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>

2
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

11
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

Loading…
Cancel
Save