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.

TMS320F28379D: ADC pinout

Part Number: TMS320F28379D

Hi,

I've noticed that the TRM fro F28379D does refer to ADCIN13 when talking about Internal Temperature sensors, but there is no pin ADCIN13, only ADCIN14 and ADCIN15.

Can anyone describe how I can relate ADCB0 to a specific channel ADCIN0-15?

I am very confused about them. 

Also, I've noticed that the current version of TI's PinMux tool is showing incorrect pin usage. For example, if you create a new configuration for TMS240F28379D, 176 pin PTP package, pin 33 is shown as ADCINC0. However, if you look at the Datasheet for F2837D, the ADCINC0 is never mentioned. The pin 33 is shown as VREFLOA. 

  • Hi Dainius,

    The internal temperature sensor is not accessed from an external pin.  It is only connected internally to the ADC through ADC module A using channel13 (AdcaRegs.ADCSOC0CTL.bit.CHSEL = 13).  To activate the temperature sensor, you have to enable it with the TSNSCTL register then choose channel 13 for ADCA, then you can start converting internal temperature sensor signal in the ADC.

    ADCB0 means channel 0 for ADC module B.  In SW this will be AdcbRegs.ADCSOC0CTL.bit.CHSEL = 0 (CHSEL can go from 0 to 15)

    Sorry, I have to get back on you about the pinmux tool (i'll have to check with the tool owner), but you are correct, there is no pin out for ADCINC0 on any of the packages and on the 176P PTP, pin 33 is indeed VREFLOA.

    Regards,

    Joseph

  • Hi Joseph,

    Thank you for your response. I think my understanding of the ADC setup has been a bit messed up I guess. Please correct my understanding if its wrong:

    • F28379D has 4 ADC modules.
    • Each ADC module has 16 SOCs.
    • Some ADCINx pins can be assigned to different ADC modules on any of the 0-15 SOCs within that ADC module but on specific channel 0-15.
    • Some ADCINx pins can only be assigned to specific ADC modules but on any of the 0-15 SOCs within that ADC module but on specific channel 0-15.
    • Comparator Subsystem and the ADCs can be used at the same time.
    • Comparator Subsystems can be used with Single Ended mode sampling.

    Kind regards,

    Dainius

  • Hello Dainius,

    Sorry for my delayed response.  Please see my comments below regarding the points you have stated:

      • F28379D has 4 ADC modules.
        • JC: Correct.
      • Each ADC module has 16 SOCs.
        • JC: Correct and each SOC can have its own ADC channel assignment, trigger and sample and hold times.  User has the option to configure all SOCs or use only 1 or some of them.  User can also configure the priority as to which SOC triggers first.
      • Some ADCINx pins can be assigned to different ADC modules on any of the 0-15 SOCs within that ADC module but on specific channel 0-15
        • JC: Physical ADCINx pins are dedicated to specific ADC modules.  Although each ADC module can have up to 16 channels, not all of these 16 channels are available for a specific device.  For instance, ADCIND1 is only connected to ADC module D which is channel 1 for that particular module.  ADCINB2 is only available to ADC module B and this is channel 2 for ADCB.  Only channels 14 and 15 are common for all 4 ADC modules pins.  ADCIN14 and ADCIN15 can be accessed by all 4 ADCs
      • Some ADCINx pins can only be assigned to specific ADC modules but on any of the 0-15 SOCs within that ADC module but on specific channel 0-15.
        • JC:  Please see explanation above,
      • Comparator Subsystem and the ADCs can be used at the same time.
        • JC: Correct, comparator subsystem can be used simultaneously with the ADC
      • Comparator Subsystems can be used with Single Ended mode sampling.
      • JC: Correct, the comparator system can also be used in single-ended mode sampling.

    Let me know if you still have any questions regarding above.

    Best regards,

    Joseph