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

ARM-based CAN bus intelligent node

Abstract: CAN bus is a widely used real-time field bus is proposed based on ARM7TDMI core with 32-bit micro-controller CAN bus intelligent node design. Details of the ARM control (LPC2294) features, intelligent node structure and system software design, combined with actual on-site hardware anti-interference measures are given.

CAN (Controller Area Network) or Controller Area Network, CAN bus is the most widely used international fieldbus one. It was first introduced by the German company Bosch, CAN communication protocol is an internal measure for automotive components and the implementation of the agreement between the data communication.

As an advanced technology, high reliability, functional, cost and reasonable remote network communication control mode, CAN bus has been widely applied to various automatic control systems. For example, in automotive electronics, automation, intelligent building, electronic systems, security monitoring and other areas, CAN bus has the incomparable advantage. The design of the program are given CAN bus node. It uses built-in multi-CAN bus controller PLC2294 as the main controller, small size makes the node, low power consumption, interference immunity is good, and therefore particularly suitable for automotive, industrial control and medical systems and fault-tolerant maintenance bus.

A hardware design

1.1 LPC2294 features

ARM7 series with ARM7TDMI 32-bit embedded microprocessor cores is very broad application of the embedded RISC processor. The series chip size, low power consumption, low cost, high performance and flexibility, and have more registers, provide expanded enhanced dual 16/32-bit fixed-length instruction set. With 16-bit Thumb instructions can save up to 35% of the space. Also the implementation of water injection line of work also provides embedded ICE2RT logic to support the on-chip breakpoints and debugging point of support, with advanced software development and debugging environment.

ARM-based CAN bus intelligent node

The design firm selected PHILIPS LPC2294 is a powerful new ultra-low power ARM7TDMI core with 32-bit microcontroller. 144-pin package, the two 32-bit timers, Octal 10-bit ADC, four CAN channels and PWM channels and up to nine external interrupt, internal 256K bytes of embedded Flash memory and 16K bytes of high-speed static RAM, including 76 ( use of external memory) to 112 (single) a GPIO port. So rich on-chip resources can meet the needs of industrial control in general, but also can reduce the system hardware design complexity. In addition, LPC2294 JTAG support real-time simulation and tracking, 128-bit wide memory interface and a unique accelerator architecture enable 32-bit code can be up to 60MHz operating frequency of operation.


LPC2294 CAN controller within the integrated four: meet the CAN specification CAN2.0B, ISO 11989-1 standard: Bus Data Port degree can be up to 1Mbps; can access 32-bit register and RAM; global acceptance filter can identify almost all Bus 11-bit and 29-bit Rx identifiers; acceptance criteria for the selection of the filter provides an identifier FullCAN-style automatic reception.

As a core component of this design, LPC2294 only take up the role of the main controller, but also as a CAN network node controller, and other nodes in the network for data transmission and exchange.

1.2 CAN node hardware circuit

CAN node hardware circuit shown in Figure 1, the ARM microcontroller LPC2294, CAN bus transceiver TJA1050T, high-speed optocoupler 6N137 and power isolation module B0505S so on.

Master LPC2294 chip crystal frequency range of 1 ~ 30MHz. The design selected crystal frequency is 20MHz, the VPB divider by setting the internal CPU clock frequency can be improved. 256K bytes of internal high-speed Flash memory for code and data storage. For FLASH memory, built-in serial through the JTAG interface in system programming (ISP), or In-Application Programming (IAP). In order to facilitate debugging and system upgrades can be reserved for those in the design of the interface circuit.

LPC2294 dual power supply. CPU supply voltage range of 1.65 ~ 1.95V (1.8V ± 8.3%), I / O supply voltage range of 3.0 ~ 3.6V (3.3V ± 10%).

