Hi,
I want to validate the fault injection about miscThreshFault. According to the description about miscThreshFault in SDK:
/**
* @brief This field indicates whether faults should be forced in the threshold comparisons \n
in the software layer of some monitors. If a fault is enabled, the logic in the \n
min-max threshold comparisons used for failure detection is inverted, causing a \n
fault to be reported. During these faults, no hardware fault condition is \n
injected in the device.
This fault can be seen in GPADC_INTERNAL_SIGNALS_MONITOR. \n
Bit Enable Fault
0 EXTERNAL_ANALOG_SIGNALS_MONITOR
1 GPADC_INTERNAL_SIGNALS_MONITOR
Others RESERVED
For each bit, 1 = inject fault, 0 = remove injected fault
*/
rlUInt8_t miscThreshFault;
There are two item, bit0 EXTERNAL_ANALOG_SIGNALS_MONITOR and bit1 GPADC_INTERNAL_SIGNALS_MONITOR.
After I inject fault bit0 EXTERNAL_ANALOG_SIGNALS_MONITOR and frame ending, AWR2944 reported event RL_RF_AE_MON_GPADC_INT_ANA_SIG_REPORT successfully.
but for bit1 GPADC_INTERNAL_SIGNALS_MONITOR, AWR2944 reported noting.
My config for rlRfGpadcIntAnaSignalsMonConfig is as below:
static void BssFaultInject_SetConfig_miscThreshFault(void) { rlReturnVal_t ret = 0; rlGpadcIntAnaSignalsMonConf_t config = { 0 }; config.reportMode = 1; ret = rlRfGpadcIntAnaSignalsMonConfig(RL_DEVICE_MAP_INTERNAL_BSS, &config); if (ret != 0) { test_print("return:%d\n", ret); DebugP_assert(0); } }
Could you please give some advice? Thanks.