TMS320F28P650DK: ADC oversampling/undersampling by repeater and PPB

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi champs,

I am asking this for our customer.

In C2000ware V5.02, there are two examples for ADC oversampling and undersampling using repeater + PPB.

Would you please clarify if these are correct?

Questions:

1. In the example "adc_ex15_trigger_repeater_oversampling", 

This is 4x oversampling by accumulating 4x samples, but I am confused why there is no right shift below?

Is it supposed to be 2 (right shift by 2)?

2. In the example "adc_ex16_trigger_repeater_undersampling", it shows oversampling rather than undersampling in Repeater 1. Is it correct?

  • Hello,

    The expert on this topic is currently out of office until Tuesday 9/3, so please expect a delayed response. I apologize for any inconvenience.

    Best Regards,
    Delaney

  • Hello Wayne,

    For #1: There is no shift because generally for oversampling we don't recommend dividing down the output. This causes a loss of information. Instead of dividing down the output, the denominator should be changed to reflect the added bits (e.g. for 4x oversampling, the denominator is now 16384 instead of 4096).

    For #2: This should be undersampling. I am filing this bug to be fixed in the next release.

    Best regards,
    Ibukun