Transceiver TJA1050T CAN protocol controller and the physical is the interface between the bus, with "ISO 11898" standard is fully compatible. CANH and CANL ideal match, electromagnetic radiation can be reduced even lower. In addition, TJA1050T no power, the bus showed passive properties, which makes TJA1050T in performance is much better than the previous CAN bus transceiver. TJA1050T There are two operating modes: high-speed mode and silent mode (which by the pin "S" to control). In the high-speed mode, the bus output signal having a fixed slope, and to switch quickly as possible. High-speed mode, for maximum bit rate and maximum bus length of the case, but this time its the smallest transceiver loop delay. Silent mode is forbidden energy transmitter. It does not matter TxD input signal. CAN controller silent mode to prevent uncontrolled congestion caused when network communications.

1.3 Anti-jamming design of hardware

Applied in the design of occasions, produce more electromagnetic signals equipment, including FM equipment, audio equipment, power supply, so anti-jamming device display is particularly important. Taken the following measures:

(1) In order to further enhance the anti-interference ability of CAN-bus node, ensure that all electrical nodes is completely isolated and independent, LPC2294's TX0 and high-speed optocoupler 6N137 RX0 were the TXD to RXD and TJA1050T connected. However, it should be specified that the coupler part of the circuit to be used in two completely separate power supply, or using optocoupler also meaningless. Completely isolated power supply with low power isolated modules B0505S. Although more complex circuits, but increase the stability and security of the node.

(2) CAN bus ends plus two 120Ω resistors, two resistors for the bus impedance matching plays an important role. They will remove the interference of data communication and reliability greatly reduced, if not impossible to communicate.

(3) CANH and CANL and in parallel between the two 30pF capacitors small, you can filter out high frequency noise on the bus and have some ability to prevent electromagnetic radiation; in between two CAN bus access into the terminal the 5.6V of the TVS tube, when the CAN bus fleeing into voltage interference by TVS tube overvoltage protection circuit play a role.

(4) In order to reduce the interference field of the node, useful shielded twisted pair, and based on actual experience, do not need a shielded cable shield grounding.

2 Software

Software debugging environment using ARM's ARM core processor integrated development tools ADSv1.2. ADSv1.2 integrated assembly, C, C + + compilers and debuggers, compilers, high efficiency, providing a powerful system library to support software debugging, JTAG emulation and debugging hardware debugging. This design uses a JTAG emulation debug.

For the average 32-bit ARM applications, must be initialized before running the main program running environment, namely, the preparation of ARM chip boot code. The boot code includes exception vector table, stack initialization, storage system initialization such as initialization and target board, usually written in assembly language. For this design, the key is to write CAN driver. Main program simply by calling the driver to provide the interface for data receive and transmit, the driver includes four parts: CAN controller initialization, receive data, send data and bus exception handling. Figure 2 was the main program flow chart.

2.1 CAN controller initialization

CAN controller initialization operation including: hardware is enabled, the software reset, equipment, alarm limits, equipment bus baud rate, device interrupt work, equipment acceptance filter works, equipment and other operating mode and start the CAN. Initialization procedure is as follows:

HwEnCAN (CanEum); / / hardware enabled, CanNum = 0 ~ 3, refers to four CAN controllers
SoftRstCAN (CanNum); / / software reset registers
CANEWL (CanNum). Bits.EWL_BIT = USE_EWL_LAN [CanNum]; / / set the error warning limit
CANBTR (CanNum). Word = USE_BTR_CAN [CanNum]; / / initialize the baud rate
VICDefVectAddr = (UINT32) CANIntPrg; / / initialize the interrupt vector interrupt a non-
VICIntEnable 1 = (1 <<19) | (1 <<(20 + CanNum)) | (1 <<26 + CanNum));
CANIER (CanNum). Word = USE_INT_CAL [CanNum];
CANAFMR.Bits.Accbp_bit = 1; / / configure the acceptance filter (bypass state, the acceptance filter mask)
CANMOD (CanNum). Bits.TPM_BIT = USE_TPM_CAN [CanNum]; / / initialization mode
CANMOD (CanNum). Bits.LOM_BIT = USE_MOD_CAN [CanNum];
SoftEnCAN (CanNum); / / Start CAN

LPC2294 on-chip peripherals and pin connection from the pin connecting the module control. CAN controller is enabled by software, hardware devices to control the GPIO registers multiple switches, the specific pin and connect the CAN controller. The CAN registers in the device must be carried out before the software reset, this is because some of CAN registers must be read and write in the soft reset state.

