国产成人永久免费视频_一区二区三区四区高清精品免费观看_成人午夜视频免费观看_在线电影一区二区三区_国产成人a人亚洲精品无码_欧美日韩在线观看一区_国产精品美女久久久久久_免费av手机在线观看_国产欧美日韩精品一区_国产精品日韩一区二区免费视频_亚洲一区精彩视频_youjizz在线视频

CAN-bus adapter based CH372 System

Abstract: This paper introduces a new USB interface chip CH372 based on the CAN bus network adapter system design, a CAN bus using the USB interface connected to the computer network program. Using chip CH372 can not understand the agreement or any USB firmware or driver's case, to easily upgrade to the parallel port or USB interface, serial products. The system in the industrial field than in the past of the Ji Tong, can be more flexible, fast and efficiently a large amount of data exchange, and can be applied a variety of control systems of the Force, with good result Jia Zhi.

Introduction

Implementation of Fieldbus network technology combined with computer needs. At present, the expansion of computer equipment commonly used CAN bus interface, PCI bus or RS-232 bus. Although still a high-speed PCI computer peripheral interface with the main channel, but its main drawback is the limited take up system resources, expansion slot address; interruption of limited resources; and the plug is not convenient; more expensive; and design complexity, the need for high the quality of drivers, the system stability; and can not be used for portable computer expansion; RS-232 plug though convenient, but the transfer rate is too slow.

This design idea is to use the USB interface chip CH372, CAN network control computer and each node parameters quickly and accurately transfer. CH372 is a kind of generic USB bus interface chip, the computer system, by CH372 supporting software provide concise and easy to use Caozuo interfaces, Congershiqi and Bende side of the MCU communication on the hard drive as read and write in the Wenjianyiyang Jian Dan, You Yu CH372 shield the USB communication in all protocols, thus the computer application layer and a local-end connectivity between controllers, USB without the need to understand any agreement or firmware program or the driver situation, can easily parallel port, serial port products to upgrade to USB.

CAN bus and USB adapter to complete the data exchange between the CAN bus. Overall arrangements for data using the MCU USB bus and CAN bus data exchange between. MCU can be bounded by the hardware is divided into two parts: First, MCU and the USB bus to exchange data; 2 yes MCU control CAN controller, complete CAN data packet to the CAN bus bit serial protocol explained that the system structure shown in Figure 1.

CAN-bus adapter based CH372 System

Figure 1

Hardware Design

USB interface circuit in the micro-controller and USB interface, the choice of two ways: one is the use of USB communication with the microprocessor. With the increasingly wide range of USB applications, Intel, Cypress, Philips and other chip makers have introduced a USB communication interface of the microprocessor, such as 8X930A, 8X931A, EZ-USB and so on. These microprocessors have a USB interface, they are not compatible with previous development system need to purchase a new development system, the higher investment. The other is the ordinary microprocessor with a dedicated USB communications chip.

ASIC is now the more popular are USBN9602, SL11, PDIUSBD12 so. However, USB interface, the development of general requirements for designers of USB standard, Firmware and driver development, and so programmers are more in-depth understanding, thus limiting the general hardware engineers to use USB interface to product development. The system uses the USB interface chip CH372, using very simple, as long as the developers are familiar with microcontroller programming and simple VB or VC application programming, in a short period of time can develop the appropriate USB products.

CH372 is a common USB bus interface chip equipment, comply with USB1.1 protocol. Locally, CH372 with 8-bit data bus and read, write, chip select control lines and the interrupt output can be easily attached to the MCU, DSP and other controllers on the system bus; in the computer system, CH372 supporting software to provide a simple-to-use user interface, and a local microcontroller communication just as hard to read and write files. CH372 built-in USB communications in the underlying protocol, with built-in firmware mode and external firmware mode. In the built-in firmware mode, CH372 mask the USB communication to all agreements, and a local computer application layer to provide end to end connection between the controller. Use CH372, do not understand the USB protocol, or any firmware or even the driver, you can easily parallel port, serial port products to upgrade to USB.

