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

The CAN bus based on 82 527 smart sensor node design

Abstract: This paper introduces a kind of independence of 8051 and 82527 CAN bus controller core component of the CAN bus design method of smart sensor nodes and gives the hardware schematics and initialization procedures.

Introduction

CAN (Controller Area Network, Controller Area Network) from the industrial field bus, a German Bosch company of the 20th century the early 80s as a solution in many modern vehicle control and test instruments developed for data exchange between a communication protocol. November 1993, ISO issued a formal high-speed local area network communication control (CAN) international standard (ISO11898). CAN bus system in the field of data collection completed by the sensor, at present, the sensor with CAN bus interface type is not much more expensive price. This article describes a 8051 and 82,527 by the independent CAN bus controller core components of the intelligent node circuit, formed the basis of ordinary sensors can receive 8 analog inputs and smart sensor nodes.

The CAN bus based on 82 527 smart sensor node design

1 Introduction independent CAN bus controller 82527

Intel 82527 is produced by independent CAN bus controller, through the parallel bus with Intel and Motrorola controller interface; support the CAN 2.0B standard protocols, with the receive and transmit functions and can complete the message filtering. 82 527 manufacturing process by CHMOS 5V, 44-pin PLCC package, use the temperature of -44 ~ 125 ℃, the pin arrangement and definitions see [1].

(1) 82 527 of the clock signal

82 527 run by the two kinds of clock control: the system clock SCLK and register clock MCLK. Obtained from the external crystal SCLK, MCLK SCLK frequency was on. CAN bus bit timing according to the frequency of SCLK, while the MCLK to provide the clock for the register operation. SCLK frequency can be equal to an external crystal XTAL, it can be the frequency 1 / 2; MCLK or SCLK frequency can be equal to the frequency of 1 / 2. After system reset the default setting is SCLK = XTAL / 2, MCLK = SCLK / 2.

(2) 82 527 working mode

82527 5 working modes: Intel mode 8-bit time-multiplexed mode; Intel 16-bit time division multiplexing manner mode; serial interface mode; non-Intel 8-bit time division multiplexing manner mode; 8-bit non-time division multiplexing mode. In this paper, Intel 8-bit time division multiplexing manner mode, this time 82 527, 30 and 44 feet grounded.

(3) 82527 register structure [2]

82527 register address is 00 ~ FFH. The following registers which are introduced as needed.

① Control Register (00H):

76,543,210
0 CCE 0 0 EIE SIE IE INIT

CCE - change the configuration allows bit, high efficient. Effective when the bit configuration registers allow the CPU 1FH, 2FH, 3FH, 4FH, 9FH, AFH write.

EIE - Error interrupt allows spaces, high efficient. The position generally set to 1, when the number of bus error exception generated interrupt CPU.

SIE - Status change interrupt allows spaces, high efficient. The position normally set to 0.

IE - Interrupt Enable bit, high efficient.

INIT - initialize software allows spaces, high efficient. The bit valid, CAN stop sending and receiving messages, TX0 and TX1 recessive level 1. Hardware reset and the bus turned off the bit is set.

② CPU Interface register (02H):

76,543,210
RSTST DSC DMC PWD SLEEP MUX 0 CEN

RSTST - hardware reset status bits. The bit is written by the 82 527 for 1 hardware reset activation, are not allowed on the 82,527 visits; to 0 to allow access to the 82,527.

DSC - SCLK frequency spaces. The bit is 1, SCLK = XTAL / 2; to 0, SCLK = XTAL.

DMC - MCLK frequency spaces. The bit is 1, MCLK = SCLK / 2; to 0, MCLK = SCLK.

PWD - Power-down mode enable bit, high efficient.

SLEEP - Sleep mode enable bit, high efficient.

MUX - low-speed physical layer multiplexing flag. The bit is 1, ISO low speed physical layer activation, PIN24 = VCC / 2, PIN11 = INT # (# that take anti-); the bit is 0, PIN24 = INT #, PIN11 = P2.6.

