91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫

Based on MSP430 MCU's CAN Bus Interface Card Design

Abstract: IT company's MSP430 MCU is a low-power mixed-signal controller, has a wealth of on-chip peripherals, there is a very broad range of applications. Description based on MSP430 MCU's RS232/RS485 CAN bus communication interface design and implementation of change, focusing on the hardware configuration and software features, electrical theory and software are given.

1 Introduction

Controller Area Network (Controller Area Network, referred to as CAN) is a 20th century German Mercedes-Benz cars 80 to address a number of control equipment and instrumentation data exchange between the development of a serial communication protocol. As a widely used fieldbus various industrial site, according to different needs or master-slave mode, or multi-master manner. CAN bus using the communications media for the twisted-pair cable or other transmission rates up to lMb / s. CAN bus communication network with other differences between two: First, send a message destination address is not included, it focuses on full network broadcasting, based on the station under the message reflected in the nature of the data packet identifier filter, the accept received, should not be collected discarded. The advantage of online access the net, plug and play and multi-station receiver; 2 is particularly enhanced data security concerns, to meet the control system and other high data requirements of the system requirements. In view of its high reliability, unique design, high-speed and long distance, etc., particularly in the industrial field monitoring equipment for the interconnection.

2 Introduction

CAN bus is a bus-type network topology, as shown in Figure l. CAN bus using the unique multi-master transmission mode, each extension data according to need only take the initiative to send, no need to keep polling the host, thereby saving network traffic and improve transmission efficiency.

Based on MSP430 MCU's CAN Bus Interface Card Design

Most of the existing monitoring equipment is used in a 232 or RS 1 RS 485 serial communication, the basis for the formation of the CAN communication network, the author designed a portable CAN bus interface card, the converter card can be used as a lithium battery power supply, low power consumption, small size, light weight, portable to meet the needs.

3 system hardware architecture

Texas Instruments MSP430 MCU is an ultra-low power microcontrollers, voltage range of 1.8V ~ 3.6V. The 16-bit RISC processor through the system, 16-bit CPU, registers, and constant generators integrated to obtain the maximum code efficiency. MSP430 family of ultra-low power microcontrollers are used in industrial control, digital motor control, hand-held devices such as the ideal instrument microcontroller. MSP430F449 MCU used in this design, it has a wealth of on-chip modules: up to 8 12-bit A / D converter, 48 I / O ports, two UART watchdog, two built-in 16-bit timer, available online Simulation of Flash memory, 7 Road PWM output, LCD drivers and so on.

CAN Bus Interface Card portable electrical block diagram of the structure shown in Figure 2, which consists of power supply modules, CAN communication interface circuit, serial level converter circuit, the cache and the LCD module.

Based on MSP430 MCU's CAN Bus Interface Card Design

3.1 CAN Communication Interface Circuit

System hardware to Philips companies SJA1000 CAN bus controller core type, it is a stand-alone CAN bus controller, mainly for industrial environments. It is also Philips Semiconductors PCA82C200 type CAN controller (Basic CAN) in the alternative, through a simple bus connection to be completed SJA1000 CAN bus physical layer and data link layer of all the features. SJA1000 CAN core module from the sending buffer, interface FIFO, acceptance filters and interface management logic component. CAN CAN core module is mainly responsible for the information frame transceiver and CAN protocol implementation, the interface management logic for the main controller SJA1000 interface. During data transmission, the host controller to send the identifier and data into the buffer after the request is sent to start the CAN core module to read the data send buffer, and then packaged into a complete CAN protocol CAN message frame, by transceiver to the bus, send buffer capacity is 13 bytes. Acceptance filter unit for processing the received information is sent to receiver FIFO, the receiver FIFO is 64 bytes. PCA82C250 based CAN bus transceiver is between CAN controller and the physical bus interface, which provides the differential CAN bus controller to send and receive capability. The transceiver relying on pin 8 (RS) can choose the different connections the work of 3 different ways: high-speed, slope control and standby mode. RS pin to ground through the resistor can be connected to the slope of the bus control, the slope is proportional to the current output pin RS. Demands for higher transmission rate applications, typically pin 8 directly to ground to select the high-speed mode. In this mode, the transmitter output transistors simply to open and close as fast as possible, do not take any measures to limit the up and down the slope, it must use shielded cable to avoid RF interference. CAN controller to send and receive ports of the circuit through an optical isolation and PCA82C250 connection, effectively suppress interference into the bus.

3.2 serial level converter module

