Both sides previous revisionPrevious revisionNext revision | Previous revision |
resources:eval:user-guides:eval-adicup3029:reference_designs:demo_ad5770r_pmod [15 Jun 2020 12:37] – [Obtaining the Source Code] Andrei Drimbarean | resources:eval:user-guides:eval-adicup3029:reference_designs:demo_ad5770r_pmod [08 Mar 2021 02:21] (current) – [Obtaining the Source Code] adding in .Hex files Zuedmar Arceo |
---|
| | //uo// | Update the DAC output with the channel input registers value.\\ This is done with the nLDAC GPIO if it's available and with the SW register otherwise. | | | | | //uo// | Update the DAC output with the channel input registers value.\\ This is done with the nLDAC GPIO if it's available and with the SW register otherwise. | | |
| | //sc// | Set the value of the chosen DAC channel.\\ <//chan//> = channel to update; values are: c0, c1, c2, c3, c4, c5;\\ <//value//> = update value in decimal; between 0 and 16383. | sc c0 8192 | | | | //sc// | Set the value of the chosen DAC channel.\\ <//chan//> = channel to update; values are: c0, c1, c2, c3, c4, c5;\\ <//value//> = update value in decimal; between 0 and 16383. | sc c0 8192 | |
| | //sr// | Set the range of the DAC output channels.\\ <//chan//> = channel to update; values are: c0, c1, c2, c3, c4, c5;\\ <//opt//> = option chosen for the channel. values are: opt1 - only for channels 0 and 1, opt2, opt3.\\ Those correspond to the options in [[https://www.analog.com/media/en/technical-documentation/data-sheets/AD5770R.pdf|the datasheet]]. | sr c0 opt1 | | | | //sr// | Set the range of the DAC output channels.\\ <//chan//> = channel to update; values are: c0, c1, c2, c3, c4, c5;\\ <//opt//> = option chosen for the channel. values are: opt1 - only for channels 0 and 1, opt2, opt3.\\ Those correspond to the options in [[adi>media/en/technical-documentation/data-sheets/AD5770R.pdf|the datasheet]]. | sr c0 opt1 | |
| |
| |
===== Obtaining the Source Code ===== | ===== Obtaining the Software ===== |
| |
We recommend not opening the project directly, but rather import it into CrossCore Embedded Studios and make a local copy in your workspace. | There are two basic ways to program the ADICUP3029 with the software for the AD5770 PMOD. |
| - Dragging and Dropping the .Hex to the Daplink drive |
| - Building, Compiling, and Debugging using CCES |
| |
The source code and include files of the **ADuCM3029_demo_ad5770rpmdz** can be found here: | Using the drag and drop method, the software is going to be a version that Analog Devices creates for testing and evaluation purposes. This is the EASIEST way to get started with the reference design |
| |
<WRAP round 80% download> | Importing the project into CrossCore is going to allow you to change parameters and customize the software to fit your needs, but will be a bit more advanced and will require you to download the CrossCore toolchain. |
| |
[[https://github.com/analogdevicesinc/EVAL-ADICUP3029/tree/master/projects/ADuCM3029_demo_ad5770rpmdz | ADuCM3029_demo_ad5770rpmdz at Github]] | The software for the **ADuCM3029_demo_ad5770** can be found here: |
| |
| <WRAP round 80% download> |
| Prebuilt AD5770 PMOD Hex File |
| * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/releases/download/Latest/ADuCM3029_demo_ad5770rpmdz.hex| AduCM3029_demo_ad5770rpmdz.Hex]] |
| Complete AD5770 PMOD Source Files |
| * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/tree/master/projects/ADuCM3029_demo_ad5770rpmdz| ADuCM3029_demo_ad5770rpmdz Source Code]] |
| |
</WRAP> | </WRAP> |