Merge branch 'main' into active-sd-info-event
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
This commit is contained in:
commit
4539d25518
@ -27,6 +27,8 @@ will consitute of a breaking change warranting a new major release:
|
|||||||
|
|
||||||
## Added
|
## Added
|
||||||
|
|
||||||
|
- 5 ms delay after pulling RADFET enable pin high before starting
|
||||||
|
the ADC conversion.
|
||||||
- Set STR time in configuration sequence to firmware mode.
|
- Set STR time in configuration sequence to firmware mode.
|
||||||
- The STR `AutoThreshold` parameters are now set from the configuration JSON file at STR
|
- The STR `AutoThreshold` parameters are now set from the configuration JSON file at STR
|
||||||
startup.
|
startup.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include <OBSWConfig.h>
|
#include <OBSWConfig.h>
|
||||||
#include <devices/gpioIds.h>
|
#include <devices/gpioIds.h>
|
||||||
#include <fsfw/datapool/PoolReadGuard.h>
|
#include <fsfw/datapool/PoolReadGuard.h>
|
||||||
|
#include <fsfw/tasks/TaskFactory.h>
|
||||||
#include <mission/payload/RadiationSensorHandler.h>
|
#include <mission/payload/RadiationSensorHandler.h>
|
||||||
#include <mission/power/gsDefs.h>
|
#include <mission/power/gsDefs.h>
|
||||||
#include <mission/tcs/max1227.h>
|
#include <mission/tcs/max1227.h>
|
||||||
@ -98,6 +99,10 @@ ReturnValue_t RadiationSensorHandler::buildCommandFromCommand(DeviceCommandId_t
|
|||||||
}
|
}
|
||||||
case (radSens::START_CONVERSION): {
|
case (radSens::START_CONVERSION): {
|
||||||
ReturnValue_t result = gpioIF->pullHigh(gpioIds::ENABLE_RADFET);
|
ReturnValue_t result = gpioIF->pullHigh(gpioIds::ENABLE_RADFET);
|
||||||
|
// Test a small delay between pulling the RADFET high and reading the sensor. As long as this
|
||||||
|
// delay remains small enough, this should not cause scheduling issues. Do not make this
|
||||||
|
// delay large, this device might be scheduled inside the ACS PST!
|
||||||
|
TaskFactory::delayTask(5);
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
#if OBSW_VERBOSE_LEVEL >= 1
|
#if OBSW_VERBOSE_LEVEL >= 1
|
||||||
sif::warning
|
sif::warning
|
||||||
|
Loading…
Reference in New Issue
Block a user