This is an old revision of the document!
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 EVAL-CN0418-ARDZ is an Arduino compatible shield includes a AD5755-1 (quad channel voltage and current output DAC with dynamic power control) and the AD5700-1 HART modem, to give a completely isolated multiplexed HART analog output solution.
The ADuCM3029_demo_cn0418 application uses different software modules to deliver a CLI interface that can be used to set any channel range or output and transmit and receive HART messages on any of those channels. It uses SPI to communicate with the AD5755-1, to read and write its registers. The channle code and range registers can be set as well as the RSET register. It can function both in voltage and current mode.
The current mode is used with the AD5700-1 HART modem to transmit and receive HART messages. The application can send command zero and then receive and interpret the result. The receiving is done asynchronous through the use of GPIO group interrupts featured by the ADuCM3029. The maximum baudrate of the HART communication is 1200 and is implemented by a software UART. It transmits and receives data bytes of 8 bits with one stop bit and one parity bit, using odd parity.
The CLI is implemented using the hardware UART module in the ADuCM3029 and can work up 115200 baudrate.
The following is a list of items needed in order to replicate this demo.
! - Add text, picture, images, code blocks that describe how to configure the software. Things like changing the accelerometer range from 2g to 4g should be a trivial change for the customer. We don't have to show them everything, but think of the application, and what parameters are most likely need to be customized by the user. (like providing a an ID or password for a local gateway using WI-FI)
! - Add text, picture, images, that describe how to output data from the setup/application. Is this a UART output, then show the customer a putty serial terminal with the correct baud rate and commands that need to be entered to get data. Are there any calibrations that need to happen? Show/explain how customers can run the calibration steps. If this is a wireless demo, how do you get the information after it is sent to the cloud? We can use our apps and tools, but the customer should be able to recreate this demo using the same tools/plugins/components you used to view the data.
! - make sure this is correct for your application Once the hardware and software is configured, user needs to follow on screen instructions to run Visible Light Detection\Measurement demo.
Following is the UART configuration.
Select COM Port Baud rate: 9600 Data: 8 bit Parity: none Stop: 1 bit Flow Control: none
! - Make sure you point out which app is correct and then talk about the data that gets output. (Pictures are great) and link over to the app page so customers can figure out how to download/install it. If it's not Bluetooth compatible remove this section
! - Make sure you talk about how to display the data, and link over to the Wi-Fi wiki page for more details. It the example isn't Wi-Fi enabled delete this section.
We recommend not opening the project directly, but rather import it into CrossCore Embedded Studios and make a local copy in your workspace.
The source code and include files of the !file_name_of_demo can be found here:
! - This will be either a link to a Git repository or a pack file somewhere, but make sure this is accessible to the customer. We want them to take our code and use it because that means they are going to use our hardware, and we get paid when that happens.
The official tool we promote for use with the EVAL-ADICUP3029 is CrossCore Embedded Studio. For more information on downloading the tools and a quick start guide on how to use the tool basics, please check out the Tools Overview page.
For more detailed instructions on importing this application/demo example into the CrossCore Embedded Studios tools, please view our How to import existing projects into your workspace section.
For more detailed instructions on importing this application/demo example into the CrossCore Embedded Studios tools, please view our How to configure the debug session section.
! - Add text, picture, images, that describe the project structure. Any software flow diagrams or decision trees can be added her to help customers understand how the applications are structures.
End of Document