福彩3D走势图

应用方案

6路独立CAN总线的实现方案作者:黄志超    发布时间:2019-11-16 16:28:56    被阅览数:次

  CAN(Controller Area Network)即控制器局域网,由于具有高性能、高可靠性以及简单的网络结构,在工业系统中越来越受到人们的重视,并迅速成为了目前国际上应用最广泛的现场总线之一。英创公司推出了各种以支持通讯接口为特色的工控主板,ESMARC系列的主板都能够支持2路CAN总线,为了满足客户现场对多路CAN总线的需求,英创公司利用主板上的ISA总线,设计出扩展4路CAN总线的扩展底板ETA704,再配合ESMARC系列主板上板载的2路CAN总线,就能够实现6路CAN总线的方案,支持ISA总线的主板型号如下:


主板型号板载CAN总线ISA总线
ESM33542路支持
ESM68022路支持
ESM70002路支持


硬件组成


  ETA704SHITONGGUOSIPIANSJA1000HEYIPIANLUOJIKONGZHIQIKUOZHANCHUSILUCANZONGXIAN。SJA1000SHIYIKUANDULIDEKONGZHIQI,ZHUYAOYONGYUQICHEHEYIBANGONGYEHUANJINGZHONGDEKONGZHIQIJUYUWANGLUO(CAN)XINPIAN。TASHIPHILIPSBANDAOTIPCA82C200 CANKONGZHIQI(BasicCAN)DETIDAICHANPIN,ERQIETAZENGJIALEYIZHONGXINDEGONGZUOMOSHI(PeliCAN),ZHEIZHONGMOSHIZHICHIJUYOUHENDUOXINTEXINGDECAN 2.0BXIEYI。 TONGGUOZHUBANSHANGDEISAZONGXIANJIEKOU,JIUNENGGOUBAETA704HEZHUBANLIANJIEQILAI,WEILEFANGBIANKEHUPINGGU,ETA704SHEJIYOUZHUANYONGDEPINGGUDIBAN,KETONGGUODAIXIANYUESMARCDIBANSHANGDEJINGJIANISAZONGXIANJIEKOULIANJIE,TONGSHIETA704DEYINGJIANSHEJI,KEYIRANGKEHUFANGBIANDEJIANGETA704ZUOWEIYIGEKECHABADEMOKUAIQIANRUZAIZHENGTICHANPINZHONG,ZHEIYANGKEYIHUODEZUIJIADESHUJUCHUANSHUXINGNENG。DUIYUSHIXIANCANZONGXIANTONGXUNSUOYINCHUDEJIEKOUDIANLU,YONGHUKEYICANKAOXIANGYINGKAIFAPINGGUDIBANDEDIANLUYUANLITUHEPCBTU。XIABIAOSHIETA704HEESMARCPINGGUDIBANISAZONGXIANLIANJIEDEJIEKOUDINGYI:


ISA总线接口信号

ISAISA总线接口信号

PIN#

PIN#

RESET#,FUWEI,DIDIANPINGYOUXIAO

12

ISA_ADV#,DIZHISUOCUN,DIDIANPINGYOUXIAO

ISA_SD0,DIZHISHUJUZONGXIAN

34

ISA_SD4,DIZHISHUJUZONGXIAN

福彩3D走势图ISA_SD1,DIZHISHUJUZONGXIAN

56

ISA_SD5,DIZHISHUJUZONGXIAN

ISA_SD2,DIZHISHUJUZONGXIAN

78

ISA_SD6,DIZHISHUJUZONGXIAN

福彩3D走势图ISA_SD3,DIZHISHUJUZONGXIAN

910

福彩3D走势图ISA_SD7,DIZHISHUJUZONGXIAN

MSL#,MOKUAIXUANZE

1112

ISA_WE#,SHUJUXIE,DIDIANPINGYOUXIAO

福彩3D走势图GPIO9,ZHONGDUANIRQ4,SHANGSHENGYANYOUXIAO