It is worth noting, LPC2294 CAN controller for all the global search function to receive the identifier. 2KRAM can accommodate 1,024 standard identifier or extended identifier 512 or a mixture of two types of identifiers. Software, may set stored in the RAM 1 to 5 form the identifier. CAN controller SJA1000, compared with independent, it can more easily arbitrary complex filter to filter ID, the ID of the receiver to meet the complex filtration requirements. This will undoubtedly greatly reduce the complexity of the system software design and run-time burden. Acceptance filter settings work, you must create a LUT preferred form, the designated start address of each table, with the actual ID address initialize the form. Final acceptance filter mode register set. If the node does not take the initiative to send data, choose the bus into sleep mode when inactive.

 

2.2 data transmission

Will send the data to be packaged into line with CAN protocol frame format, can be written to send a relief station area, and automatically sent. Figure 3 is sending subroutine flow chart.

Send buffer before writing to inquire about their status. LPC2294 CAN controller in each of the three to send the buffer zone, their status can check CANSR know. Only when there is space in which to send the data buffer that was written. Sending large amounts of data, this step is particularly important, will not guarantee the reliability or send. Start sending successful only through the query CANGSR of TCS-bit or configuration sent successfully interrupt to determine whether the data sent successfully.

ARM-based CAN bus intelligent node

2.3 Data Receiver

Query can be used to receive data mode or interrupt mode. A certain period of time, CAN bus is not always in the activities, in order to improve efficiency, can be used interrupt. In the initialization process must be able to receive interrupts. In the interrupt service routine to read the CANICR, to determine whether to receive interrupt flag, there is data to read receive buffer. Receive buffer data in order to prevent overflow, can open up a loop to receive data queue to temporarily store data, the main program will check the queue to get through the bus data.

2.4 exception handling

Online Bus serious case of failure, CAN nodes may be out of the bus, then the following register bit is set: CANSR the BS bit, CANIR of BEI bit and EI-bit (if enabled) and CANMOD the RM bit. RM CAN controller function will reset and many prohibited. Software the next step must be set to zero RM bit. Send error counter will decrease the release conditions count bus (11 consecutive recessive bits) of section 128 do. Software can read the Tx error counter on the counter to monitor the situation descending count.

In the application, if the previous transmission to the CAN controller's data has not been read out, while the receive buffer has not timely release of information is likely to cause behind the loss. Then must write the command register to clear CANSR data overflow bit. These two exceptions can be handled by interrupt exception, as long as the interrupt handling code can be added subroutine. Other bus exception handling can decide whether the use of software processing.

In short, the software is very important in the preparation and planning. ARM7TDMI RISC instruction set is based, and has a 32-bit Thumb ARM/16 SR double that call each other. Therefore, in order to improve code density and performance do not ask some of the Thumb instruction set code can be written.

Since the program small, low power consumption, interference and good, has been applied to complex electromagnetic environment of a vehicle communication equipment, the project meets the requirements of section CAN network points.

Declined comment

