×

CN0418用户指南

消耗积分:3 | 格式:pdf | 大小:2.4MB | 2021-03-23

分享资料个

This version (07 Jan 2021 09:06) was approved by Ioana Chelaru.The Previously approved version (03 Jan 2021 21:55) is available.Diff

EVAL-CN0418-ARDZ Shield Overview

The circuit shown in Figure 1 provides a complete, fully isolated and highly flexible, 4-channel analog output system suitable for programmable logic controllers (PLCs) and distributed control system (DCS) applications that require ±5 V, ±10 V voltage and 4 mA to 20 mA current output with HART-compatibility. All outputs are protected from transients and are suitable for the most harsh industrial environments.

The HART compatibility of this module provides a complete field communications solution that is simple to use, low cost, and extremely reliable.

The circuit is powered from a standard 24 V bus supply, with on-board filtering and protection circuitry. Because many factories and industrial environments power their PLC/DCS from a 24 V standard bus line, this module is easy to integrate into any existing system. This module can also be powered from other standard supplies, starting from 12 VDC to 28 VDC

This user guide will discuss how to use the EVAL-EVAL-ADICUP3029 and evaluation software to configure and collect data from the EVAL-CN0418-ARDZ Evaluation Board (CN-0418 Board).

EVAL-CN0418-ARDZ attached to EVAL-ADICUP3029

Simplified functional block diagram


General Setup

Equipment

  • PC with a USB port and Windows 7 (32-bit) or higher
  • Serial Terminal Software (Putty/TeraTerm or similar)
  • DC Power Supply (+12 V to +24 V / 1 A) or equivalent bench supply (optional)
  • Precision voltage and current source (for output measurement)
  • USB type A to micro USB type A cable
  • CN0418 Evaluation Software

  • The EVAL-CN0418-ARDZ (CN-0418 Board) connects to the EVAL-ADICUP3029 (ADICUP3029 Board)
  • The EVAL-ADICUP3029 (ADICUP3029 Board) connects to the PC via the USB cable.
  • Terminal block P1 is the power supply input (input:+24V DC)
  • Terminal blocks P6 provide the quad channel voltage output (-10V to +10V), and Current output (0mA to 24mA) and standard 4 mA to 20 mA HART compatible current inputs.

Power Supply Considerations and Configuration (P1)

Terminal block P17 is the power supply input (input range:+12V to +36V DC). The EARTH terminal can be connected to an external earth connection, to the GND terminal or left floating if an external earth connection is not used. The Green power LED should lit up when connected to a power supply.

Default Shunt Jumper (P9 and P10) and DIP Switches (S3 and S4) Configuration

The default jumper position for P9 and P10 are shorted at position 1 and 2 while the two DIP switches S3 and S4 should be in ON state switch position.

P9 jumper connections for HART enable (EN) control P10 jumper connections for Chip select (SYNC) control

Single board

If only a single board is used, then connect jumpers P9 and P10 as shown in the table below.

Position Description Mode Position Description Mode
pin 1 & pin 2 skip decoder single pin 1 & pin 2 skip decoder single

Multi board

If more than one board is stacked (up to 4), then each board must be set to a different DAC and HART select address. Connect jumpers P9 and P10 as shown in the table below, and ensure that the software is configured accordingly. On a given board, set the DAC and HART address to the same position. If necessary, the software can be changed to address differently the DAC and HART on a given board.

Position Description Mode Position Description Mode
pin 4 & pin 6 AIN2:AIN3 = 00 multiple pin 4 & pin 6 AIN0:AIN1 = 00 multiple
pin 3 & pin 5 AIN2:AIN3 = 01 multiple pin 3 & pin 5 AIN0:AIN1 = 01 multiple
pin 7 & pin 5 AIN2:AIN3 = 10 multiple pin 7 & pin 5 AIN0:AIN1 = 10 multiple
pin 8 & pin 6 AIN2:AIN3 = 11 multiple pin 8 & pin 6 AIN0:AIN1 = 11 multiple

