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.

CCS/TMS320F28379D: Sending Biss Position data to a DAC pin F28379D/BOOST-XL POSMGR

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hello,

I'm trying to use the PM_BissC_SystemTest code in the Control Suite Package to read Biss position data. It reads fine in CCS, so I want to see if I can send this to a pin as a digital signal and convert it to an analog signal. I'm pretty sure I have to use a DAC, but I couldn't find any example codes on how to set up a pin for DAC / send the digital data to the pin that I want converted to an analog signal. Are there example codes for the F28379D that do something similar to what I'm trying to do, or would anyone reading this post be able to help me figure out how to do this?

Thanks,

Tyler A

  • Tyler,

    You can use either a native Buffered DAC on the device or you can use a PWM to implement an RC DAC.

    Buffered DAC (buffdac) examples are here:  \controlSUITE\device_support\F2837xD\v210\F2837xD_examples_Cpu1\

    You can read about implementing a PWM RC DAC in this appnote.

    -Tommy