In this design, MSP430F449 only one USART interfaces, while the CAN converter card with integrated RS232, RS485 2 communication modules, DIP switch selection by the design of interface types. RS232 and RS485 serial port level translator modules were selected to Maxim's MAX3221 and MAX3485.

3.3 Power Supply Module

The entire system in addition to lithium battery power supply, can also use a small external power supply transformers, etc., to meet the needs of different occasions. MSP430F449 use TPS7333 regulator power output as a 3.3V system supply voltage. To ensure the normal data transmission, power circuit also has bq24012 battery charge management circuit to battery low, normal data transmission may affect the timely warning, to remind the replacement battery or charger.

3.4 Caching and LCD module

PC's working time in order to save, She Ji Yong TMS44400 Xing dynamic memory when the expansion of dynamic storage interval, when data is transferred first to read Baotouxinxi Yi Jue Ding is Shi Shi transmission or Huancun operation. MSP430F449 with LCD driver module, the design of the East was the company's EDS805 use liquid crystal display module, with its state of the system features real-time display, data transfer speed, remaining time, it can supply under-voltage alarm.

4 Software Design

MSP430 core structure with high transparency format using reduced instruction (RSIC) design. CAN receive and transmit information, as is done automatically by the CAN controller, the program only from the corresponding buffer to read the corresponding data, and then make the appropriate treatment can be. In this system, the MCU after the completion of initialization tasks into low-power sleep mode, any wake-up interrupt can be in favor of the implementation of the corresponding interrupt service routine. System 2 PC serial port interrupt sources were sent and slave CAN message reception, the benefits of doing so is to avoid as much as possible due to data overrun data caused heavy hair. Figure 3 shows the system CAN initialization process, Figure 4 shows the interrupt service routine processes. Due to space relations, the paper spent receiving an interrupt service routine process, the process generally and to send the opposite process.

Based on MSP430 MCU's CAN Bus Interface Card Design

Based on MSP430 MCU's CAN Bus Interface Card Design

5 Conclusion

This article describes the CAN bus communication interface converter card software and hardware design, expect to study the design of CAN bus applications and help provide some references. The introduction of CAN bus communication interface converter card, a simple structure and strong interference capability, is ideal for distributed measurement and control networks of small and medium composition. With the support of the growing device CAN protocol, CAN device prices will drop further in the automation application will be more extensive.

Declined comment