CH372 chip's RD and WR are connected to the microcontroller can read and write strobe output pin strobe output pin. CS driven by the address decoding circuit for microcontroller with many peripheral devices as when equipment selection. INT can be connected to the microcontroller interrupt input pin is active low interrupt request. When CS and RD and A0 are low, CH372 in the data output by D7 ~ D0; when CS and WR are low, and A0, D7 ~ D0 The data is written CH372 chip; when the CS and WR are low and A1 is high, D7 ~ D0 The data is written as a command code CH372 chip. CH372 chip UD and UD-pin should be connected directly to the USB bus. If security for chip resistor or inductor series with the insurance, then the AC and DC Equivalent series resistance should be within the 5Ω. CH372-chip built-in power-on reset circuit, under normal circumstances, do not need to reset externally. CH372 chip work required to provide external 12MHz clock signal. In general, the clock signal from the CH372 built-in inverter frequency stabilization by crystal oscillation. External circuit is only required between the X1 and X0 pins to connect a nominal frequency of 12MHz crystal, and were X1 and X0 pins to connect on a capacity of 30pF capacitance high-frequency oscillation. CH372 chip support 5V or 3.3V supply voltage supply voltage. When using 5V operating voltage, CH372 chip VCC pin input external 5V power supply, and, V3 pin should add a capacity of about 0.1μF power supply decoupling capacitor. When using 3.3V operating voltage, CH372 V3 chip and pin should be connected to VCC pin, while the external 3.3V power supply input, and connect with CH372 other circuit chip operating voltage can not exceed 3.3V. Interface circuit shown in Figure 2.
CAN bus interface circuit this in part by the CAN controller, CAN interface chip and coupler component. CAN controller to complete all the requirements of CAN communication protocol, CAN interface chip CAN controller and the physical bus is the interface between, and through the optocoupler will be sent to the CAN data bus, the interface circuit shown in Figure 3.

CAN-bus adapter based CH372 System

Figure 3

CAN bus controller's use of Philips SJA1000, supported by the company's PCA82C250 interface to drive through the optical isolation device 6N137 bus and the controller realized the isolation. SJA1000 is a stand-alone controller for automotive and general industrial environments, the from the software point of view, the operation of the SJA1000 MCU's access to external memory through Zhiling to complete, Suo Yi, SJA1000 can be considered as one kind of Kuozhan RAM , SJA1000 Peli mode with standard mode and the two applications. Standard is consistent with the CAN2.0A protocol standard, the receiver buffer of 64 bytes; Peli is consistent with the 2.0B standard, capable of handling extended data format, with the arbitration lost capture, code reading and other functions.

PCA82C250 CAN controller and the physical bus is the interface between the current value it has qualified to protect the receiver output level, to avoid short-circuit the anode and cathode to prevent output stage damage, PCA82C250CAN interface controller provides a bus driver to send and reception, high speed up to 1Mbps, has strong anti-interference ability.

In order to enhance anti-jamming capability, SJA1000 and 82C250 CAN bus transceiver uses two high-speed optical isolation between the device and the controller bus 6N137 achieve isolation, in order to avoid interference, improve reliability. CAN controller can choose from RX0, TX0 or RX1, TX1 receive and send data, when using RX0, TX0 work, shall RX1 received on a stable level. High-speed optocoupler 6N137 maximum speed of up to 10Mbps, it can use a state of isolation to ensure reliable high-speed systems.
Software Design

The design used in micro-controller P89C51RD2, it is advanced CMOS single-chip 8-bit microprocessor technology. Work in 6 clock mode, the speed is twice the standard 51 microcontroller, this time up to the maximum external crystal 20MHz. In addition, the models support the programming and IAP ISP programming. Software main program flow chart shown in Figure 4.

CAN-bus adapter based CH372 System

Figure 4

First to MCU, SJA1000 and USB initialization, initialization cycle after the system is in wait state, if interrupt generation, to enter the corresponding interrupt service routine, if the CAN bus with data uploaded into the CAN interrupt service routine is from the microprocessor to receive data from the SJA1000 buffer, write data buffer the microprocessor, and sign to return home, if the host computer has data to download, then transferred to USB interrupt service routine (lower machine interrupt service program flow shown in Figure 5 below), the microprocessor reads data from the USB buffer, into the buffer, and return home signs, receive data is read from the buffer starting data sent to USB bus, USB bus through the transmission to the host computer ( Next for Data Upload subroutine flow chart shown in Figure 6), sending data is the data read from the buffer to write SJA1000 buffer, read from the CAN node, this treatment allows the microprocessor in the implementation of completed only after the corresponding interrupt program reads the buffer, and then perform the appropriate procedures can be completed to receive or send upper and lower machine data exchange. For the computer application program, the computer loaded WINCHIPHEAD provided CH372 Universal driver, no longer consider the USB communication protocol, firmware, drivers, auto-configuration process and the underlying data transmission. Only need to provide a dynamic link library interface function with VB or VC can prepare your own application.

CAN-bus adapter based CH372 System

Figure 5

