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.

ADC performance

Hi,

1. I need information about maximal useful ADC conversion time. I have to do 700ns sampling rate of 1 ms duration signal and then transmit stored  data via UART. Is it possible using 160Mhz MCU? 

2. Can TMS570 USB Dev. Stick work standalone after flashing via USB using CCS4.1?

Best regards,

Adam.

  • Adam,

    Below ADC timing overview will be useful for your ADC timing calculations.

    ADC Timing Overview


    ADC Timing (per channel):

    TDIS = TVCLK * PS * PDIS

    TSAMPLE = TVCLK * PS * ACQ

    TCONV = TVCLK * PS * (N+1)

    TCHANNEL = TDIS + TSAMPLE + TCONV = TVCLK * PS (PDIS + ACQ + N +1)

     

    Total ADC Timing:

    TTOTAL = CHN * TCHANNEL + (CHN-1) * 5 *TVCLK

     

    NOTE:

    For the first channel of a conversion group TSCAN=0.
    For each additional channel 5VCLK cycles of TSCAN have to be added.

     

    SOC                    START OF CONVERSION

    EOC                    END OF CONVERSION

    TSCAN                    SCANNING TIME

    TDIS                      DISCHARGING TIME

    TSAMPLE                  SAMPLING TIME

    TCONV                    CONVERSION TIME

    TVCLK                     VCLK PERIOD

    TCHANNEL                 MEASUREMENT TIME PER CHANNEL

    TTOTAL                    TOTAL MEASUREMENT TIME

    PS                       ADCLK PRESCALE SELECT

    PDIS                     DISCHARGE CYCLES PRESCALE SELECT

    ACQ                     ACQUISITION PRESCALE SELECT

    N                          RESOLUTION (BITS)

    CHN                     NUMBER OF CHANNELS OF SELECTED GROUP

    -------------------------------------------------------------------------------------------------------------------------

    Now answering to your question

    1. I need information about maximal useful ADC conversion time. I have to do 700ns sampling rate of 1 ms duration signal and then transmit stored  data via UART. Is it possible using 160Mhz MCU?

    YES, it is possible to transmit the stored data via UART( LIN/SCI module). You can find a similar application code in "Safety Demo software" which is part of the TMS570 Microcontroller Development kit or USB kit

    In your case
    Max HCLK = 160MHz
    Max VCLK = HCLK/2 = 80MHz ( Max VCLK supported is 100MHz)
    Max ADCLK = VCLK

    min PS = 1
    min ACQ = 2

    Hence Achievable Sampling time

    TSAMPLE = VCLK * 1 * 2 = 2 * 1/80MHz = 25ns

    Use the above formulas and acheive the desire conversion time.

    2. Can TMS570 USB Dev. Stick work standalone after flashing via USB using CCS4.1?

    YES


    Best Regards
    Prathap