This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0418 [13 Feb 2019 11:35] – Centralize images Andrei Drimbarean | resources: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** | + | The **ADuCM3029_demo_cn0418** project provides a solution to control a **PLC** or **DCS** |
===== General Description/ | ===== General Description/ | ||
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. | + | - Set the jumpers into the position shown below. This is the standard position and only works for one board systems. |
- 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. | + | - 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. |
===== 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>/ |
- | + | ||
- | - 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: | ||
| // | | // | ||
| // | | // | ||
- | | //dsx// | Set the RSET of a channel. \\ < | + | | //dse// | Set the RSET of a channel. \\ < |
^ HART commands ^ | ^ HART commands ^ | ||
| // | | // | ||
Line 89: | Line 76: | ||
{{ : | {{ : | ||
- | ===== Obtaining the Source Code ===== | + | ===== Obtaining the Software |
- | We recommend not opening | + | There are two basic ways to program |
+ | - Dragging | ||
+ | - 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, |
- | <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 |
- | FIXME - LINK | + | The software for the **ADuCM3029_demo_cn0418** can be found here: |
- | [[https:// | + | <WRAP round 80% download> |
+ | Prebuilt CN0418 Hex File | ||
+ | * [[https:// | ||
+ | Complete CN0418 Source Files | ||
+ | * [[https:// | ||
</ | </ |