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/PGA900: SIMPLE CODE FOR WRITING DAC REGISTER DATA ISSUE

Part Number: PGA900

Tool/software: Code Composer Studio

 Hello Im using the PGA900 and am trying to do a simple code to just write data to DAC_REG0. The problem is I can't find how to do it. I know I have to enable the DAC, select gain and write the data but don't know how to write this in the software using the CCS file provided by TI. I have tried looking  at the documents but haven't found an example on how to program it. I know how to do it in the evaluation module, but not the software. If anyone can tell me step by step I would apreciate it. The code is just for learning purposes to then create a more complex one.

  • Hi Eric,

    If you have not already please download the Generic Firmware from the tools and software page in the PGA900 product folder: www.ti.com/.../toolssoftware

    Included in the installation of this package is the PGA900 Software User's Guide. Section 6.4 describes the DAC functions available:

  • Thanks for your reply. I have already downloaded the Generic firmware and am able to build the code. I just need to know how to configure the dac. I need to know where to write the data to configure it but can't find how to do it and in what .c file. If it is in the main.c or in the dac.c.

    I know the values I need to write for it to work, but not where exactly.