三肖选一肖期期准

三肖选一肖期期准> 行业资讯> 利用高度集成的8位MCU简化CAN汽车应用

利用高度集成的8位MCU简化CAN汽车应用

来源: 2019/12/17 浏览量:51 关键词: 8位MCU 8位单片机 三肖选一肖期期准

KONGZHIQIJUYUWANG(CAN)XIEYISHIZAI20SHIJI80NIANDAIZHONGQIZHUANWEIQICHEXINGYESHEJIDEYIZHONGGUIFAN,KEZAIRIYIZENGZHANGDEHULIANYINGYONGZHONGJIANSHAOSHUJUCHUANSHUDEBUXIANFUZAXING(ZHONGLIANG、SHULIANGHECHENGBEN)。

 

CAN的优势也被其他市场(包括工厂自动化和医疗应用)接受和吸纳,这使其应用范围更加广泛,全球每年交付的CAN节点超过10亿个。同样,每年交付的8位单片机(MCU)也超过10亿个。如今,虽然这些统计数据有部分重叠,但今后仍会有大幅增长。 

传统的CAN通信以事件为基础,允许单片机和专用集成电路(ASICS)在应用中直接相互通信,无需主机。CAN经过半导体公司集成后极大降低了成本,并且能够与更多汽车系统兼容。自2000年初以来,8位MCU也引入了CAN协议。最近,2015年最先推出的8位MCU设计方案使用独立于内核的外设(CIP),全新的8位MCU系列能够解决CAN应用中的许多系统问题。

 

三肖选一肖期期准CHULECHENGBENXIAOYIGAOZHIWAI,CANDECHENGGONGHAIKEYIGUIGONGYU:

  • WENJIANXING

  • KEKAODESHUJUCHUANSHU

  • YIYUSHIXIAN

三肖选一肖期期准HAOWUYIWEN,CHULECHENGBENXIAOYIJIGAOZHIWAI,8WEIMCUHAIJUYOUSHANGSHUYOUSHI。YINCI,8WEIMCUHECANSHIYONGYUMANZUQICHEWANGLUOXUQIUDEWANMEIZUHE。

 

多年来的实践足以证明CAN能够满足各种控制系统的需求。随着汽车网络需要的各种属性不断增加,包括时间触发、容错和单线实现以及具有灵活数据传输速率的CAN(CAN FD),CAN规范也得到扩展。表1显示的是自30多年前首次推出以来CAN发生的诸多变化。
                表1.用于满足不同汽车需求的CAN版本

WEILEJIANGCHUANGANQIHEZHIXINGQILIANWANGYITIGAOXITONGSHUSHIDU,QICHEGONGCHENGSHISHIYONGJUYUHULIANWANGLUO(LIN)XIEYILAIJIANGDICHENGBEN。DANSHI,LINSHIDANXIANZHUCONGSHIWANGLUO,XUYAODUISHIYONGCANDEYINGJIANHERUANJIANJINXINGGENGGAI。SHIYONGCANDEZUIXINQICHEYINGYONGBAOKUOMENJINKONGZHI、DIANCHICHONGDIAN/DIANCHIGUANLIHEZHENDUANSHEBEI。WEILESHIXIANQUANBUDECHELIANGYAOQIU,YOUQISHIXUYAOCONGLINGYIGECANKONGZHIXITONGFANGWENSHUJUDECHELIANGYAOQIU,XUYAOSHIYONG8WEIMCU/CAN。TU1XIANSHIDESHIJIANG8WEIMCU/CANJIEDIANQINGSONGTIANJIADAOXIANYOUCANZONGXIANDESHILI。

                图1.不同的CAN实现可以共存,这增加了CAN总线的灵活性

LIANJIEDAOCANZONGXIANSHIXITONGSHEJIRENYUANXUYAOSHIXIANDEZUIDIGONGNENG,TONGGUOZENGJIAZHUANMENYONGYUMANZUQITAXITONGYAOQIUDEWAISHE,JIANHUASHEJIRENYUANDERENWU。ZHEIXIEXITONGRENWUBAOKUOGANCEYIGEHUOLIANGGEYONGYUKONGZHIMUDEDECANSHU、YIDONGDIANJIHUOJIHUODIANCIXIANQUANHUOZHETIGONGQITAGONGNENG。

 

