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_plc_modbus [10 Apr 2020 00:20] – Add ADALM-UARTJTAG - CN0416 connection notes Mark Thorenresources:eval:user-guides:eval-adicup3029:reference_designs:demo_plc_modbus [08 Mar 2021 06:12] (current) – [Obtaining the Source Code] adding in .Hex files Zuedmar Arceo
Line 24: Line 24:
     * EVAL-CN0414-ARDZ and/or EVAL-CN0418-ARDZ, up to 4 boards total, in any configuration     * EVAL-CN0414-ARDZ and/or EVAL-CN0418-ARDZ, up to 4 boards total, in any configuration
     * EVAL-CN0416-ARDZ (not needed for direct USB connection to a single node)     * EVAL-CN0416-ARDZ (not needed for direct USB connection to a single node)
-    * Additional EVAL-CN0416-ARDZ, ADALM-UARTJTAG, and 2x5, 100mil cable such as [[https://www.digikey.com/product-detail/en/te-connectivity-amp-connectors/A3AAH-1006G/A3AAH-1006G-ND/825887|AMP A3AAH-1006G]] **or:**+    * Additional EVAL-CN0416-ARDZ, ADALM-UARTJTAG, and 2x5, 100mil cable such as [[digikey>A3AAH-1006G|AMP A3AAH-1006G]] **or:**
       * other RS485 host adapter       * other RS485 host adapter
     * Mirco USB to USB cable     * Mirco USB to USB cable
Line 43: Line 43:
   * If the PLC/DCS Node contain at least a CN0418 board, then the power will be provided through any CN0418 board (the jumper for P17 **MUST** to be placed for each board).   * If the PLC/DCS Node contain at least a CN0418 board, then the power will be provided through any CN0418 board (the jumper for P17 **MUST** to be placed for each board).
   * If the PLC/DCS Node contain only CN0414 boards, then the power can be provided through any CN0414 board.   * If the PLC/DCS Node contain only CN0414 boards, then the power can be provided through any CN0414 board.
-Refer to the [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/cn0414|CN0414]] and [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/cn0418|CN0418]] user guides for detailed information on power requirements.+Refer to the [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0414|CN0414]] and [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0418|CN0418]] user guides for detailed information on power requirements.
 </WRAP> </WRAP>
  
Line 71: Line 71:
 The CP2103 device must be programmed as follows to control the DE signal on the CN0416. Configure Silicon Labs Xpress Configurator as follows to program the device: The CP2103 device must be programmed as follows to control the DE signal on the CN0416. Configure Silicon Labs Xpress Configurator as follows to program the device:
 |  IO2 configuration  |  Mode: Push-Pull, Alternate Function: RS-485, Active High  |||| |  IO2 configuration  |  Mode: Push-Pull, Alternate Function: RS-485, Active High  ||||
