This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28P65X: ADC - cancel current conversion possible?

Part Number: LAUNCHXL-F28P65X

Hello together,

 

I have one general question to the ADC module. Is it possible to cancel a current ADC conversion and inject the next high prio SOC? For example in Infineon uC this is called 'Cancel-inject-repeat mode' and takes three ADC clock cycles until the requested high prio SOC is started.

Up to now I did not find something like this in the manual. The only way to get an information of the requested high prio SOC is the post processing block with its 'timestamp' feature (PPB Sample Delay Capture).

 

Greets :)

 

 

 

 

  • Hi Aaron,

    It is Thanksgiving weekend in US, so please expect some delay in the response.

    --
    Thanks & regards,
    Jagadish.

  • Hi Aaron,

    Apologies for the late reply! Many team members are out of the office this time of year.

    On C2000 ADCs, there isn’t a mechanism to abort/cancel an ADC conversion that is already in progress and immediately “inject” another SOC mid-conversion or say no equivalent of an injected-group preempt that interrupts the current conversion.

    What you can do is use the ADC’s SOC priority scheme meaning configure one (or more) SOCs as high priority so that if they trigger while other SOCs are pending, they will be scheduled as the next conversion after the current conversion completes. but it does not preempt the conversion currently underway.

    Here the worst-case latency for your “urgent” SOC equals the time remaining in the current conversion plus any configured acquisition window, but it will jump ahead of other pending round-robin SOCs once the ADC is free.

    Best Regards,

    Masoud