CEN - clock output enable bit, high efficient.

③ Standard Global Mask Register (06 ~ 07H). The register has a standard identifier for the packet, or packets XTD set 0 register. The approach is called message receiver filtering. When a is 1, the corresponding packet identifier bits must match; to 0, do not match.

④ extended global mask registers (08 ~ 0BH). The register is used to extend the message format, or set a packet XTD register, its role and ③ the same.

76,543,210
0 COBY POL 0 DCT1 0 DCR1 DCR0

⑤ bus configuration register (2FH):

COBY - bypass input comparator flag, active HIGH.

POL - Polarity flag. 1, if the bypass input comparator, RX0 dominant input logic 1, logic 0 is hidden; to 0, and vice versa.

DCT1 - TX1 output cut off control bit. To 1, TX1 output is not driven, the model case for a bus, two differential wires short-circuit; to 0, TX1 output is driven.

DCR1 - RX1 input cut off control bit. To 1, RX1 comparator inverting input terminal is disconnected, connected to VCC / 2; to 0, RX1 comparator connected to the inverting input terminal.

DCR0 - RX0 input cut off control bit. Role and DCR1 same time RX0 comparator connected to the inverting terminal.

76,543,210
SJW BRP

⑥ Bit Timing Register 0 (3FH);

SJW - Synchronization Jump Width bits field, programmed value of 1 to 3.

BRP - baud rate frequency bit field, programmed value of 0 to 63.

76,543,210
SPL TSEG2 TSEG1

⑦ Bit Timing Register 1 (4FH):

SPL - sampling mode flag. 1 for each sampled three times; 0 1 for each sample.

TSEG1 - time a field value of 2 to 15 programming.

TSEG1 - time two games, programming value of 1 to 7.

Baud rate = XTAL / [(DSC 1) * (BRP 1) * (3 TSEG1 TSEG2)]

⑧ message register (1 of each register byte address as the base address BASE).

76,543,210
BASE 0 MSGVAL TXIE RXIE INTPND
BASE 1 RMTPND TXRQST MSGLST / CPUUPD NEWDAT

◇ control register 0,1 (BASE 0, BASET 1)

MSGVAL - Message register valid flag, active HIGH. 10 set, 01 reset.

TXIE - Send interrupt to allow flag, active HIGH. 10 set, 01 reset.

RXIE - Receive interrupt flag to allow, high efficient, 10 set, 01 reset.

INTPND - interrupt flag bit applications, active HIGH. 10 set, 01 reset.

RMTPND - remote frame for flag, active HIGH. 10 set, 01 reset.

TXRQST - request to send flag, active HIGH. 10 set, 01 reset.

MSGLST - packet loss flag is only used to receive message registers. 10 indicates that no newspaper article covered by the new message, 01 that are not covered.

CPUUPD - CPU update flag is only used to send messages register. 10 packets being sent 01 messages can be sent.

NEWDAT - new data flag. 10 that new data is written to the register, 01, said no new data is written.

◇ arbitration register 0,1,2,3 (BASE 2-BASE 5)

Stored message identifier.

76,543,210
DLC DIR XTD reserved

◇ message configuration register (BASE 6)

DLC - Data length code, the programming value of 0 ~ 8.

DIR - Direction flag. 1 sent, 0 received.

XTD - standard / extended identifier flag. An extension identifier, 0 standard identifier.

◇ Data register (BASE 7-BASE 14)

82,527 store packets, the 8 data bytes are written, not used bytes of data is random.

2 hardware design

Intelligent node circuit shown in Figure 1 (shown in 6264 spent).

In hardware design, complete by the ADC0809 8-channel analog set conversion, and the 8051 inquiry by way of exchange of information, address BFF8 ~ BFFFH, its clock frequency obtained by the ALE 2; 82,527 to complete the exchange of information with the CAN bus. The design, bypass the input comparators, and the 8051 information exchange with interrupt, address 7F00 ~ 7FFFH, can use 82,527 of the P1 and P2 port on the switch port traffic acquisition or control of the relay. 82C250 provides 82 527 and the physical interface between the bus and improve capacity to receive and send. Program memory can be expanded as needed.