人妻 日韩精品 中文字幕| 久久久久99精品久久久久| 亚洲精品国产品国语在线| 亚洲最大的av网站| 国产精品久久久久久亚洲色| 激情五月色婷婷| 国产乱码精品一区二区三区av| 成人午夜视频网站| 亚洲欧美精品suv| 成人综合色站| 美女又黄又免费的视频| 97精品人妻一区二区三区在线| 亚洲精品视频在线| 精品国产区一区二区三区在线观看| 日韩av在线电影观看| 波多野结衣av在线免费观看| 亚洲色欧美另类| 都市激情亚洲色图| 91网在线免费观看| 香蕉视频在线观看黄| 国产剧情一区在线| 一区二区成人av| 欧美一级免费播放| 亚洲午夜无码久久久久| 亚洲视频 欧洲视频| 久久乐国产精品| 手机免费av片| 国产综合久久久久影院| 亚洲成人性视频| 亚洲ai欧洲av| 精品久久久久久久久久久国产字幕| 亚洲午夜免费视频| 91在线网站视频| 五月天婷婷丁香| 一本色道久久综合精品竹菊| 精品无人区一区二区三区| 波多野结衣亚洲一区二区| 一区二区三区四区在线| 国产成人一区二区| 国产一级视频在线观看| 亚洲福利一区二区三区| 成人av网站观看| 中文字字幕在线中文| 欧美一级淫片007| 久久人人九九| wwwav国产| 色伊人久久综合中文字幕| 中文视频一区视频二区视频三区 | 最近2019中文免费高清视频观看www99 | 成人福利电影精品一区二区在线观看| 欧美一区二区三区免费视| 久久久无码精品亚洲国产| 日韩网站在线看片你懂的| 一本色道久久亚洲综合精品蜜桃 | 国产精品夜夜夜爽阿娇| 在线成人av影院| 久久发布国产伦子伦精品| 亚洲精品国产a| 阿v天堂2017| 国产精品免费人成网站| 中文字幕在线观看一区二区三区| 国内精品免费**视频| 国产剧情久久久久久| www.天堂av.com| 国产va免费精品高清在线| 国产精品尤物视频| 麻豆av一区二区三区| 老牛嫩草一区二区三区日本 | 国产精品成人一区二区艾草| 不卡中文字幕在线| 美女网站在线免费欧美精品| 国产做受69高潮| 女性裸体视频网站| 日韩精品免费在线视频观看| 亚洲国产精品自拍视频| 亚洲综合清纯丝袜自拍| 日韩中文字幕在线不卡| 成人免费看视频| 日本午夜精品一区二区| av中文字幕在线不卡| 影音先锋欧美资源| 国产精品成人免费精品自在线观看| 一区二区三区在线视频111| 男人的j进女人的j一区| 国产精品激情自拍| www.麻豆av| 国产成人一区二区三区| 在线观看国产小视频| 久久久久久亚洲| 亚洲欧美另类一区| 国产日韩中文在线| 后进极品白嫩翘臀在线视频| 成人a视频在线观看| 五月激情丁香婷婷| 亚洲综合一区二区不卡| 麻豆一区二区在线| 国产精品视频福利| 精品一区二区影视| 欧美大片在线播放| 欧美性极品少妇| 综合 欧美 亚洲日本| 欧美激情一二区| 日本黄色不卡视频| 国产精品裸体一区二区三区| 免费观看在线综合| 经典三级在线视频| 欧美日韩国产丝袜另类| 综合一区中文字幕| 国产精品国产成人国产三级| 免费日韩视频在线观看| 污片在线观看一区二区| 麻豆changesxxx国产| 91亚洲一区精品| 中文字幕免费不卡在线| 国产欧美高清在线| 欧美精品久久久久久久久老牛影院| 日韩一级片播放| 欧洲国内综合视频| 国产日产精品一区二区三区| 91九色国产在线| 夜夜嗨av一区二区三区网页| 亚洲一区电影在线观看| 97自拍视频| 成人a区在线观看| 大桥未久恸哭の女教师| 日韩在线播放视频| 久久青草久久| 国产三级三级三级看三级| 中文字幕亚洲字幕| 国产剧情一区二区三区| 午夜视频在线免费看| 久久久久久久一区二区| 国产1区2区3区精品美女| 手机在线播放av| 国产午夜精品理论片a级探花| 久久午夜av| 日本一卡二卡在线| 2014亚洲精品| 亚洲成人自拍网| 国产丝袜在线视频| 免费无码不卡视频在线观看| 欧美三级三级三级| 91激情在线观看| 久久久久99精品成人片| 亚洲偷熟乱区亚洲香蕉av| 国产大陆a不卡| 99精品中文字幕| 极品日韩久久| 亚洲成av人影院在线观看| 人妻与黑人一区二区三区| 色黄视频免费看| 久久夜精品va视频免费观看| 国产亚洲精品久| 免费在线观看黄视频| www.欧美黄色| 午夜精品视频在线| 欧美日韩免费高清一区色橹橹 | 精品va天堂亚洲国产| 国产精品亚洲视频| 97超碰人人干| 中文字幕无码不卡免费视频| 亚洲精品自拍视频| 成熟亚洲日本毛茸茸凸凹| 成年人午夜视频| 蜜臀视频一区二区三区| 91精品国产综合久久久久久蜜臀 | 成人欧美视频在线| 亚洲国产天堂久久国产91 | 亚洲女优在线观看| 欧美深夜福利视频| 国产精品露脸自拍| 精品福利一二区| 亚洲桃色在线一区| 成人爽a毛片一区二区| 亚洲av成人片色在线观看高潮| 一区二区三区国产福利| 国产不卡精品视男人的天堂| 精品国产91洋老外米糕| 亚洲天堂中文字幕| 黄色美女一级片| 国产精品扒开腿做爽爽| 亚洲精品一品区二品区三品区| 九九视频直播综合网| 在线观看国产91| av在线不卡免费看| 久久综合亚州| 国产伦精品一区二区三区视频痴汉 | 日韩a级黄色片| 精品国产一区二区三区免费| 欧美日韩国产成人在线| 欧美一区二区三区婷婷月色| 91色乱码一区二区三区| 天天综合永久入口| 亚洲欧美自拍视频| 国产真实的和子乱拍在线观看| 中文字幕人妻一区| 亚洲怡红院在线| 日韩精品视频在线观看视频 | 成人黄色免费视频| 亚洲第一网站在线观看| 91香蕉视频网| 欧美 日韩 成人| 路边理发店露脸熟妇泻火| 国产高清一区视频| 欧洲亚洲免费视频| 欧美精品福利在线| 精品一区二区三区四区| 国产视频精品xxxx| 欧美一区二区三区在线电影| 亚洲欧美aⅴ...| va亚洲va日韩不卡在线观看| 国产精品日韩无码| 在线观看视频二区| 91丨九色丨丰满| 精品人妻一区二区三区三区四区| 国产日韩久久久| 97人妻精品一区二区三区动漫| 久久高清免费视频| 久久这里只有精品国产| 日本特黄一级片| 欧美三级一区二区三区| 色婷婷久久综合中文久久蜜桃av| 免费视频网站在线观看入口| 亚洲图片在线播放| 国产av无码专区亚洲av麻豆| 久久精品一区| 不卡电影免费在线播放一区| 91网上在线视频| 国产成人午夜精品5599| 不卡的电视剧免费网站有什么| 久久久久99精品国产片| 精品久久久中文| 日韩一区二区免费视频| 日韩av有码在线| 欧美精品vⅰdeose4hd| 在线观看一区不卡| 亚洲国产精久久久久久| 精品国产一区二区三区久久狼黑人| 欧美噜噜久久久xxx| 成人国产精品一区二区| 一区二区不卡视频| 能看的毛片网站| 最新在线黄色网址| 日本免费一二三区| 无码国精品一区二区免费蜜桃| 91视频www| 91精品国产综合久久福利软件 | 国产123在线| 天天综合久久综合| 91偷拍与自偷拍精品| 亚洲一二三区在线观看| 日韩精品亚洲元码| 欧美一区二区三区免费视| 51精品国产人成在线观看| www国产精品内射老熟女| 一起操在线播放| 蜜桃视频在线观看一区二区| 亚洲一区在线观看免费观看电影高清| 欧美在线免费观看亚洲| 色偷偷888欧美精品久久久| 国产视频福利一区| 欧美又粗又长又爽做受| 69xxx免费| 无码国产精品一区二区免费16| 国产丝袜欧美中文另类| 日韩久久精品电影| 国产女主播一区二区| 国产一区二区在线观看免费视频| 免费的毛片视频| 久久精品欧美日韩精品| 亚洲国产古装精品网站| 国精产品一区一区三区有限在线| 在线观看视频黄色| 欧美国产日韩在线观看成人| 成人av在线观| 夜夜嗨av一区二区三区免费区| 欧美中文娱乐网| 国产精品麻豆免费版现看视频| 欧美96一区二区免费视频| 色综合久久久久| 国产精品入口尤物| 俄罗斯黄色录像| 色一情一乱一乱一区91av| 亚洲久草在线视频| 国产精品一区久久| 午夜宅男在线视频| 丝袜a∨在线一区二区三区不卡| 欧美一区二区三区公司| 福利视频久久| www.com.av| 久久久久久久久久美女| 久久人人爽国产| 精品久久久久av| 国产精品伦理一区| 欧美精品视频www在线观看 | 亚洲精品国产片| 精品国产免费视频| 四虎4hu永久免费入口| 99久久久久久久| 51精品秘密在线观看| 精品日产一区2区三区黄免费| 久草成人在线视频| 午夜精品久久久久久久99樱桃| 动漫美女被爆操久久久| 日韩国产第一页| 亚洲国产中文字幕在线视频综合| 国产伦精品一区二区三区免| 国产女人被狂躁到高潮小说| 色综合久久久久综合体| 国产女主播一区二区| 九九九免费视频| 欧美在线不卡一区| 亚洲第一综合网站| 96日本xxxxxⅹxxx17| 日韩精品在线网站| 久久精品国产sm调教网站演员| 日韩电影一二三区| 中文字幕日韩专区| av在线网站免费观看| 久久午夜羞羞影院免费观看| 亚洲影院在线看| 中文字幕码精品视频网站| 亚洲片在线观看| 欧美性久久久久| 国产亚洲一二三区| 裸模一区二区三区免费| 午夜精品久久久久久久99热黄桃 | 日韩精品五月天| 欧美精品电影免费在线观看| 日韩在线不卡av| 制服丝袜中文字幕一区| 成人高清在线观看视频| 99国产精品国产精品久久| 国产a一区二区| 亚洲免费黄色网址| 亚洲精品中文字| 黑丝av在线播放| 午夜精品久久久久久久久久 | 性中国古装videossex| 欧美在线亚洲一区| jizz国产在线观看| 欧美黄网免费在线观看| 特黄视频免费看| 国语自产精品视频在免费| 亚洲一区 视频| 亚洲跨种族黑人xxx| 欧美亚洲色综久久精品国产| 欧美成人精品1314www| 国精产品一区一区三区免费视频| 欧美群妇大交群中文字幕| 天天干天天玩天天操| 亚洲国产日韩a在线播放| 能看的毛片网站| 精品久久久国产精品999| 51自拍视频在线观看| 欧美不卡一区二区三区| 日本黄色免费观看| 亚洲国产黄色片| 91视频综合网| 久久久精品久久久| 在线视频你懂得| 国产91亚洲精品一区二区三区| 蜜臀精品久久久久久蜜臀 | 欧美在线观看不卡| 国产精品久久久久久久app| 捆绑变态av一区二区三区| 亚洲综合第一| 国产精品电影一区二区| www.日本久久| 亚洲精品动漫100p| 国产老女人乱淫免费| 欧美成人蜜桃| 亚洲色图一区二区| 国产国语老龄妇女a片| 夜夜嗨av一区二区三区免费区| 中文字幕第三页| 热re99久久精品国产66热| 不卡免费追剧大全电视剧网站| 国产精品动漫网站| 亚洲黄色www| 欧美亚洲另类小说| 国产一区二区高清不卡| 五月激情六月综合| 日韩精品一区二区av| 99爱精品视频| 亚洲精品视频在线| 亚洲精品成人无码| 77777亚洲午夜久久多人| 成人精品国产一区二区4080| 日韩中字在线观看| 91精品国产综合久久久蜜臀图片 | 中文字幕乱码免费| 欧美高清hd18日本| 99热这里只有精品在线| 日韩片电影在线免费观看| 亚洲午夜一二三区视频| 精品国产av色一区二区深夜久久| 热久久美女精品天天吊色| 男男成人高潮片免费网站| www.激情小说.com| 欧美大胆a视频| 国产清纯白嫩初高生在线观看91 | 日韩欧美在线视频免费观看| 欧美一级黄视频| 97视频在线免费| 高清欧美一区二区三区| 国产精品嫩草久久久久| 日韩精品成人在线| 99亚洲精品视频| 亚洲欧美日韩视频一区|