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.

TMS570LS1224: Reading ADC conversion results

Part Number: TMS570LS1224


I am using one channel in ADC1 Group1 and one channel in ADC2 group1 , both are triggered by the same hardware  event(EPWM1). I can only set a minimum buffer size of 2 because the minimum value I can give to BNDB=1. Which is the best method to read the ADC conversion results with out any delay? Is it reading from the buffer or reading from the memory of the RAM?  I can observe a delay in getting the values if I use a buffer, is there any alternative method?

  • Hi,

    The CPU can read the conversion results in one of two ways:

    1. By using the conversion results memory as a FIFO queue
    2. By accessing the conversion results memory directly

    You can either. The benefit of reading the data from the ADC memory directly is that you can selectively read the conversion results for any particular input channel of interest without having to read other channels’ conversion results. Since only 1 ADC channel is used in your setup, I don't see any different between using FIFO and ADC memory.

    How much is the delay? 

  • Hi Wang,

    I need to set the FIFO size to 2, even if I am using only one channel and this resolved the delay issue.