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.
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:
In reply to Scott Cummins:
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.