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: Potentiometer and microcontroller wiring

Part Number: TMS320F28379D


I 've got a 5 pin potentiometer (GND, +5V, VRx, VRy, SW) and I'm trying to connect it to the microcontroller. Can anyone help me do the wiring? 

Many thanks, 

Michail 

  • Hi Michail,

    You'll want to connect the pot output to an ADC input pin. If it has multiple outputs you can use multiple ADC input pins.

    I'd recommend that you use a DMM to measure the potentiometer outputs (before connecting) so you can see how the outputs change with changing rotation.

    I'd use a capacitor at the pot output of at least 4096*2*16.5pF = 130nF to buffer the signal for the ADC.

    Keep in mind that the ADC max input is VREFHI, so if the pot outputs something like 3.2V and VREFHI is 3.0V, then the ADC output will truncate to the maximum possible digital output (4095).

    Keep in mind that the ADC maximum safe input voltage is VDDA + 0.3V, so if VDDA is 3.3V and the potentiometer outputs say 4.0V, then the device could be permanently damaged.