91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
国产av第一区| 日韩av在线播放不卡| 成人久久久久久久久| 欧美日韩在线不卡视频| 亚洲欧洲日夜超级视频| 亚洲最大的av网站| 欧美激情aaaa| 亚洲一二三区精品| 亚洲图片都市激情| 亚洲精品女av网站| 无码播放一区二区三区| 亚洲精品免费在线看| 亚洲精品中文字幕乱码三区不卡| 伊人久久99| 亚洲欧洲精品在线| 色综合电影网| 欧洲精品一区二区三区久久| 欧美第一黄网| 国产伦精品一区二区三区照片| 国产一区二区四区| 国产精品亚洲天堂| 91九色国产社区在线观看| 97国产精品久久| 久久久一本精品99久久精品| 国产成人亚洲精品无码h在线| 久久久久久久一区二区| 国产精品嫩草在线观看| 精品乱子伦一区二区三区| 一级一片免费播放| 日本精品免费视频| 欧美精品欧美精品| 国产伦精品一区二区三区照片| 91国自产精品中文字幕亚洲| 久久国产精品精品国产色婷婷| 久久福利一区二区| 国产精品久久久久久久久久小说| 正在播放国产精品| 日本久久久久久久| 国产在线精品成人一区二区三区| 波多野结衣综合网| 日韩在线视频中文字幕| 国产99久久精品一区二区 | 亚洲色婷婷久久精品av蜜桃| 视频一区视频二区视频三区视频四区国产 | 国产精品国产自产拍高清av水多| 国产精品久久久久久五月尺| 亚洲一区影院| 激情小视频网站| 91|九色|视频| 久久亚洲综合国产精品99麻豆精品福利 | 久久久91精品国产| 久久久久久69| 欧洲精品在线一区| 成人久久18免费网站图片| 日韩天堂在线视频| 亚洲一区二区三区乱码aⅴ蜜桃女| 日韩福利二区| 国产欧美一区二区三区另类精品| 久久av综合网| 亚洲国产婷婷香蕉久久久久久99| 精品视频导航| 日韩中文字幕精品| 亚洲va国产va天堂va久久| 国产专区一区二区三区| 日韩在线一区二区三区免费视频| 亚洲精品视频一二三| 国产精品一区二区在线| 国产精品久久久久久久久久99| 日韩a∨精品日韩在线观看| 成人国产精品一区二区| 国产精品久久久久国产a级| 日本高清不卡一区二区三| 国产裸体舞一区二区三区| 国产精品久久久久久久久久久久久| 日本a级片电影一区二区| 99精品国产高清在线观看| 精品丰满人妻无套内射| 激情五月五月婷婷| www亚洲欧美| 日本亚洲欧洲色α| 久久人人爽人人爽人人片av高请 | 国产啪精品视频网站| 国产精品视频一区二区高潮| 偷拍视频一区二区| 99在线观看视频网站| 欧美理论电影在线观看| 好吊色欧美一区二区三区视频| 精品国产一区二区在线| 欧美在线一级视频| 精品国产拍在线观看| 日韩国产欧美精品| 久久久久久久久久久一区| 日韩欧美一区二区视频在线播放| 久热这里只精品99re8久| 亚州欧美日韩中文视频| 91国产精品91| 色阁综合av| 国产传媒久久久| 天堂v在线视频| 久久riav| 国模精品一区二区三区| 欧美成人精品一区二区| 国产欧美精品一区二区| 国产99久久久欧美黑人| 成人免费观看毛片| 亚洲精品在线免费看| 久久久亚洲综合网站| 日本精品免费在线观看| 久久av二区| 欧美在线欧美在线| 欧美成人在线影院| 91久久精品www人人做人人爽| 日本在线观看一区二区| 久久99精品久久久久久三级 | 男人添女人下部高潮视频在观看| 久久精品国产精品亚洲| 欧美交换配乱吟粗大25p| 国产精品精品久久久久久| 国产日韩一区欧美| 亚洲欧洲精品一区二区三区波多野1战4 | 黄色片久久久久| 欧美精品久久久久a| 国产精品8888| 欧在线一二三四区| 国产精品久久久久久中文字| 国产伦精品一区二区三区免费视频 | 欧美中在线观看| 久久天天躁狠狠躁夜夜躁2014| 日韩免费一区二区三区| 久久亚洲综合国产精品99麻豆精品福利 | 青青久久av北条麻妃黑人| 国产精品久久电影观看| 风间由美一区二区三区| 日韩欧美一区二| 国产精品成人久久久久| av免费观看久久| 欧美一区二区视频在线播放| 精品综合久久久久久97| 国产不卡一区二区三区在线观看| 黄色片视频在线播放| 亚洲精品永久www嫩草| 国产精品日韩专区| 91av网站在线播放| 国产一区二区香蕉| 日本成人黄色| 在线一区亚洲| 国产精品日本精品| 久久久国产精华液999999 | 国产一区二区片| 日本精品一区二区| 亚洲最大的av网站| 国产精品日韩在线一区| 久久久在线免费观看| 国产精品中文字幕久久久| 欧美亚洲在线播放| 欧美一级视频免费在线观看| 久久99国产精品久久久久久久久| 色av中文字幕一区| chinese少妇国语对白| 国产在线一区二区三区播放 | 午夜精品久久久久久久无码 | 欧美一级大片在线观看| 亚洲一区影院| 精品不卡一区二区三区| 久久天天躁狠狠躁夜夜爽蜜月| 久久久无码中文字幕久...| 国产日韩av在线播放| 欧洲熟妇精品视频| 日本精品性网站在线观看| 综合国产精品久久久| 欧美成人在线网站| 国产精品久久久久久久久久尿| 久久久噜噜噜久噜久久| 国产精品直播网红| 国产一区二区视频在线免费观看| 欧美日韩另类综合| 日韩精品一区二区在线视频| 无码人妻精品一区二区蜜桃网站 | 麻豆一区二区三区在线观看| 欧美在线免费观看| 日本精品中文字幕| 亚洲国产精品123| 一本久道久久综合狠狠爱亚洲精品| 久久999免费视频| 九九热精品在线| 久久999免费视频| 色综合导航网站| 九九久久精品一区| 亚洲一区二区三区香蕉| 亚洲精品视频一二三| 亚洲精品日韩精品| 日本一区二区在线视频| 日本亚洲欧美成人| 日韩日韩日韩日韩日韩| 欧美最猛黑人xxxx黑人猛叫黄| 欧美在线观看黄| 欧美日韩国产免费一区二区三区| 欧美日韩无遮挡| 国产一区二区丝袜| αv一区二区三区|