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_cn0415 [26 Feb 2019 23:11] – [Available commands] Add complete examples. Mark Thoren | resources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0415 [19 Aug 2021 07:12] (current) – title word spell edit erbe reyta | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
The **ADuCM3029_demo_cn0415** provides a solution for controlling and monitoring solenoid actuator current, using an **EVAL-CN0415-ARDZ** shield installed on an **EVAL-ADICUP3029** base board. The user interface is implemented as a command line interface (CLI) through a serial UART connection. The project is created using **CrossCore Embedded Studio** and **GNU ARM compiler**. | The **ADuCM3029_demo_cn0415** provides a solution for controlling and monitoring solenoid actuator current, using an **EVAL-CN0415-ARDZ** shield installed on an **EVAL-ADICUP3029** base board. The user interface is implemented as a command line interface (CLI) through a serial UART connection. The project is created using **CrossCore Embedded Studio** and **GNU ARM compiler**. | ||
Line 66: | Line 66: | ||
===== Setting up the Hardware ===== | ===== Setting up the Hardware ===== | ||
- | - Connect **EVAL-CN0415-ARDZ** board to the **EVAL-ADICUP3029**. {{ : | + | - Connect **EVAL-CN0415-ARDZ** board to the **EVAL-ADICUP3029**. {{ : |
- 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 a solenoid actuator to the **P8** connector with the positive wire on pin 1 and negative wire on pin 2. | - Connect a solenoid actuator to the **P8** connector with the positive wire on pin 1 and negative wire on pin 2. | ||
- | - Connect a 12V power supply to the **P1** connector with the positive wire on pin 1 and negative wire on pin 2.{{ : | + | - Connect a 12V power supply to the **P1** connector with the positive wire on pin 1 and negative wire on pin 2.{{ : |
- Turn on power supply. | - Turn on power supply. | ||
===== Configuring the Software ===== | ===== Configuring the Software ===== | ||
Line 88: | Line 88: | ||
===== Outputting Data ===== | ===== Outputting Data ===== | ||
- | ==== Serial Terminal Output ==== | + | {{page>/ |
- | + | ||
- | The program outputs data and **CLI** interface to a serial terminal through **UART**. | + | |
- | + | ||
- | - 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 135: | Line 120: | ||
{{ : | {{ : | ||
- | ===== 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_cn0415** 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 |
- | [[https:// | + | The software for the **ADuCM3029_demo_cn0415** can be found here: |
+ | |||
+ | <WRAP round 80% download> | ||
+ | Prebuilt CN0415 Hex File | ||
+ | * [[https:// | ||
+ | Complete CN0415 Source Files | ||
+ | * [[https:// | ||
</ | </ |