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.

TMS320F280049: Overriding ADC results

Part Number: TMS320F280049


Hi,

I would like to ask if it is possible to overide a value in ADC result register? I would like create a fault injection test where I inject the fault value directly into result register so I can test the whole signal processing path.


BR, 
Jozef

  • Hi,

    The expert is out of the office because of Holiday. Please expect a reply by Tuesday.

    Thanks.

  • Hello Jozef,

    The ADCRESULT registers are read-only and cannot be written by software.

    One way you might be able to achieve what you're trying to do though is by using the post-processing block (PPB)'s offset calibration function, which is normally used to automatically calibrate out system-level offsets in your ADC circuit. Configure one of the four PPB blocks to process the SOC by writing to the ADCPPBxCONFIG register. Then, write a 10-bit signed offset value to the ADCPPBxOFFCAL register before triggering your conversion(s) to modify the conversion result that is written to the ADCRESULT register. Hope this helps!

    Best regards,
    Ibukun