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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
亚洲精品免费在线看| 91久久久久久久一区二区| 欧美极品在线视频| 国产精品极品美女粉嫩高清在线| 精品国产一区久久久| 日韩在线视频免费观看| 国产成人免费高清视频| 国产精品乱码一区二区三区| 国产精品视频xxxx| 国产精品国产精品| 国产精品成久久久久三级| 国产精品视频1区| 国产精品高潮在线| 精品免费久久久久久久| 精品国产区在线| 色综合天天综合网国产成人网| 色综合久久中文字幕综合网小说| 欧美日韩成人在线播放| 亚洲自拍欧美色图| 日本成人在线不卡| 韩国福利视频一区| 国产精品制服诱惑| 国产盗摄视频在线观看| 神马国产精品影院av| 国产精品欧美日韩久久| 国产精品成人一区二区三区吃奶| 欧美激情一级二级| 欧美一区二区三区综合| 欧美日韩国产精品激情在线播放| 国产无套内射久久久国产| 91久久久久久久久久久| 久久久99久久精品女同性| 欧美成在线视频| 色一情一乱一乱一区91| 国产又粗又猛又爽又黄的网站| 97精品国产91久久久久久| 久久久久久久久久久视频| 欧美精品制服第一页| 视频一区亚洲| 黄色一区三区| av动漫在线看| 久久精品国产一区| 综合一区中文字幕| 青青草国产精品一区二区| 国产日韩欧美夫妻视频在线观看| 国产激情在线看| 久久成年人免费电影| 日本一区精品| 国产另类自拍| 国产精品沙发午睡系列| 亚洲专区中文字幕| 精品日本一区二区三区在线观看 | 国产精品毛片a∨一区二区三区|国| 欧美极品美女电影一区| 欧美欧美一区二区| 国产精品69页| 久久99精品久久久久久青青91| 色噜噜色狠狠狠狠狠综合色一| 美女精品国产| 久久精品第九区免费观看| 色综合天天狠天天透天天伊人| 青青a在线精品免费观看| 成人a级免费视频| 国产精品久久成人免费观看| 日本久久久久久| 粉嫩av一区二区三区天美传媒| 久久精品国产亚洲精品| 亚洲精品乱码视频| 国产偷人视频免费| 久久久www成人免费精品张筱雨| 午夜啪啪福利视频| 国产欧美日韩伦理| 国产精品视频精品| 日韩国产一级片| 久久精品一区二| 亚洲高清视频一区二区| 成人精品小视频| 国产精品国产三级欧美二区| 欧美少妇在线观看| www.久久撸.com| 色综合久久久久久久久五月| 国产精品香蕉国产| 一区二区三区国产福利| 成人中文字幕av| 欧美激情乱人伦一区| 国内精品国产三级国产在线专| 日韩亚洲第一页| 日本网站免费在线观看| 国产成人精品免高潮在线观看| 亚洲欧美日韩精品久久久| 99在线观看| 亚洲欧美丝袜| 91国产在线播放| 天堂一区二区三区| 久久精品综合一区| 日韩av电影在线播放| 久久免费成人精品视频| 日本一区二区久久精品| 久久久久久一区| 日本va中文字幕| 国产精品久久久久久久久影视| 国产视频一视频二| 亚洲日本无吗高清不卡| 国产高清精品一区| 日韩精品xxxx| 国产精品视频专区| 国产一区亚洲二区三区| 欧美激情视频网站| 成人羞羞国产免费网站| 亚洲影院污污.| 久久亚洲中文字幕无码| 日韩欧美国产免费| 国产精品老女人精品视频| 国产欧美日韩中文字幕| 亚洲精品第一区二区三区| 久草视频这里只有精品| 国产真实乱子伦| 亚洲一区二区三区乱码aⅴ| 国产精品99免视看9| 人人妻人人做人人爽| 国产精品视频精品视频| 国产精品亚发布| 日韩中文字幕二区| 日韩专区在线观看| 国产一区二区三区高清视频| 亚洲国产精品久久久久婷婷老年| 国产精品a久久久久久| 日韩一级特黄毛片| 久久久久久亚洲精品不卡4k岛国| 精品欧美日韩| 一本久道高清无码视频| 色婷婷久久av| 成人av中文| 欧美日韩国产高清视频| 中文精品视频一区二区在线观看 | 中文字幕一区综合| 日韩专区在线观看| 国产伦精品一区二区| 日本少妇高潮喷水视频| 久久亚洲欧美日韩精品专区| 7777精品伊久久久大香线蕉语言| 欧美精品中文字幕一区二区| 制服诱惑一区| 久久久91精品| 国产精品99久久免费黑人人妻| 国内一区二区在线视频观看| 亚洲最大福利网| 国产精品欧美日韩| 久久乐国产精品| 国产九区一区在线| 日韩免费av在线| 一本二本三本亚洲码| 国产精品嫩草影院一区二区| 91av视频在线免费观看| 国产在线一区二区三区播放| 日本wwwcom| 偷拍盗摄高潮叫床对白清晰| 萌白酱国产一区二区| 国产成人精品综合久久久| 久久天天东北熟女毛茸茸| 国产精品一区而去| 国模极品一区二区三区| 日韩美女av在线免费观看| 亚洲中文字幕无码专区| 不卡毛片在线看| 久久久久久噜噜噜久久久精品| 97人人模人人爽人人喊中文字| 国产呦系列欧美呦日韩呦| 欧美不卡在线一区二区三区| 日日摸日日碰夜夜爽av| 一区国产精品| 精品国产乱码久久久久久108| 国产成人精品优优av| 久久成人免费观看| 久久精品视频91| 久精品国产欧美| 久久精品第九区免费观看| 久热这里只精品99re8久| 97国产精品久久| 97久久精品人搡人人玩| 国产啪精品视频| 国产免费一区二区三区香蕉精| 国产一区二区不卡视频在线观看 | 国产免费久久av| 国产欧美一区二区三区在线| 国产综合色香蕉精品| 美女在线免费视频| 欧美 日韩 国产 高清| 欧美在线观看日本一区| 青青草国产精品视频| 欧美无砖专区免费| 欧美高清视频一区| 人妻少妇精品无码专区二区| 人妻熟女一二三区夜夜爱| 欧美在线观看视频| 狠狠精品干练久久久无码中文字幕| 黄色片网址在线观看| 国产在线精品一区二区三区》| 国产一区二区片| julia一区二区中文久久94|