CAN-bus adapter based CH372 System

Figure 6

Conclusion

In summary, the system for the computer and direct communication between the CAN bus provides an effective way to meet the networking and interface technology, field bus network and explore new methods of computer interface, is very practical significance .

Declined comment

三级黄色片免费观看| 国产免费成人在线视频| 鲁鲁狠狠狠7777一区二区| 午夜精品久久久久久久久| 一级做a爰片久久毛片| 国产精品午夜国产小视频| 成人黄色网址在线观看| 欧美一级在线免费观看| 免费激情视频在线观看| 久久久久久久电影一区| 亚洲一区二区三区视频在线播放| 日本黄色网址大全| 国产欧亚日韩视频| 欧美成人精品一区| 日本乱人伦a精品| 国产欧美一区二区| 成人免费自拍视频| 欧美理论电影在线播放| 色婷婷久久久综合中文字幕 | 在线视频一区观看| 欧美极品xxxx| 韩日精品视频一区| 特级西西444www大精品视频| 久久久777精品电影网影网 | 妺妺窝人体色www看人体| 亚洲国产成人爱av在线播放| 亚洲人精品一区| 国产精品综合视频| 99久久久国产精品无码网爆| 999久久欧美人妻一区二区| 亚洲最新av在线网站| 人妻无码中文字幕| 亚洲第一成肉网| 午夜精品久久久99热福利| 好看的av在线| 天天碰免费视频| 日韩精品一区二区三区色欲av| 精品无码久久久久久久动漫| 国产午夜精品全部视频在线播放 | www日韩欧美| 欧美三级日韩在线| 91视频免费观看| 国产黄人亚洲片| 激情深爱一区二区| 中文字幕人妻一区二区在线视频| 老汉色影院首页| 国产精品久久久久久久久借妻| 一本久久综合亚洲鲁鲁| 日本女优在线视频一区二区| 大又大又粗又硬又爽少妇毛片| 麻豆av免费看| 久在线观看视频| 欧美午夜欧美| 91免费的视频在线播放| 久久久综合视频| 久久精品日产第一区二区三区高清版 | 中文字幕亚洲综合久久| 五月天婷婷激情网| 日韩网址在线观看| 中文字幕亚洲在线| 国产成人精品亚洲777人妖| 三上悠亚 电影| 欧美激情一区二区三区久久久| 国产成人精品午夜视频免费| 亚洲精品乱码久久| 国产999在线观看| 国产精品国产a级| 久青草免费视频| 欧美午夜视频在线| 日韩精品一区在线| 日韩av在线播放中文字幕| 亚洲欧美日韩精品一区| 欧美俄罗斯乱妇| 久久久精品免费免费| 91禁男男在线观看| 精品免费国产| 日韩精品在线一区二区| 毛片av中文字幕一区二区| 国产又黄又嫩又滑又白| 国产精品69久久| 亚洲国产中文字幕| 在线观看中文字幕2021| 国内自拍在线观看| 精品少妇v888av| 国产精品天干天干在线综合| 国产亚洲精品成人| 亚洲一二三区精品| 亚洲欧美国产日韩天堂区| 国产成人欧美日韩在线电影| xxxx日本黄色| 奇米影视首页 狠狠色丁香婷婷久久综合 | 久久精品中文字幕电影| 国产欧美日韩久久| 天天综合网入口| 国产一区二区四区| 欧美俄罗斯乱妇| 夜夜嗨av一区二区三区中文字幕 | 无码内射中文字幕岛国片| 欧美国产日韩精品| 亚洲精品亚洲人成人网| 伊人网中文字幕| 人妻丰满熟妇av无码区app| 91国产精品电影| 亚洲成人一二三| 肥臀熟女一区二区三区| 久久人妻少妇嫩草av蜜桃| 成人免费网站在线观看| 欧美日韩国产在线观看| 卡一卡二国产精品 | 国产精品亚发布| 欧洲一区在线电影| 免费观看日韩电影| 一区二区三区在线观看免费视频| 日韩欧美一区二区三区四区五区| 亚洲视频在线免费观看| 国产欧美一区在线| 中国精品一区二区| www.久久久久久久久久久| 亚洲va电影大全| 欧美videos中文字幕| 成人综合婷婷国产精品久久| 国产亚洲欧美精品久久久www| 91黄色在线看| 国内偷自视频区视频综合| 亚洲精品写真福利| 色欲久久久天天天综合网| 日本高清www| 欧美一级免费在线观看| 欧美高跟鞋交xxxxhd| 午夜电影网一区| 麻豆一区二区在线| 久久网免费视频| 免费无码av片在线观看| 国产欧美中文字幕| 亚洲国产成人精品久久久国产成人一区| youjizz国产精品| 五月婷婷激情五月| 男人添女人荫蒂国产| 欧美日韩在线精品一区二区三区| 色偷偷av一区二区三区| 欧美日韩色婷婷| 国产福利一区在线观看| 欧美超碰在线观看| 一区二区三区四区影院| 翔田千里亚洲一二三区| 97视频免费在线看| 91精品久久久久久久91蜜桃| 国产日韩精品一区二区三区| 99久久精品无免国产免费| 少妇精品一区二区三区| 女人帮男人橹视频播放| 亚洲a级在线播放观看| 亚洲最大在线视频| 精品福利在线观看| 豆国产96在线|亚洲| 久久久蜜桃一区二区| 性高潮免费视频| 一区二区三区一级片| 国产精品久久久久不卡| 亚洲欧美中文字幕| 色综合久久久久综合| 成人禁用看黄a在线| 国产精品久久久久久久久久久久久久久久| 免费看污片网站| 国产主播在线看| 精品久久久久亚洲| 欧美亚洲一区在线| 亚洲女人天堂av| 日韩欧美中文字幕在线观看| 91丨porny丨首页| 婷婷视频在线观看| 欧美精品亚洲精品日韩精品| 亚洲男女在线观看| 欧美 国产 日本| 老牛影视免费一区二区| 欧美中文字幕视频在线观看| 亚洲欧美在线免费观看| 91久久香蕉国产日韩欧美9色| 成人免费三级在线| 天堂在线中文网| 在线视频一区二区三区四区| 国产女主播喷水高潮网红在线| 日本三区在线观看| 在线观看日韩片| 99电影在线观看| 欧美精品激情blacked18| 亚洲国产成人精品电影| 91成人网在线| 亚洲欧美日韩在线| 成人性色生活片免费看爆迷你毛片| 成人免费观看在线视频| 国产原创视频在线| 欧美h片在线观看| 天天躁日日躁狠狠躁av| 日本熟妇人妻xxxxx| 亚洲国产精品综合| 国产精品美女久久久久av福利| 欧美在线日韩在线| 久久精品福利视频| 亚洲国产日韩精品在线| 欧美吻胸吃奶大尺度电影| 一区二区在线看| 久久精品视频在线免费观看| 国产成人一区二区精品非洲| 肉肉av福利一精品导航| 国产激情视频在线播放| 国产精品suv一区| 免费国产羞羞网站美图| 玖玖爱在线观看| 男插女视频网站| 爆乳熟妇一区二区三区霸乳| 青草青青在线视频| 欧美性受黑人性爽| 亚洲丰满在线| 欧美精品一区二区三区四区五区 | 韩国一区二区三区美女美女秀| 国产日产亚洲精品| 欧美在线视频a| 国内精品中文字幕| 久久久久久久久综合| 日韩中文字幕网| 亚洲欧洲日韩国产| 日韩国产激情在线| 亚洲激情电影中文字幕| 日韩三级视频中文字幕| 欧美高清性hdvideosex| 欧美三级韩国三级日本三斤 | 日韩在线欧美在线国产在线| 日韩电影第一页| 亚洲国模精品一区| 亚洲第一福利网站| 精品国产91久久久久久久妲己| 91精品国产综合久久香蕉的特点| 欧美日韩一区二区三区在线看| 日本久久精品电影| 在线观看亚洲a| 欧美色图一区二区三区| 在线观看不卡视频| 欧美日韩精品系列| 51精品国自产在线| 日韩亚洲欧美在线| 欧美精品一区男女天堂| 亚洲国产精品电影| 亚洲九九九在线观看| 在线视频一区二区| 久久视频在线播放| 色综合久久88色综合天天看泰| 欧美福利视频在线| 欧洲中文字幕国产精品| 国产精品久久久久久婷婷天堂| 国产日产欧美a一级在线| 亚洲精品日韩av| 福利视频久久| 久久日韩精品| 亚洲精品白虎| 日韩在线视频在线| 精品视频免费在线播放| 国产一区亚洲二区三区| 国产裸体舞一区二区三区| 欧美日韩一区二区三区69堂| 日韩大尺度视频| 国产真实乱人偷精品人妻| 91动漫免费网站| 黄色小说在线观看视频| 久久久久久久极品| 一级黄色片网站| 亚洲av成人精品毛片| 男女性色大片免费观看一区二区 | 一本到高清视频免费精品| 欧美体内谢she精2性欧美| 欧美美女一区二区| 亚洲精品福利免费在线观看| 日韩一区二区av| 91超碰中文字幕久久精品| 国产日韩欧美另类| 精品一区二区国产| 中国成人在线视频| 久久国产乱子伦免费精品| 午夜激情视频网| 国产欧美一区二区三区在线观看视频| 日韩黄色免费观看| 中文字幕免费高清在线观看| 天天干视频在线| 成人中文字幕电影| 亚洲色欲色欲www在线观看| 色国产综合视频| 日韩精品高清视频| 久久久久久久一| www日韩av| 女女同性女同一区二区三区按摩| 欧美女同在线观看| 一二三四在线观看视频| 免费看日批视频| 日韩影院免费视频| 久久精品亚洲国产奇米99| 欧美日韩亚洲精品一区二区三区| 精品播放一区二区| 久久久久久91| 高清视频在线观看一区| 999一区二区三区| 深田咏美中文字幕| 日本在线观看中文字幕| 日韩在线视频免费| 久久久亚洲欧洲日产国码αv| 欧美日韩在线视频一区二区| 日韩国产欧美区| 国产成人+综合亚洲+天堂| 欧美污视频久久久| 亚欧激情乱码久久久久久久久| 欧美性猛交xxxx乱| 一二三四区视频| 国产传媒一区在线| 亚洲福利电影网| 亚洲欧美另类人妖| 国产日韩欧美视频| 精品视频在线观看一区二区| 艳妇乳肉豪妇荡乳xxx| 日韩一区二区视频在线| 麻豆91在线观看| 亚洲综合在线免费观看| 亚洲免费av网址| 91九色单男在线观看| 成人黄色av片| 国产伦精品一区二区三区视频女| 国产又黄又粗又长| 久久一区二区三区四区| 欧美日韩成人综合在线一区二区| 欧美日本高清视频| 日本免费高清不卡| 亚洲精品乱码久久久久久9色| 国产无套丰满白嫩对白| 国产原创一区二区| 色综合一区二区| 久久成人在线视频| 欧美一区2区三区4区公司二百| 日日干日日操日日射| av中文在线播放| 国产老女人精品毛片久久| 午夜激情一区二区| 久久久精品国产一区二区| 久久国产日韩欧美| 4438x全国最大成人| 99re热视频| 久久久亚洲欧洲日产国码αv| 欧美xxx久久| 成人在线中文字幕| 国产日韩成人内射视频| 日本免费观看视| 成人高清视频在线观看| 欧美日韩高清一区二区三区| 庆余年2免费日韩剧观看大牛| 国产xxxx振车| 国产在线一卡二卡| 国产一区欧美日韩| 欧美亚洲国产一区二区三区va| 午夜精品久久久久久久99热 | 亚洲国产97在线精品一区| 国产日本欧美一区二区三区| 超碰在线97免费| 无码人妻丰满熟妇区bbbbxxxx| 久久日韩粉嫩一区二区三区| 日韩精品视频在线播放| 精品欧美国产| 中文字幕乱码在线| 婷婷五月综合激情| 色综合色综合色综合| 91av在线免费观看视频| 5月婷婷6月丁香| 五月婷婷激情视频| 国产精品毛片大码女人 | 国产精品久久精品国产| 精品亚洲视频在线| 国产欧美综合视频| 亚洲国产视频网站| 26uuu另类亚洲欧美日本一 | 国产97免费视频| 国产福利电影一区二区三区| 精品久久人人做人人爱| 国内精品二区| 国产成人一区二区在线观看| 麻豆一区二区99久久久久| 91精品国模一区二区三区| 国产区一区二区三区| 成年人在线观看av| 美女尤物国产一区| 91麻豆精品国产91久久久久久久久 | 欧美成人精品欧美一级私黄| 99久久国产综合精品色伊| 亚洲天堂视频在线观看| 一区二区三区久久网| 精品小视频在线观看| 亚洲国产精品激情在线观看| 久久在精品线影院精品国产| 少妇高潮毛片色欲ava片| 波多野结衣视频观看| 亚洲综合视频在线观看| 国产精品www色诱视频| 四川一级毛毛片| 日韩高清电影一区| 欧美成人aa大片| 日韩av高清| 久久久91视频| 亚洲视频中文字幕| 欧洲亚洲免费视频| 日本精品一二三| 国产在线不卡一卡二卡三卡四卡| 精品视频久久久久久久| 2022中文字幕| 国产又大又黑又粗| 色老综合老女人久久久|