新唐科技(原華邦電子邏輯事業(yè)群),自2010年成功推出ARM® Cortex™-M0為內(nèi)核的32位單片機(jī) - NuMicro™ 家族后,持續(xù)專注于新一代微控制器系列產(chǎn)品的開發(fā)。同時(shí),32位單片機(jī)的發(fā)展前景備受各方矚目,在工業(yè)控制、消費(fèi)電子、汽車電子、高速計(jì)算與通訊控制等應(yīng)用領(lǐng)域的推波助瀾下,32位單片機(jī)的成本和性價(jià)比展現(xiàn)令人期待的成長(zhǎng)爆發(fā)力。2012年新唐再度大展身手,開發(fā)出多款新系列32位帶有 CAN BUS 設(shè)備的低功耗NUC130與NUC140系列單片機(jī)。
CAN與RS232轉(zhuǎn)換節(jié)點(diǎn)的設(shè)計(jì)與實(shí)現(xiàn)
介紹將CAN總線接口與RS232總線接口相互轉(zhuǎn)換的設(shè)計(jì)方法和2種總線電平轉(zhuǎn)換關(guān)系,實(shí)現(xiàn)CAN總線與各模塊的接口設(shè)計(jì),制定了相應(yīng)的軟硬件設(shè)計(jì)方案,并給出軟件設(shè)計(jì)流程圖以及部分硬件設(shè)計(jì)原理圖。為CAN總線與RS232總線互聯(lián)提供了一種方法,對(duì)CAN總線與RS232總線接口設(shè)備的互聯(lián)和廣泛應(yīng)用的實(shí)現(xiàn)具有重要意義。關(guān)鍵詞:CAN總線;RS-232總線;串行通信Design and Realization of CAN and RS232 Transformation NodeZHOU Wei, CHENG Xiao-hong(Information Institute, Wuhan University of Technology, Wuhan 430070)【Abstract】This paper introduces one design method of the CAN bus interface and the RS232 bus interface interconversion, emphasizes two kindof bus level transformation relations, realizes the CAN bus and various modules connection design, formulates the design proposal of correspondingsoftware and hardware, and gives the flow chart of software design as well as the partial schematic diagram of hardware design. It providesonemethod for the CAN bus and the RS232 bus interconnection, has the vital significance to widespread application realization of the CAN busand theRS232 bus interface equipment interconnection.【Key words】CAN bus; RS-232 bus; serial communication
CAN(Controller Area Network——控制器局域網(wǎng))是一種由 CAN 控制器組成的高性能串行數(shù)據(jù)局域通信網(wǎng)絡(luò),是國(guó)際上應(yīng)用最廣泛的現(xiàn)場(chǎng)總線之一。它最早由德國(guó) Bosch 公司于 1984 年推出,最初用于汽車內(nèi)部測(cè)量與執(zhí)行部件之間的數(shù)據(jù)通信。CAN-bus 總線模型符合 OSI 的 7 層結(jié)構(gòu);CAN-bus 規(guī)范已被 ISO 估計(jì)標(biāo)準(zhǔn)組織制定為國(guó)際標(biāo)準(zhǔn)。