1314

ISA_RD#,SHUJUDU,DIDIANPINGYOUXIAO

福彩3D走势图GPIO8,ZHONGDUANIRQ3,SHANGSHENGYANYOUXIAO

1516

ISA_CS#,ZONGXIANPIANXUAN,DIDIANPINGYOUXIAO

GPIO25,ZHONGDUANIRQ2,SHANGSHENGYANYOUXIAO

1718

+5V,DIANYUANSHURU

GPIO24,ZHONGDUANIRQ1,SHANGSHENGYANYOUXIAO

1920

GND,GONGGONGDI


  ETA704的专用评估底板将四路CAN总线接口全部引出,并且设计有带隔离的驱动电路,可直接与设备相连进行测试。下面展示了ETA704专用评估底板将CAN总线通讯接口引出和CAN总线驱动电路的原理图:


6路CAN总线实现方案.png


6路CAN总线实现方案.png

CAN接口和驱动电路


  YOUSHANGTUKEYIKANCHU,CONGETA704YINCHUDECANZONGXIANSHOUFAGUANJIAO,TONGGUOPINGGUDIBANSHANGDECIOUQIJIANADuM1201GELIHOU,HECANQUDONGXINPIANTJA1050LIANJIE,JIUZUCHENGLEYIGEDIANXINGDECANZONGXIANTONGXUNDIANLU,TONGSHIHAINENGGOUTONGGUOTIAOXIANXUANZESHIFOUJIERUPIPEIDIANZU。KEHUKEYIZHIJIECANKAOETA704PINGGUDIBANDEFANGFAJINXINGSHEJI。DAIGELICANZONGXIANTONGXUNMOKUAIDECANSHOUFAQIDUANDESUOYOUXINHAOHEDIANYUANYUQITABUFENWANQUANGELI,KECHENGSHOUZHISHAO1Kv(YOUXIAOZHI)DEDIANYACHONGJI,YOUXIAODEBAOHULEDIANLUDEANQUAN。


软件开发


  福彩3D走势图ETA704的驱动程序已经以模块的形式放在文件系统中,只是没有加载,因此在需要使用时,可通过加载文件系统中的ko文件eta704_of_platform.ko来激活ETA704,通过modprobe命令就可以方便的加载驱动了:


6路CAN总线实现方案.png

加载驱动


福彩3D走势图  ESMARCXILIEZHUBANZIDAIYOU2LUCANZONGXIAN,ZAIXITONGZHONGWEIcan0、can1JIEDIAN,SUOYIJIAZAIWANQUDONGCHENGXUHOU,XITONGJIUHUISHIBIECHUcan2-can5,RUXIATU:


6路CAN总线实现方案.png

CAN总线节点


福彩3D走势图  ETA704DEQUDONGCHENGXUJIEKOUHEBIAOZHUNsocketcanWANQUANYIZHI,YINCIYONGHUSHIYONGKUOZHANCANZONGXIANDEFANGSHIHEBIAOZHUNCANJIEKOUBAOCHIBUBIAN,JISHIYONGBIAOZHUNDEsocketcanBIANCHENG。ZAICIJICHUSHANG,KEHUKELIYONGYINGCHUANGGONGSITIGONGDEJIBENCANTONGXUNYINGYONGCHENGXUYUANDAIMA,KUAISUPINGGUSICANKUOZHANDANYUANDEJIBENXINGNENGSHIFOUMANZUQIJUTIDEYINGYONGXUQIU。ZHISHIXUYAOZHUYICANSHEBEIMINGCHENGDEXUHAO,DUIYUKUOZHANWANGLUOETA704SUOJIECHUDESILUCANJIEKOUFENBIEDUIYINGcan2-can5。DUIYUsocketcanJIEKOUDEXIANGXISHUOMINGKEYICANKAOZHUANMENDEZILIAOHEYINGCHUANGGONGSIDEJIESHAO:。

Go Top