-Once the CP2103 is programmed, unplug from the host computer and connect P1 on the ADALM-UARTJTAG to P11 on the CN0416 with a 2x5-socket, 100mil cable such as [[https://www.digikey.com/product-detail/en/te-connectivity-amp-connectors/A3AAH-1006G/A3AAH-1006G-ND/825887|AMP A3AAH-1006G]]. Be sure to connect with proper polarity - pin 1 on the ADALM-UARTJTAG must correspond to pin 1 on the CN0416.+Once the CP2103 is programmed, unplug from the host computer and connect P1 on the ADALM-UARTJTAG to P11 on the CN0416 with a 2x5-socket, 100mil cable such as [[digikey>A3AAH-1006G|AMP A3AAH-1006G]]. Be sure to connect with proper polarity - pin 1 on the ADALM-UARTJTAG must correspond to pin 1 on the CN0416.
 ^ CN0416 Setup  ^^^^^ ^ CN0416 Setup  ^^^^^
 ^    ^  Isolated Full Duplex  ^  Isolated Half Duplex  ^  Non-Isolated Full Duplex  ^  Non-isolated Half Duplex  ^ ^    ^  Isolated Full Duplex  ^  Isolated Half Duplex  ^  Non-Isolated Full Duplex  ^  Non-isolated Half Duplex  ^
Line 90: Line 90:
  
 ^    ^  Isolated Full Duplex  ^  Isolated Half Duplex  ^  Non-Isolated Full Duplex  ^  Non-isolated Half Duplex  ^ ^    ^  Isolated Full Duplex  ^  Isolated Half Duplex  ^  Non-Isolated Full Duplex  ^  Non-isolated Half Duplex  ^
-|  S1 position  | [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/cn0416#summary_of_switch_configurations|Any position but different from node to node]]  ||||+|  S1 position  | [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0416#summary_of_switch_configurations|Any position but different from node to node]]  ||||
 |  S2 position  |  2  |  1  |  3  |  4  | |  S2 position  |  2  |  1  |  3  |  4  |
 |  S4 position  |  NA  |  NA  |  2  |  1  | |  S4 position  |  NA  |  NA  |  2  |  1  |
Line 97: Line 97:
 |  S7 position  |  2  |  2  |  NA  |  NA  | |  S7 position  |  2  |  2  |  NA  |  NA  |
 ^ CN0414 Setup (if available)  ^^^^^ ^ CN0414 Setup (if available)  ^^^^^
-|  P1 position  | \\ [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/cn0414#multiple_boards_stacked|Any position from MULTI configuration]]  ||||+|  P1 position  | \\ [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0414#multiple_boards_stacked|Any position from MULTI configuration]]  ||||
 |  P2 position  |  :::  |||| |  P2 position  |  :::  ||||
-|  P10 position  | \\ \\ [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/cn0414#eeprom_address_configurations|Any position to result a different EEPROM address from board to board]]  ||||+|  P10 position  | \\ \\ [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0414#eeprom_address_configurations|Any position to result a different EEPROM address from board to board]]  ||||
 |  P11 position  |  :::  |||| |  P11 position  |  :::  ||||
 |  P12 position  |  :::  |||| |  P12 position  |  :::  ||||
-|  JP1 position  | [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/cn0414#eeprom_configuration_for_single_or_multiple_boards_configuration_jp1|MULTI configuration position]]  ||||+|  JP1 position  | [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0414#eeprom_configuration_for_single_or_multiple_boards_configuration_jp1|MULTI configuration position]]  ||||
 ^ CN0418 Setup (if available)  ^^^^^ ^ CN0418 Setup (if available)  ^^^^^
-|  P10 position  | \\ [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/cn0418#general_setup|Any position from MULTI configuration]]  ||||+|  P10 position  | \\ [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0418#general_setup|Any position from MULTI configuration]]  ||||
 |  P9 position  |  :::  |||| |  P9 position  |  :::  ||||
-|  JP2 position  | \\ \\ [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/cn0418#general_setup|Any position to result a different EEPROM address from board to board]]  ||||+|  JP2 position  | \\ \\ [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0418#general_setup|Any position to result a different EEPROM address from board to board]]  ||||
 |  JP3 position  |  :::  |||| |  JP3 position  |  :::  ||||
 |  JP4 position  |  :::  |||| |  JP4 position  |  :::  ||||
-|  JP1 position  | [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/cn0418#general_setup|MULTI configuration position]]  ||||+|  JP1 position  | [[/resources/eval/user-guides/eval-adicup3029/hardware/cn0418#general_setup|MULTI configuration position]]  ||||
 |  P17 position  | Jumper should be placed to power the whole system  |||| |  P17 position  | Jumper should be placed to power the whole system  ||||
 ^ EVAL-ADICUP3029  ^^^^^ ^ EVAL-ADICUP3029  ^^^^^
-|  S2 position  | [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/adicup3029#uart_switch|ARDUINO position]]  |||| +|  S2 position  | [[/resources/eval/user-guides/eval-adicup3029/hardware/adicup3029#uart_switch|ARDUINO position]]  |||| 
-|  S5 position  | [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/adicup3029#power_switch|WALL/USB position]]  ||||+|  S5 position  | [[/resources/eval/user-guides/eval-adicup3029/hardware/adicup3029#power_switch|WALL/USB position]]  ||||
  
  
Line 124: Line 124:
  
 ^ EVAL-ADICUP3029  ^^ ^ EVAL-ADICUP3029  ^^
-|  S2 position  | [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/adicup3029#uart_switch|USB position]] +|  S2 position  | [[/resources/eval/user-guides/eval-adicup3029/hardware/adicup3029#uart_switch|USB position]] 
-|  S5 position  | [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/adicup3029#power_switch|WALL/USB position]]  |+|  S5 position  | [[/resources/eval/user-guides/eval-adicup3029/hardware/adicup3029#power_switch|WALL/USB position]]  |
  
 \\ \\
Line 283: Line 283:
  
 The specific commands for each of the types of boards is described in they respective wiki pages: The specific commands for each of the types of boards is described in they respective wiki pages:
-  * [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0414#available_commands|EVAL-CN0414-ARDZ specific commands]] +  * [[/resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0414#available_commands|EVAL-CN0414-ARDZ specific commands]] 
-  * [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0418#available_commands|EVAL-CN0418-ARDZ specific commands]]+  * [[/resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0418#available_commands|EVAL-CN0418-ARDZ specific commands]]
  
 ==== Modbus Interface ==== ==== Modbus Interface ====
Line 305: Line 305:
 \\ \\
  
-===== 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 CN0435. 
 +  - 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_cn0435** 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_cn0435| ADuCM3029_demo_cn0435 at Github]]+The software for the **ADuCM3029_demo_cn0435** can be found here: 
 + 
 +<WRAP round 80% download> 
 +Prebuilt CN0435 Hex File 
 +  * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/releases/download/Latest/ADuCM3029_demo_cn0435.hex| ADuCM3029_demo_cn0435.Hex]] 
 +Complete CN0435 Source Files 
 +  * [[https://github.com/analogdevicesinc/EVAL-ADICUP3029/tree/master/projects/ADuCM3029_demo_cn0435| AduCM3029_demo_cn0435 Source Code]]
    
 </WRAP> </WRAP>
Line 362: Line 370:
  
 The process and commands for each type of boards is described in the appropriate application page: The process and commands for each type of boards is described in the appropriate application page:
-  * [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0414#project_structure|EVAL-CN0414-ARDZ]] +  * [[/resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0414#project_structure|EVAL-CN0414-ARDZ]] 
-  * [[https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0418#project_structure|EVAL-CN0418-ARDZ]]+  * [[/resources/eval/user-guides/eval-adicup3029/reference_designs/demo_cn0418#project_structure|EVAL-CN0418-ARDZ]]
  
 ===== Example Applications and Utilities ===== ===== Example Applications and Utilities =====
resources/eval/user-guides/eval-adicup3029/reference_designs/demo_plc_modbus.txt · Last modified: 08 Mar 2021 06:12 by Zuedmar Arceo