3 Software Design

The design software is written in MCS-51 assembly, the block diagram shown in Figure 2.

The CAN bus based on 82 527 smart sensor node design

82527 initialization procedure is as follows:

INT: MOV DPTR, # 0FF02H
MOV A, # 00H
MOVX @ DPTR, A; SCLK = XTAL
; MCLK = SCLK, CLKOUT valid
MOV DPTR, # 0FF00H
MOV A, # 41H
MOVX @ DPTR, A; Set CCE, INIT
MOV DPTR, # 0FF2FH
MOV A, # 48H
MOVX @ DPTR, A; bypass input comparator to set a hidden, 0 is dominant, RX1 invalid
MOV DPTR, # 0FF3FH;
MOV A, # 43H;
MOVX @ DPTR, A; SJW = 2, BRP = 3
MOV DPTR, # 0FF4FH
MOV A, # 0EAH
MOVX @ DPTR, A; SPL = 1, TSEG1 = 7, TSEG2 = 6 then the baud rate is 100Kbps
MOV DPTR, # 0FF00H;
MOV A, # 01H
MOVX @ DPTR, A; prohibit access to the configuration register
MOV DPTR, # 0FF10H;
MOV A, # 55H;
MOVX @ DPTR, A;
INC DPTR;
MOVX @ DPTR, A;
*
*
*
MOV DPTR, # 0FFF0H;
MOV A, # 55H;
MOVX @ DPTR, A
INC DPTR;
MOVX @ DPTR, A; message control bit register initialization
MOV R0, # 06H;
MOV DPTR, # 0FF06H;
MOV A, # 0FFH;
L1: MOVX @ DPTR, A; message identifier need all the match
INC DPTR
DJNZ R0, L1;
MOV DPTR, # 0FF16H;
MOV A, # 8CH; message register 1 can be extended to send 8 bytes packet
MOVX @ DPTR, A;
MOV DPTR, # 0FF26H;
MOV A, # 84H;
MOVX @ DPTR, A; message register 2 can be extended to receive eight-byte packets
MOV DPTR, # 0FF00H;
MOV A, # 00H;
MOVX @ DPTR, A; Initialization end
RET

Declined comment

