Other Parts Discussed in Thread: THS3095, EVM430-FR6043
Hi, in the watersample, specificallly "FR6047_USSWLib_template_example" which I used to start from, in the file:
ussSWLib/source/ussSwLibMeasurement.c line 518 we find
#if (USS_SEQUENCE_SELECTION == USS_CAPTURE_SEQUENCE_SELECTION_CH0_CH1)
switchToChannel(channel);
if(config->measurementConfig->sequenceSelection == USS_CAPTURE_SEQUENCE_SELECTION_CH0_CH1)
{
code = USS_commonTriggerSingleCapture(config,USS_CAPTURE_SEQUENCE_SELECTION_CH0,config->measurementConfig->restartLowPowerCaptureCount);
if(code == USS_message_code_no_error)
{
switchReverseChannel(channel);
code = USS_commonTriggerSingleCapture(config,USS_CAPTURE_SEQUENCE_SELECTION_CH1,0);
}
// Update SAPH Configuration
GENERIC_SAPH_ASCTL1 = config->measurementConfig->eofSequenceState;
GENERIC_SAPH_ASCTL0 = TRIGSEL_1 + PNGCNT0;
}
#endif
The red/orange switch/switchReverse(channel) to UPS resp. DNS, for setting the OpAmps(Rx/Tx) from the same pair of transducers.
Or is the general idea meant to be done otherwise??
rgds,
Laurent