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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
亚洲国产精品久久久久婷蜜芽| 国产女主播一区二区| 国产精品久久久久久久7电影| 日韩视频中文字幕| 久久精视频免费在线久久完整在线看| 日韩亚洲精品电影| 久久精品国产2020观看福利| 久久久久久香蕉网| 色狠狠久久aa北条麻妃| www.欧美三级电影.com| 国产成人精品视频在线| 久久综合免费视频| 亚洲综合中文字幕在线观看| 日产国产精品精品a∨| 欧洲精品在线视频| 国语精品中文字幕| 国产一级大片免费看| 成人av免费在线看| 久久综合久久久| 日韩在线视频网站| 久久中国妇女中文字幕| 一本色道久久99精品综合| 午夜精品免费视频| 99精品人妻少妇一区二区| 久久久精品久久久久| www.中文字幕在线| 国产精品69久久| 日韩中文字幕在线观看| 久久精品国产免费观看| 九九精品视频在线| 无码免费一区二区三区免费播放| 婷婷五月色综合| 免费在线a视频| 99视频在线免费观看| 日韩在线观看免费高清| 最新不卡av| 欧美一区二三区| 成人h在线播放| 国产精品丝袜视频| 亚洲永久激情精品| 欧美日韩一级在线| 91免费精品视频| 久久天天躁狠狠躁老女人| 久久99精品久久久久久琪琪| 欧美成人高潮一二区在线看| 国产精品自在线| 久无码久无码av无码| 久久综合久久88| 蜜桃视频日韩| 久久久久久久久中文字幕| 国产精品久久久久久久美男| 亚洲a在线观看| 97久久精品国产| 精品免费日产一区一区三区免费 | 美女精品视频一区| 日本精品中文字幕| 国产欧美精品在线| 日韩网站免费观看| 午夜视频在线瓜伦| 国产免费久久av| 久久夜色精品国产欧美乱| 青青影院一区二区三区四区| 91国产精品91| 欧美日韩成人免费| 黄色大片中文字幕| www国产精品视频| 日韩精品在线观看av| 国产精品99久久久久久久| 欧美精品福利视频| 国产女女做受ⅹxx高潮| 国产精品精品视频| 黄色av免费在线播放| 久久99精品国产一区二区三区| 一区二区传媒有限公司| 国产日本欧美一区二区三区| 国产精品国模大尺度私拍| 欧洲精品在线一区| www.久久撸.com| 日韩av在线第一页| 国产精品国模在线| 精品国产一区二区三区久久久| 久久久久久久久爱| 欧美一区二区大胆人体摄影专业网站 | 日本在线视频www色| 99热在线这里只有精品| 中文字幕一区综合| 国产精品一二三在线| 中国人体摄影一区二区三区| 国产欧美久久久久久| 欧美精品免费看| 国产拍精品一二三| 欧美精品电影在线| 99久久国产综合精品五月天喷水| 亚洲一区二区中文字幕| 91成人综合网| 日韩一级免费看| 久久国产精品久久| 日韩av电影在线免费播放| 久久精品网站视频| 欧美日韩一区二区三区免费 | 在线视频福利一区| 国产精品333| 日本不卡高清视频一区| 久久精品久久精品亚洲人| 精品一区二区视频| 中文字幕一区二区三区四区五区六区| 国产精品自拍偷拍| 午夜精品在线观看| 日韩网站免费观看| 国内成人精品视频| 一区二区三区四区在线视频| 91传媒视频免费| 欧美最猛性xxxxx亚洲精品| 免费不卡在线观看av| 97色在线播放视频| 欧美中文字幕在线播放| 久久综合久久88| 91高清视频免费| 国内精品久久久久久中文字幕| 中文字幕色一区二区| 久久99精品久久久水蜜桃| 红桃av在线播放| 一区二区国产日产| 色偷偷噜噜噜亚洲男人的天堂| 欧美亚洲激情视频| 九九久久综合网站| 久久精品在线免费视频| 黄色免费高清视频| 婷婷五月色综合| 国产精品精品久久久| 久久人妻无码一区二区| 精品视频一区在线| 欧美一区二区三区精美影视| 国产精品免费一区二区三区都可以| 99精品一级欧美片免费播放| 欧美国产视频在线观看| 日韩在线第一区| 欧美精品国产精品日韩精品| 北条麻妃一区二区三区中文字幕| 国产欧美韩国高清| 琪琪亚洲精品午夜在线| 在线观看欧美亚洲| 国产精品视频永久免费播放| 97精品视频在线| 国产又大又长又粗又黄| 日韩精品久久一区| 亚洲国产激情一区二区三区| 国产精品成av人在线视午夜片| 久久久久欧美| 国产精彩精品视频| 国产免费内射又粗又爽密桃视频| 欧美一区视久久| 视频一区二区视频| 亚洲最大成人在线| 国产精品二区三区| www.亚洲免费视频| 国产高清自拍99| 91精品久久久久久久久久久| 国产男人精品视频| 免费观看国产成人| 欧洲一区二区在线| 日本久久久久久久久久久| 亚洲精品国产精品国自产| 九九热精品在线| 国产精品久久7| 日韩视频永久免费观看| 久久精精品视频| 国产盗摄视频在线观看| 久久久在线免费观看| 国产九九精品视频| 国产一区二区中文字幕免费看| 日韩精品视频一区二区在线观看| 欧美一级特黄aaaaaa在线看片| 亚洲第一综合网站| 一区二区精品国产| 真实国产乱子伦对白视频| 精品免费国产| 久久亚洲精品视频| 精品久久久三级| 精品国产乱码一区二区三区四区| 精品伦理一区二区三区| 欧美另类在线播放| 九九热在线精品视频| 中文视频一区视频二区视频三区| 国产精品第七影院| 精品国产一区二区三区在线| 精品久久久久久久免费人妻| 精品国产免费一区二区三区| 九九精品在线观看| 亚洲影院在线看| 性欧美亚洲xxxx乳在线观看 | 国产另类自拍| 99久久精品免费看国产四区| 91精品综合视频| 97碰在线视频| 久久久国内精品| 三级精品视频久久久久| 国产精品福利无圣光在线一区| 精品国产乱码久久久久软件| 亚洲午夜精品久久久中文影院av|