ADCOverflow Return Value

Forums BB Series Discussions ADCOverflow Return Value

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #163388
    Anonymous
    Inactive

    Hello

    GetIQ incorrectly return clipping of the input
    signal.

    Sample:
    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?

    Thank you

    #163396
    AndrewAndrew
    Moderator

    Hello Andrew,

    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.

    Regards,
    Andrew

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.