Both sides previous revisionPrevious revisionNext revision | Previous revision |
resources:eval:user-guides:eval-adicup3029:reference_designs:demo_ad7124-8 [23 Sep 2020 15:52] – [Obtaining the Source Code] - remove hex file Andrei Drimbarean | resources:eval:user-guides:eval-adicup3029:reference_designs:demo_ad7124-8 [08 Mar 2021 02:27] (current) – [Obtaining the Source Code] adding in .Hex files Zuedmar Arceo |
---|
| Register read | //**arr**// | Read an ADC register of a specific address.\\ <//addr//> = Address of the register to be read in hexadecimal base. | **arr 2a** - Read register 0x2A | | | Register read | //**arr**// | Read an ADC register of a specific address.\\ <//addr//> = Address of the register to be read in hexadecimal base. | **arr 2a** - Read register 0x2A | |
| Register write | //**awr**// | Write an ADC register of a specific address with a new value.\\ <//addr//> = Address of the register to be written in hexadecimal base.\\ <//val//> = New value of the register. | **arw 9 8002** - Write 0x8002 to register 0x9. | | | Register write | //**awr**// | Write an ADC register of a specific address with a new value.\\ <//addr//> = Address of the register to be written in hexadecimal base.\\ <//val//> = New value of the register. | **arw 9 8002** - Write 0x8002 to register 0x9. | |
| Get data | //**ags**// | Get a number of samples per enabled channels. If the operation takes too long press 'q' to abort.\\ <//no//> = Number of samples (maximum 2048). If sample rate is smaller than 3200 setting the argument 0 means continuous streaming. | | | | Get data | //**ags**// | Get a number of samples per enabled channels. If the operation takes too long press 'q' to abort.\\ <//no//> = Number of samples (maximum 2048). If sample rate is smaller than 3000 setting the argument 0 or no argument means continuous streaming. | | |
| Enable channels | //**aces**// | Choose ADC channels to be activated.\\ <//mask//> = 16-bit mask of the channels to be activated. Can be hexadecimal or binary.\\ A bit of 1 means activated the channel, a bit of 0 means deactivate\\ the channel. | **aces 0xAAAA** - activate every other channel. '0x' is necessary for hexadecimal interpretation. | | | Enable channels | //**aces**// | Choose ADC channels to be activated.\\ <//mask//> = 16-bit mask of the channels to be activated. Can be hexadecimal or binary.\\ A bit of 1 means activated the channel, a bit of 0 means deactivate\\ the channel. | **aces 0xAAAA** - activate every other channel. '0x' is necessary for hexadecimal interpretation. | |
| Get enabled channels | //**aceg**// | Get enable status of ADC channels. Returns a hexadecimal 16-bit mask where bits of 1 represent enabled channels, and bits of 0 represent disabled channels. | | | | Get enabled channels | //**aceg**// | Get enable status of ADC channels. Returns a hexadecimal 16-bit mask where bits of 1 represent enabled channels, and bits of 0 represent disabled channels. | | |
{{ :resources:eval:user-guides:eval-adicup3029:reference_designs:ad71248pmdz_terminal_sample.png |}} | {{ :resources:eval:user-guides:eval-adicup3029:reference_designs:ad71248pmdz_terminal_sample.png |}} |
| |
===== 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 AD7124-8 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_ad7124_8PMDZ** 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_ad7124_8PMDZ| ADuCM3029_demo_ad7124_8PMDZ at Github]] | The software for the **ADuCM3029_demo_ad7124_8PMDZ** can be found here: |
| |
| <WRAP round 80% download> |
| Prebuilt AD7124-8 PMOD Hex File |
| * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/releases/download/Latest/ADuCM3029_demo_ad7124_8PMDZ.hex| ADuCM3029_demo_ad7124_8PMDZ.Hex]] |
| Complete AD7124-8 PMOD Source Files |
| * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/tree/master/projects/ADuCM3029_demo_ad7124_8PMDZ| ADuCM3029_demo_ad7124_8PMDZ Source Code]] |
| |
</WRAP> | </WRAP> |