andrew4010Participantandrew4010 December 3, 2018 at 4:51 am
GetIQ incorrectly return clipping of the input
A signal is set on the generator which surely gives an overflow of the bb60C.
In custom software(not Spike) I periodically call GetIQ and got ADCOverflow return value.Then I turn off signal from generator and again call GetIQ.First call GetIQ always return ADCOverflow value even without signal and only next call returned correct value.
I set purge = BB_TRUE but it did not help.
Why it occurs? How get then correct clipping state of signal in every GetIQ call?
AndrewModeratorAndrew December 3, 2018 at 9:22 am
You are correct in noting that the ADC overflow is not tied to the IQ samples. We would need to do a bit of work to make that happen.
Right now, the ADC overflow flag is a boolean that is cleared once per call to GetIQ. Setting purge to true will not clear it right now.
Until we change the behavior of the API, it might be appropriate to ignore the ADC overflow flag when you want to purge IQ?
I apologize for the inconvenience. I will make a note of this issue and in the future maybe we can improve the reporting of the ADC overflow flag.
You must be logged in to reply to this topic.