Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0418 [13 Feb 2019 11:35] – Centralize images Andrei Drimbareanresources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0418 [05 Mar 2021 04:57] (current) – [Obtaining the Source Code] adding in .Hex files Zuedmar Arceo
Line 1: Line 1:
 ====== PLC Arduino Shield Output Demo ====== ====== PLC Arduino Shield Output Demo ======
  
-The **ADuCM3029_demo_cn0418** project provides a solution to control a **PLC** or **DCS** input system using the **EVAL-CN0418-ARDZ** and the **EVAL-ADICUP3029**. It uses a DAC with 4 channels that can be configured as either voltage or current output and is compatible with **HART** modem output to enable **HART** communication on any channel. It has a 32kb EEPROM memory that can also be used to identify the board and is controlled via a command line interface (CLI). +The **ADuCM3029_demo_cn0418** project provides a solution to control a **PLC** or **DCS** output system using the **EVAL-CN0418-ARDZ** and the **EVAL-ADICUP3029**. It uses a DAC with 4 channels that can be configured as either voltage or current output and is compatible with **HART** modem output to enable **HART** communication on any channel. It has a 32kb EEPROM memory that can also be used to identify the board and is controlled via a command line interface (CLI). 
  
 ===== General Description/Overview ===== ===== General Description/Overview =====
Line 35: Line 35:
  
   - Connect **EVAL-CN0418-ARDZ** to the **EVAL-ADICUP3029**.   - Connect **EVAL-CN0418-ARDZ** to the **EVAL-ADICUP3029**.
-  - Set the jumpers into the position shown below. This is the standard position and only works for one board systems. FIXME picture+  - Set the jumpers into the position shown below. This is the standard position and only works for one board systems. {{ :resources:eval:user-guides:eval-adicup3029:reference_designs:cn0418_jumper_position.jpg |}}
   - Connect a micro-USB cable to **P10** connector of the **EVAL-ADICUP3029** and connect it to a computer.   - Connect a micro-USB cable to **P10** connector of the **EVAL-ADICUP3029** and connect it to a computer.
-  - Connect the 24V power source to the **P1** connector with the ground wire to pin 2 and 24V wire to pin 3. The final setup should look similar to the picture below. FIXME picture.+  - Connect the 24V power source to the **P1** connector with the ground wire to pin 2 and 24V wire to pin 3. The final setup should look similar to the picture below. {{ :resources:eval:user-guides:eval-adicup3029:reference_designs:cn0418_final_hw_setup.jpg |}}
  
 ===== Configuring the Software ===== ===== Configuring the Software =====
Line 47: Line 47:
 ==== Serial Terminal Output ==== ==== Serial Terminal Output ====
  
-The program outputs data and CLI interface to a serial terminal through UART. +{{page>/wiki/common#serial_terminal_setup&nofooter&noheader}}
- +
-  - In order to view the data, you must flash the program to the **EVAL-ADICUP3029**. +
-  - Then follow the UART settings below with the serial terminal program. +
- +
-Following is the UART configuration. +
-    Select COM Port +
-    Baud rate: 115200 +
-    Data: 8 bit +
-    Parity: none +
-    Stop: 1 bit +
-    Flow Control: none +
-\\ +
-The terminal program must interpret new line as LF and local echo must be enabled. +
  
 ==== Available Commands ==== ==== Available Commands ====
Line 75: Line 62:
 | //dsc//                | Set current output on a channel. Only works if the channel is set to a current range. \\ <chan> = channel to update. \\ Available channel options are: cha, chb, chc, chd. \\ <current> = current level expressed in amperes. Use decimal point for fractional values. | | //dsc//                | Set current output on a channel. Only works if the channel is set to a current range. \\ <chan> = channel to update. \\ Available channel options are: cha, chb, chc, chd. \\ <current> = current level expressed in amperes. Use decimal point for fractional values. |
 | //dsx//                | Set output on a channel. Works independent of channel range. \\ <chan> = channel to update. \\ Available channel options are: cha, chb, chc, chd. \\ <code> = 16-bit output code for the channel. | | //dsx//                | Set output on a channel. Works independent of channel range. \\ <chan> = channel to update. \\ Available channel options are: cha, chb, chc, chd. \\ <code> = 16-bit output code for the channel. |
-| //dsx//                | Set the RSET of a channel. \\ <chan> = channel to update. \\ Available channel options are: cha, chb, chc, chd. \\ <opt> = RSET option. \\ Available options are: int and ext. |+| //dse//                | Set the RSET of a channel. \\ <chan> = channel to update. \\ Available channel options are: cha, chb, chc, chd. \\ <opt> = RSET option. \\ Available options are: int and ext. |
 ^ HART commands ^ ^ HART commands ^
 | //he//                 | Enable HART channel. |  | //he//                 | Enable HART channel. | 
Line 89: Line 76:
 {{ :resources:eval:user-guides:eval-adicup3029:reference_designs:cn0418_terminal_pic.png | CN0418 application terminal example }} {{ :resources:eval:user-guides:eval-adicup3029:reference_designs:cn0418_terminal_pic.png | CN0418 application terminal example }}
  
-===== 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 CN0418. 
 +  - 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_cn0418** 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.  
  
-FIXME - LINK+The software for the **ADuCM3029_demo_cn0418** can be found here:
  
-[[https://github.com/analogdevicesinc/EVAL-ADICUP360/tree/master/projects/ADuCM360_demo_cn0398| ADuCM3029_demo_cn0418 at Github]]+<WRAP round 80% download> 
 +Prebuilt CN0418 Hex File 
 +  * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/releases/download/Latest/ADuCM3029_demo_cn0418.hex| AduCM3029_demo_cn0418.Hex]] 
 +Complete CN0418 Source Files 
 +  * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/tree/master/projects/ADuCM3029_demo_cn0418| AduCM3029_demo_cn0418 Source Code]]
    
 </WRAP> </WRAP>
resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0418.1550054154.txt.gz · Last modified: 13 Feb 2019 11:35 by Andrei Drimbarean