Default EEPROM Address configuration of Solder Jumper position JP2, JP3 and JP4

EEPROM default address configuration of the board is “000” you can configure the EEPROM I2C address from 000 to 111.

Default EEPROM WP ( Write Protect) mode configuration of Solder Jumper JP1

EEPROM WP pin can be configured as single or multi board operation. The default connection of WP pin is shorted to GND.

JP1 soldering position
Position Description
pin 2 & pin 3 enable write protection (WP) (single board operation by default)
pin 2 & pin 1 control write protection (WP) (multi board operation)

16 bit Voltage and Current Analog Output Connection (P6)

Peripheral Connectors

All connector pinouts for the EVAL-CN0418-ARDZ are described in the table below.

Connector Pin No. Pin Name ADuCM3029 Pin Function CN0418 Pin Function
Arduino DIO High 1 SCL I2C0_SCL/GPIO04 SCL (EEPROM)
2 SDA I2C0_SDA/GPIO05 SDA (EEPROM)
3 AREF VREF+ NC
4 AGND AGND (Analog ground) DGND
5 SCLK SPI0_CLK/SPT0_BCLK/GPIO00 DAC_SCLK (AD5755-1)
6 MISO SPI0_MISO/SPT0_BD0/GPIO02 DAC_MISO_BUFF (AD5755-1)
7 MOSI SPI0_MOSI/SPT0_BFS/GPIO01 DAC_MOSI (AD5755-1)
8 CS SPI0_CS1/SYS_CLKIN/SPI1_CS3/GPIO26 DAC_SYNC(AD5755-1)
9 RDY SPI0_RDY/GPIO30 HART_MULT_A0(AD5700-1)
10 IO28 GPIO28 HART_MUL_A1(AD5700-1)
Arduino DIO Low 1 IO08 BPR0_TONE_N/GPIO08 DAC_FAULT(AD5755-1)
2 IO27 TMR1_OUT/GPIO27 AD5700_RTS (AD5700-1)
3 IO33 XINT0_WAKE3/TMR2_OUT/GPIO33 AD5700_CD_BUFF(AD5700-1)
4 IO09 BPR0_TONE_P/SPI2_CS1/GPIO09 SW_TXD (AD5700-1)
5 IO13 XINT0_WAKE2/GPIO13 HW RXD (AD5700-1)
6 IO15 XINT0_WAKE0/GPIO15 NC
7 TX UART0_TX/GPIO10 NC
8 RX UART0_RX/GPIO11 NC
Arduino Analog 1 AIN0 ADC0_VIN0/GPIO35 HART_COM_A0
2 AIN1 ADC0_VIN1/GPIO36 HART_COM_A1
3 AIN2 ADC0_VIN2/GPIO37 DAC_COM_A0
4 AIN3 ADC0_VIN3/GPIO38 DAC_COM_A1
5 AIN4 ADC0_VIN4/SPI2_CS3/GPIO39 NC
6 AIN5 ADC0_VIN5/SPI0_CS2/GPIO40 NC
Arduino Power 1 NC - not connected - NC
2 IOREF +3.3V IO_VREF (+3V3)
3 RESET SYS_HWRST_N NC
4 3.3V +3.3V NC
5 5V +5V 5V
6 GND DGND (Digital Ground) GND
7 GND DGND (Digital Ground) GND
8 Vin DC Barrel Jack Power +7V to +12V +7.5V


Advanced Setup

Up to four EVAL-CN0418-ARDZ boards can be controlled by a single Arduino or EVAL-ADICUP3029 base board by using a simple control scheme. This control scheme will control the SYNC, CD and RX signals to avoid a data conflict.


Schematic, PCB Layout, Bill of Materials

EVAL-CN0418-ARDZ Design & Integration Files

  • Schematics
  • PCB Layout
  • Bill of Materials
  • Allegro Project

Software

End of Document

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !

'+ '

'+ '