SHIYONGCIPFANGFAKEYIJIANGDIRUANJIANDEFUZACHENGDU,BINGYIJIAODIDESHIZHONGSUDUTIGONGGENGKUAIDEXIANGYINGSHIJIAN,TONGSHIJIANGDIGONGHAO。Microchip PIC18 K83XILIEZHONGFENGFUDECIPXITONGLEIBIEBAOKUO:

  • ZHINENGMONI(BAOKUOCHUANGANQIJIEKOU)

  • BOXINGKONGZHI

  • SHIXUHECELIANG

  • LUOJIHESHUXUE

  • ANQUANHEJIANSHI

  • TONGXIN

  • DIGONGHAOHEXITONGLINGHUOXING

 

ZAIZHEIXIELEIBIEZHONG,JUTIWAISHEBAOKUO:

  • DAIYOUCUNCHUQISAOMIAODEXUNHUANRONGYUXIAOYAN(CRC),YONGYUQUEBAOFEIYISHIXINGCUNCHUQIDEWANZHENGXING

  • ZHIJIECUNCHUQIFANGWEN(DMA),YONGYUZAIMEIYOUCPUCANYUDEQINGKUANGXIAJINXINGCUNCHUQIHEWAISHEZHIJIANDESHUJUCHUANSHU

  • CHUANGKOUKANMENGOUDINGSHIQI(WWDT),YONGYUCHUFAXITONGFUWEI

  • 三肖选一肖期期准DAIJISUANGONGNENGDE12WEIMOSHUZHUANHUANQI(ADC2),KEZIDONGJINXINGMONIXINHAOFENXI,CONGERSHIXIANSHISHIXITONGXIANGYING

  • 三肖选一肖期期准HUBUBOXINGFASHENGQI(CWG),YONGYUSHINENGDIANJIKONGZHIDEGAOXIAOTONGBUKAIGUAN

 

三肖选一肖期期准CHULESHIYONGCAN 2.0BWAI,JICHENGCANKONGZHIQIHAINENGGOUWANQUANJIANRONGYIQIANBANBENDECANMOKUAI(CAN 1.2HECAN 2.0A)。GAICHANPINDEGONGNENGBAOKUOCUNCHUQIFANGWENFENQU(MAP),YONGYUZAISHUJUBAOHUHEZIJUCHENGXUYINGYONGZHONGWEISHEJIRENYUANTIGONGZHICHI。QIJIANXINXIQU(DIA),YONGYUWEIGONGCHANGBIANCHENGDEQIJIANIDHEWAISHEXIAOZHUNZHITIGONGZHUANYONGCUNCHUKONGJIAN。

 

由于CAN节点的主要目标是通信,因此8位MCU改进了串行通信,包括支持异步通信和LIN协议的UART以及更高速的独立I2C和SPI串行通信接口。图2显示了15个CIP以及它们满足具体系统需求的方式。

GUOQUBINGMEIYOUKAOLVGUOZAI8WEIMCUZHONGSHISHIZHEIXIEPIANSHANGJIEGOU,ERZHENGSHIYOUYUZHEIXIEJIEGOU,XIANZAIDE8WEIMCUDEXINGNENGYUXUDUOSHEJIRENYUANDEQIWANGWANQUANBUTONG,TIGONGDEGONGNENGYUANYUANCHAOGUOSHINIANQIANSHEJIDEMCU。

 

三肖选一肖期期准8WEIMCUDEBIANCHENGFANGSHIFEICHANGJIANDAN,YUCANHECIPJIEHESHIYONGSHISHENZHIGENGJIARONGYI。DANGZHEIXIE8WEIMCUNENGGOUTIGONGZUGOUDECHULINENGLISHI,TEBIESHIZHENDUIYUANCHENGJIEDIANDECHULINENGLI,BIANNENGGOUTIDAIGENGANGGUIQIEGENGNANBIANCHENGDE16WEIMCU。ERCIPKEYITIGONGGENGDUOCHULINENGLI,SHIXIANGENGDUO8WEIMCUXUANXIANG。

 

