Browse Source

AFE low power config added.

Arash Aletayeb 1 year ago
parent
commit
4947cb080a
  1. 2
      developHw.pro.user
  2. 3
      include/model/hardware/core/lowLevelApi/register/afe/Afe.h
  3. 2
      mainwindow.cpp
  4. 3
      src/model/hardware/core/lowLevelApi/TrxBoard.cpp

2
developHw.pro.user

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject> <!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.10.0, 2024-02-13T12:19:15. --> <!-- Written by QtCreator 4.10.0, 2024-03-05T18:15:05. -->
<qtcreator> <qtcreator>
<data> <data>
<variable>EnvironmentId</variable> <variable>EnvironmentId</variable>

3
include/model/hardware/core/lowLevelApi/register/afe/Afe.h

@ -104,7 +104,8 @@ enum eLowNf : quint8
enum ePowModes : quint8 enum ePowModes : quint8
{ {
lowNoise lowNoise,
lowPower
}; };
enum eLnaHpfProg : quint8 enum eLnaHpfProg : quint8

2
mainwindow.cpp

@ -1911,7 +1911,7 @@ void MainWindow::on_btn_dmaLogLast_clicked()
try try
{ {
auto dmaLogCnt = ui->tb_dmaLogCount->text().toUInt(Q_NULLPTR, 10); auto dmaLogCnt = ui->tb_dmaLogCount->text().toUInt(Q_NULLPTR, 10);
if(dmaLogCnt == 0 && ui->tb_biteLogCount->text() != "0") if(dmaLogCnt == 0 && ui->tb_dmaLogCount->text() != "0")
{ {
MESSAGE_BOX("Invalid input format for DMA log count"); MESSAGE_BOX("Invalid input format for DMA log count");

3
src/model/hardware/core/lowLevelApi/TrxBoard.cpp

@ -475,6 +475,9 @@ TrxBoard::TrxBoard() : _offsetSlave0(0), _offsetSlave1(0x400000), _offsetSlave2(
setFpgaOffset(); setFpgaOffset();
setAfeModuleOffset(); setAfeModuleOffset();
systemLutCompletion(); systemLutCompletion();
preSubBatch = -1;
preBatch = 0;
} }
TrxBoard::ScenHwRegister::ScenHwRegister() TrxBoard::ScenHwRegister::ScenHwRegister()

Loading…
Cancel
Save