中文字幕免费高清| 色香蕉在线观看| 亚洲高清免费观看 | 中文字幕欧美精品日韩中文字幕| 精品视频一二三区| 91亚色免费| 亚洲综合在线第一页| 亚洲色图27p| 麻豆久久久9性大片| 欧美亚洲高清一区二区三区不卡| 91久久国产综合久久91| 亚洲伊人一本大道中文字幕| 亚洲h在线观看| 国产精品乱码久久久| 亚洲一区二区三区涩| 亚洲高清福利视频| 欧美在线 | 亚洲| 一区二区三区四区毛片| 欧美一区二区视频97| 国产精品二三区| 熟女少妇一区二区三区| 国产91视觉| 精品国产乱码91久久久久久网站| 中文字幕精品一区二| 中文字幕免费高清网站| 亚洲一区 欧美| 欧美另类高清视频在线| 亚洲成人1234| 亚洲一本大道在线| 99久久免费精品高清特色大片| 国产精品免费一区| 在线视频亚洲一区| 成人毛片在线精品国产| 小早川怜子一区二区三区| 国产欧美一区二区三区久久人妖| 国产亚洲成aⅴ人片在线观看| 特黄一区二区三区| 国产女人18毛片| 亚洲免费视频一区二区| 美女视频黄 久久| 精品人妻无码中文字幕18禁| 成人欧美一区二区三区在线观看| 91精品国产高清一区二区三区蜜臀 | 全程偷拍露脸中年夫妇| 成人网站免费观看入口| 国产欧美日韩丝袜精品一区| 日韩成人中文字幕| 中文字幕电影一区| 中文字幕在线欧美| 成人在线观看黄| 国产精品日韩欧美一区二区三区| 欧美一级欧美一级在线播放| 91日韩一区二区三区| 精品人妻无码一区二区色欲产成人 | 国产综合成人久久大片91| 日韩一区二区不卡视频| 亚洲成色www.777999| 国产精品无码专区在线观看 | 免费在线观看日韩| 国产精品国产三级国产专区51| 国产成人一区二区三区电影| 色天使色偷偷av一区二区 | 中文字幕第66页| 日本天堂免费a| 国产乱码精品一区二区三区卡| 亚洲激情成人网| 欧美视频专区一二在线观看| 国产欧美一区二区精品性色| 久久99精品久久久久婷婷| 中文字幕制服诱惑| 久久精品视频8| 中国黄色片视频| 久草在在线视频| 四虎影院一区二区| 日本成熟性欧美| 精品国产免费人成电影在线观看四季| 国产欧美日韩三级| 国产乱码精品一品二品| 姑娘第5集在线观看免费好剧| 国产视频精品免费| 人人妻人人澡人人爽人人精品| 亚洲这里只有精品| 92看片淫黄大片一级| 日韩精品一区二区免费| 国产高清在线精品一区二区三区| 国产91色在线免费| 91av免费观看91av精品在线| 久久夜色精品亚洲噜噜国产mv| 亚洲大胆人体av| 精品福利一区二区| 一区二区视频免费在线观看| 成人精品免费视频| 成人一区在线看| 国产成人免费视频一区| 伊人网综合在线| 国产av 一区二区三区| 国产精品无码网站| 最新中文字幕视频| 欧美日韩在线观看不卡| 国产又大又黄又粗又爽| 日本成人在线免费视频| 浓精h攵女乱爱av| 久章草在线视频| 黄色免费观看视频网站| 永久免费网站视频在线观看| 国产传媒欧美日韩| 国产一区二区在线免费| 51蜜桃传媒精品一区二区| 国产精品久久久久久婷婷天堂 | 久久久午夜精品理论片中文字幕| 青青草91视频| 成人av在线资源网站| 成人午夜激情片| 国产精品剧情在线亚洲| 亚洲第一精品在线| 欧美日韩你懂得| 欧美日韩专区在线| 在线观看精品一区| 亚洲精品wwwww| 精品久久久久av影院| 欧美一区二区三区免费视频| 欧洲一区在线电影| 亚洲国产一区自拍| 精品亚洲一区二区三区| 美女999久久久精品视频| 国产精品老牛影院在线观看| 好吊色欧美一区二区三区视频| 成人免费观看a| 视频一区不卡| 中文字幕一区二区三区四区五区人| 日本一区免费| 国产对白在线播放| 波多野结衣家庭教师在线| 国模大尺度视频| 91精品国产高清一区二区三蜜臀| 国产精品第56页| 91精品国产品国语在线不卡| 欧美日韩午夜视频在线观看| 欧美精品1区2区3区| 亚洲国产日韩欧美在线图片| 亚洲精品视频中文字幕| 欧美一级淫片videoshd| 国产综合精品一区二区三区| 日本一区二区三区视频免费看| 亚洲图片都市激情| 男人添女人下部视频免费| 天天做天天干天天操| 久草视频免费在线播放| 免费观看成年人视频| 免费看欧美女人艹b| 久久久久高清精品| 91精品婷婷国产综合久久性色| 久久久999成人| 国模精品娜娜一二三区| 免费的av在线| 特级西西人体4444xxxx| 国产三级av片| 久久精品国产77777蜜臀| 国产日产欧产精品推荐色 | 欧美日韩成人综合| 久久久99久久精品女同性| 国产成人avxxxxx在线看| 久久久成人精品一区二区三区| 88av.com| 888奇米影视| 成人免费三级在线| 色综合视频在线观看| 久久精品小视频| 久久久久无码国产精品一区| www.夜夜爽| 久久精品www人人爽人人| 神马午夜精品95| 亚洲一区中文日韩| 在线视频欧美性高潮| 久久精品国产精品青草色艺 | 毛片不卡一区二区| 国产精品久久久久精k8| 亚洲性猛交xxxxwww| 成人av免费电影| www.久久av.com| 日韩不卡视频在线| 91美女视频网站| 精品国产免费一区二区三区香蕉| 欧美中文字幕视频在线观看| 青青视频在线播放| 日韩视频在线观看一区| 一级做a爱片性色毛片| 18成人在线观看| 国产亚洲精品美女久久久久| 亚洲视频在线二区| 国产午夜精品一区二区理论影院| 99免费精品在线| 亚洲图片在线综合| 日本a在线天堂| 中文字幕人妻丝袜乱一区三区| 亚洲男人的天堂在线观看| 国产精品99蜜臀久久不卡二区 | 91po在线观看91精品国产性色| 亚洲这里只有精品| 日韩国产精品大片| 亚洲高清在线观看| 丰满的少妇愉情hd高清果冻传媒 | 亚洲国产精品狼友在线观看| 亚洲精品第五页| 日韩欧美高清一区| 水蜜桃亚洲精品| 国产黄色免费观看| 色噜噜狠狠成人网p站| 国产伦理久久久| 久久免费黄色网址| 成人网页在线观看| 亚洲精品免费一区二区三区| 中文字幕av免费在线观看| 午夜国产精品一区| 久热这里只精品99re8久| 国产激情在线免费观看| 天堂在线资源库| 超碰在线97免费| 亚洲欧美视频二区| 天天综合网在线观看| 亚洲а∨天堂久久精品喷水 | 韩国一区二区三区美女美女秀 | 激情av一区二区| 91久久精品国产91久久| 一级黄色片毛片| 国产精品无码永久免费888| 日本精品久久久久影院| 日本不卡视频一区| 中文字幕欧美国产| 亚洲最大成人网色| 麻豆成人在线视频| 亚洲欧美日韩小说| 久久99国产精品99久久| 日韩 欧美 亚洲| 在线观看亚洲精品| 国产高清不卡无码视频| 视频一区在线播放| 日韩综合中文字幕| 黄色正能量网站| 国产蜜臀97一区二区三区| 91成人理论电影| 国内毛片毛片毛片毛片毛片| 欧美日韩一区免费| 亚洲黄色网址在线观看| 日韩电影一二三区| 国产精品九九九| 日韩aaaaaa| 欧美精品一区二区三区很污很色的| 国产视频一区二区三区在线播放| 美女诱惑一区二区| 久久久久久久久久国产精品| 日韩乱码人妻无码中文字幕久久| 亚洲国产日韩一级| 特级西西444| 国产ts变态重口人妖hd| 久久久精品国产| 国产精品美女高潮无套| 在线观看91精品国产麻豆| 亚洲一二三av| 夜夜嗨av一区二区三区中文字幕| 无码免费一区二区三区免费播放| 国产精品自拍一区| 亚洲综合视频1区| 六月婷婷综合网| 91国产精品91| 中文字幕男人天堂| 久久全国免费视频| 日本黄色一级视频| 欧美日韩国产二区| 五月婷婷一区二区| 中文字幕av一区中文字幕天堂| 国精品无码人妻一区二区三区| 欧美三片在线视频观看| 99福利在线观看| 中文字幕日韩精品一区| 欧美日韩激情四射| 久久超碰97中文字幕| 精品免费视频123区| 日韩不卡一二三区| 国产精品jizz视频| 国内精品视频666| 亚洲蜜桃av| 国产精品美女久久久久久2018| 黄色网络在线观看| 中文字幕在线不卡视频| 国产盗摄视频在线观看| 日韩理论片网站| 黄色永久免费网站| 偷拍一区二区三区四区| 精品国产午夜福利在线观看| 91精品麻豆日日躁夜夜躁| a天堂视频在线观看| 8x8x8国产精品| 国产sm调教视频| 精品小视频在线| 尤物视频免费观看| 欧美在线影院在线视频| 蜜臀国产一区二区三区在线播放| 欧洲亚洲一区| 久久久久亚洲综合| www.51色.com| 精品国产亚洲一区二区三区在线观看| 青青操国产视频| 奇门遁甲1982国语版免费观看高清 | 三级不卡在线观看| 亚洲砖区区免费| 一本大道久久a久久精品综合| 国产熟女高潮一区二区三区 | 婷婷色一区二区三区| 亚洲精品第一页| 日韩视频在线观看一区| 91精品国产91久久久久青草| 国产精品伊人色| 99亚洲国产精品| 欧美日韩你懂的| 国产精选第一页| 国产乱码一区| 久久久久9999亚洲精品| 国产xxxxhd| 欧美xxxx18国产| 国产在线观看一区二区| 欧美日韩在线观看不卡| 亚洲一区二区黄| 国产麻豆欧美日韩一区| 国产精欧美一区二区三区白种人| 亚洲欧洲国产伦综合| 精品制服美女久久| 伦理片一区二区| 人九九综合九九宗合| 国产欧美精品一区二区色综合朱莉| 911亚洲精选| 日韩美女福利视频| 欧美极品xxx| 青青草原国产视频| 精品国产一区二区三区久久久久久| 成人免费在线视频| 久久一区二区三| 欧美激情国产日韩| 欧美性生活大片视频| 视频三区二区一区| av一区二区久久| 亚洲天堂精品一区| 欧美日本国产精品| 日韩欧美一级二级三级久久久| 精品人妻aV中文字幕乱码色欲| 日本老熟妇毛茸茸| 欧美激情视频一区| 欧美激情综合五月色丁香小说| 免费在线观看黄视频| 亚洲伊人婷婷| 一区二区三区在线播放欧美| 国产福利视频一区二区三区| 黄色正能量网站| 欧美不卡在线一区二区三区| 亚洲精品videossex少妇| 国产一区二区91| 顶级黑人搡bbw搡bbbb搡| 在线亚洲美日韩| 欧美激情a∨在线视频播放| 一区二区三区在线观看国产| 国产农村老头老太视频| 91精品人妻一区二区三区蜜桃2 | 无码黑人精品一区二区| 亚洲永久激情精品| 在线观看亚洲视频| 国产亚洲午夜高清国产拍精品| 日批视频免费在线观看| 国产免费中文字幕| 99久久99久久| 日韩精品一区二区三区swag | 在线观看国产精品入口男同| 美女露出粉嫩尿囗让男人桶| 国产伦理一区二区三区| 亚洲欧美综合另类中字| 国产精品久久久久aaaa| 亚洲天堂日韩av| 手机看片一级片| 91欧美精品午夜性色福利在线| 亚洲成人激情在线| 久久综合国产精品| 97人妻一区二区精品免费视频| 中文字幕一区二区三区人妻不卡| 免费观看国产视频在线| 热久久这里只有精品| 日韩激情av在线免费观看| 亚洲少妇中出一区| 成 人 免费 黄 色| www.超碰在线观看| 成熟老妇女视频| 久久国产精品-国产精品| 久久综合网hezyo| 制服丝袜成人动漫| 国产精品天干天干在观线| 麻豆国产精品一区二区三区 | 亚洲精品乱码久久| a级免费在线观看| 国产偷久久久精品专区| 欧美成人免费播放| 欧美日韩国产免费一区二区| 国产精品久久久久久久久晋中| 日韩在线a电影| 手机在线看福利| 日本一区二区久久精品| 成人黄色短视频在线观看| 麻豆成人在线看| 亚洲人成电影网站色| 欧美在线一二三| 久久久久久影视| 国产精品一级在线| 老司机精品久久|