'+ ''+ '
'+ ''+ ''+ '
'+ ''+ '' ); $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code ==5){ $(pop_this).attr('href',"/login/index.html"); return false } if(data.code == 2){ //跳转到VIP升级页面 window.location.href="//m.lene-v.com/vip/index?aid=" + webid return false } //是会员 if (data.code > 0) { $('body').append(htmlSetNormalDownload); var getWidth=$("#poplayer").width(); $("#poplayer").css("margin-left","-"+getWidth/2+"px"); $('#tips').html(data.msg) $('.download_confirm').click(function(){ $('#dialog').remove(); }) } else { var down_url = $('#vipdownload').attr('data-url'); isBindAnalysisForm(pop_this, down_url, 1) } }); }); //是否开通VIP $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code == 2 || data.code ==5){ //跳转到VIP升级页面 $('#vipdownload>span').text("开通VIP 免费下载") return false }else{ // 待续费 if(data.code == 3) { vipExpiredInfo.ifVipExpired = true vipExpiredInfo.vipExpiredDate = data.data.endoftime } $('#vipdownload .icon-vip-tips').remove() $('#vipdownload>span').text("VIP免积分下载") } }); }).on("click",".download_cancel",function(){ $('#dialog').remove(); }) var setWeixinShare={};//定义默认的微信分享信息,页面如果要自定义分享,直接更改此变量即可 if(window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == 'micromessenger'){ var d={ title:'CN0418用户指南',//标题 desc:$('[name=description]').attr("content"), //描述 imgUrl:'https://'+location.host+'/static/images/ele-logo.png',// 分享图标,默认是logo link:'',//链接 type:'',// 分享类型,music、video或link,不填默认为link dataUrl:'',//如果type是music或video,则要提供数据链接,默认为空 success:'', // 用户确认分享后执行的回调函数 cancel:''// 用户取消分享后执行的回调函数 } setWeixinShare=$.extend(d,setWeixinShare); $.ajax({ url:"//www.lene-v.com/app/wechat/index.php?s=Home/ShareConfig/index", data:"share_url="+encodeURIComponent(location.href)+"&format=jsonp&domain=m", type:'get', dataType:'jsonp', success:function(res){ if(res.status!="successed"){ return false; } $.getScript('https://res.wx.qq.com/open/js/jweixin-1.0.0.js',function(result,status){ if(status!="success"){ return false; } var getWxCfg=res.data; wx.config({ //debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId:getWxCfg.appId, // 必填,公众号的唯一标识 timestamp:getWxCfg.timestamp, // 必填,生成签名的时间戳 nonceStr:getWxCfg.nonceStr, // 必填,生成签名的随机串 signature:getWxCfg.signature,// 必填,签名,见附录1 jsApiList:['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo','onMenuShareQZone'] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 }); wx.ready(function(){ //获取“分享到朋友圈”按钮点击状态及自定义分享内容接口 wx.onMenuShareTimeline({ title: setWeixinShare.title, // 分享标题 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享给朋友”按钮点击状态及自定义分享内容接口 wx.onMenuShareAppMessage({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 type: setWeixinShare.type, // 分享类型,music、video或link,不填默认为link dataUrl: setWeixinShare.dataUrl, // 如果type是music或video,则要提供数据链接,默认为空 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ”按钮点击状态及自定义分享内容接口 wx.onMenuShareQQ({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口 wx.onMenuShareWeibo({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ空间”按钮点击状态及自定义分享内容接口 wx.onMenuShareQZone({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); }); }); } }); } function openX_ad(posterid, htmlid, width, height) { if ($(htmlid).length > 0) { var randomnumber = Math.random(); var now_url = encodeURIComponent(window.location.href); var ga = document.createElement('iframe'); ga.src = 'https://www1.elecfans.com/www/delivery/myafr.php?target=_blank&cb=' + randomnumber + '&zoneid=' + posterid+'&prefer='+now_url; ga.width = width; ga.height = height; ga.frameBorder = 0; ga.scrolling = 'no'; var s = $(htmlid).append(ga); } } openX_ad(828, '#berry-300', 300, 250);