KELINGHUOPEIZHIDEPIANSHANGYINGJIANMOKUAINENGGOUGENGGAOXIAOGENGQUEDINGDICHULIZHONGFUQIANRU。SHISHISHANG,YOUYUCANDEQUEDINGXING,RUGUOMCUXIANRUXUNHUAN,SHIYONGCIPDECANRENGRANKEYIZAINEIHEZHIWAIJIXUYUNXING。

 

JIEZHUZUIXINDE8WEIMCU/CAN + CIPHELIN,WANGLUOSHEJIRENYUANXIANZAIKEYIWEICANHELINTONGXINTIGONGGENGDUOLINGHUOXINGHEXUANZE。SHIJISHANG,YIXIEDIANXINGDE8WEIMCU LINYINGYONGXIANZAISHIQIANZAIDECANYINGYONG。LIRU,RUGUOMOKUAIXUYAOLEJIEWANGLUOSHANGDEQITASHUJU(RUCHELIANGSUDU),CANKENENGSHIGENGHAODEXUANZE,HUOZHEZHISHAOSHILINDEBEIXUANFANGAN。ZHEIDUIYUDANGFENGBOLIYUGUAFEICHANGYOUYONG,KEYIGENJUCHELIANGDESUDUGAIBIANYUSHUASUDU,ERWUXUCANDAOLINDEWANGGUAN。LINGWAI,RUTU2SUOSHI,SHIYONGXITONGJICIPKEYISHAOYONGYILIANGGEEWAIDEASIC。

 

DUONIANLAI,QICHEZHONGYIZHISHIYONGXIANGTONGDEPWMHEHUBUBOXINGFASHENGQICIPSHENGCHENGXIANGDANGFUZADEDUOSELEDQIFENZHAOMING。YOUYUMCUMEIYOUYINGYONGCANGONGNENG,ZHEIXIEQUDONGCHENGXUHUILIANJIEDAOLINZONGXIAN。JIANGGAIGONGNENGYUZHICHICANGONGNENGDEGAOXINGJIABI8WEIMCUXIANGJIEHE,KEWEISHEJITIGONGGENGGAODELINGHUOXINGHEJIANHUADEBEIYONGFANGFA。

 

三肖选一肖期期准SUIRANSHIMIANSHANGDADUOSHU8WEIMCUDOUYANZHONGYILAINEIHELAICHULIWAISHEGONGNENG,DANCIPKESHIXIANQITAXITONGSHEJIKENENGXING,BUHUIDUICPUZAOCHENGMINGXIANFUDAN,ZHEIBAOKUO:GEZHONGCHUANGANQIDEGAOJINGDUJIEKOU、GAOGONGLVLEDQUDONGQIHE/HUOXIANGDANGFUZADEDIANJIKONGZHISHUIPING。

 

可以使用各种开发工具确定这些和其他可能性中的哪一种适合特定网络。例如,MPLAB®代码配置器(MCC)是一款免费的软件插件,可提供图形界面来配置特定于应用的外设和功能。借助该工具,系统设计工程师在完成特定任务时可以轻松配置基于硬件的外设,而不必编写和验证整个软件程序。

三肖选一肖期期准DUIYUQICHEHEGONGYEYINGYONGZHONGDEZONGXIANJIAGOU,XITONGSHEJIRENYUANKENDINGYOUDUOZHONGXUANZE。ZUOWEIYIZHONGGUANGSHOURENKEDEZONGXIAN,DANGXUYAOWEIXIANYOUWANGLUOZENGJIAJIANCEHE/HUOKONGZHIGONGNENGSHI,JUYOUFUJIAGONGNENGLAIMANZUBUTONGXITONGXUQIUDEMCUSHICANCHENGWEIYIZHONGCHUSEDEXUANZE。PINGJIEQIDULIYUNEIHEDEWAISHE,8WEIMCU/CANXILIEKEJIANGCANKUOZHANDAOWANGLUOSHANGGENGJUCHENGBENXIAOYIDEJIEDIANZHONG。

 

XINXING8WEIMCU/CAN + CIPWEIXINXINGQICHEWANGLUOYINGYONGTIGONGLELINGHUO、JINGJIGAOXIAO、JIANDANERKEKAODESHUJUCHUANSHUYIJIFANGWENKONGZHI、DIANCHICHONGDIAN/DIANCHIGUANLIHEZHENDUANSHEBEISUOXUDEGENGGAOXINGNENGHEXITONGZHICHI。