91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫

CAN bus interface controller and the DSP

Abstract: This paper discusses CAN bus interface between controller and DSP, introduced the popular SJA1000 CAN controller chip and the TMS320 series DSP chip interface timing, and given their interface method and circuit.

Fieldbus is an open, digital, multi-point communications in local area network control system, most of today's automation technology with the application prospect of one. CAN bus is a fieldbus application hot spots, CAN bus support for distributed control and time control serial communication network. As the CAN bus with communication rate is high, open and good, short packets, error correction ability 以及 simple to control, expand capacity, low cost system, more and more attention. CAN controller based on CAN bus CAN bus communication protocol has completed all the necessary functions required, so CAN controller interface with other microprocessor design of CAN bus system as top priority. Currently there are a number of microprocessors will be embedded CAN controller to the system to become part of film making in the processor, for example, P8XC592 (the core shall be 80C51's CPU), MCS96 series 87C196CA, 87C196CB, TMS320 series In the film CAN microcontroller TMS320LF2407, TMS320F2810/F2812, but there are still a lot of people are not familiar with CAN controller microprocessor. This article discusses the microprocessor controller with CAN interface issues, focusing on TMS320 series DSP CAN controller and interface methods and interface circuit.

CAN bus interface controller and the DSP

1 CAN controller interface signals and timing

CAN controller (SJA1000 to PCX82C200 or example) for the microprocessor interface signals are mainly AD0 ~ AD7 total of eight address data lines and ALE, CS, RD, WR, RST, MODE, RESET and INT, the controller time-multiplexed data and address lines, which interface mode selection signal MODE to be used or in MODTOROLA INTEL way. Different ways as defined in Table 1 under the pin, interface timing shown in Figure 1 and Figure 2.

Table 1 SJA1000 pin definition

Pin Symbol INTEL (MODE = Vdd) MOTOROLA (MODE = Vss)
ALE ALE AS
RD RD E
WR WR RD / WR

From the pin definitions and known timing relationships with INTEL CAN controller mode and direct mode of interface signals MOTOROLA, INTEL manner in which the current popular 51/96 series of microcontroller provides a convenient and efficient for direct interface design.

CAN bus interface controller and the DSP

2 DSP interface signals and timing

TI DSP chips to produce TSM320 series of products for the mainstream product, TSM320 series has gone through several generations, have''C1X'','' C2X,''C2XX,''C5X,''C54X,'' C62X and other fixed-point DSP, a''C3X,''C4X,''C67X and other floating-point DSP and''C8X multi-processor DSP. DSP uses an advanced Harvard structure, internal multi-bus architecture and assembly line work methods, and thus greatly improve the system run faster and digital signal processing capabilities, DSP's Zhilingzhixing Shijian in ns Shu Liang Ji, internal program and data memory currently Yi up to tens of K words, and with internal hardware multiplier, the DSP has provided a broad application space.

DSP chip chip pin generally use the address lines and data separation design, without using time-multiplexed address data line, there is no effective signal ALE addresses, so give CAN controller and the DSP interface made it difficult to , and different DSP chip external pins and timing are slightly different. CAN controller and the DSP to design the interface, we must first discuss the DSP timing, following the more popular with DSP TMS320VC5402 TMS320LF2407 and case discussion.

CAN bus interface controller and the DSP

2.1 TMS320LF2407 DSP's I / O timing

DSP's memory is divided into three spaces: program memory space and data memory space and I / O space. I / O space dedicated input commands and output commands PORTW PORIR and dedicated I / O space select signal IS, TMS320LF2407 the I / O signals and the memory operation signal multiplexing, which is memory and I / O device strobes STBR write strobe WR, read strobe RD and write signal R / W, TMS320LF2407 the I / O timing shown in Figure 3 and Figure 4.

CAN bus interface controller and the DSP

2.2 TMS320VC5402 DSP's I / O timing

TMS320VC5402 and TMS320LF2407 the same, with IS as the I / O space select signals, difference is I / O space dedicated I / O device strobes IOSTRB and general literacy signal R / W, instead of being read strobe No. RD and the write strobe WR, its timing as shown in Figure 5 and Figure 6.

2.3 DSP's I / O Timing Analysis

I / O for input or output duty cycle is generally completed within two machine cycles, during, IS signal and address bus has been effective. For TMS320LF2407, I / O strobe signals STRB in the first effective after the machine cycle and continued for more than one machine cycle, RD and WE valid data effectively. For the TMS320VC5402, I / O device strobes IOSTRB the low effective delayed by half in the rising edge of the machine cycle to the next rising edge of a machine cycle, for one machine cycle, the data effectively in the second machine cycle in. R / W signal is input to read and write cycle has been maintained at "1", the output cycle has been maintained at "0", only play a role in controlling the direction of data flow. The above analysis period, each time I / O operations are to extend the machine cycle, which requires three machine cycles to complete I / O operations (wait cycle timing omitted).

CAN bus interface controller and the DSP

3 CAN controllers and DSP interface design

Seen from the above analysis can be divided, TMS320 series DSP with SJA1000 CAN controller does not provide a direct interface signals to the INTEL SJA1000 an example, in order to meet the SJA1000 TMS320 series DSP interface signal requirements of the design from the following .

3.1 Address data lines design reuse

The DSP data lines D0 ~ D7 as CAN address / data multiplexed lines, data lines used to select the DSP's internal CAN ports and transfer data.

3.2 Address valid signal generation ALE

CAN bus interface controller and the DSP

For TMS320LF2407, with address lines A0, write strobe WR and the port strobe STRB DSP logic combination of the ALE signal generated for the TMS320VC5402, then use the address lines A0, I / O port logic IOSTRB strobe combination produces ALE signal.

3.3 read and write signals generated

For TMS320LF2407, with the reading of the logical combination of signals and A0 produced SJA1000 the read strobe, with the write signal and the logical combination of A0 produced SJA1000 write strobe. For the TMS320VC5402, the use of A0, IOSTRB and R / W logic combination produces SJA1000 to read and write strobes. Logic as shown in Table 2.

Table 2 TMS320LF2407 and TMS320VC5402 and SJA1000 interface logic


TMS320LF2407 TMS320VC5402 SJA1000
A0 STRB R / W WE A0 IOSTRB R / W ALE WE RD
1 0 0 X 1 0 0 1 1 1
0000000001
0011001010

3.4 select signal generation

With the DSP's I / O space strobe signals IS and the high address decoding logic combination of signals generated on-chip CAN choose CS.

Design can be seen from the above, this approach is the data line to meet the DSP CAN controller data address lines. DSP-A0 as this will select the line address data. A0 = 1, the address is valid; A0 = 0, the data effectively. Select the port with an odd number address that is used to transmit data even address. Meanwhile, the signal logic combination of the effective period of the address signal does not produce read and write, but from the address valid to meet the CAN signal ALE; generated during the data valid logic signal to meet the CAN read and write timing.

CAN bus interface controller and the DSP

4 CAN interface circuit with the DSP

TMS320VC5402 and SJA1000 to design the interface circuit chip as an example shown in Figure 7. In the figure, with a GAL16V8B as the interface logic circuit. To highlight the interface circuit, other parts omitted. FM write design documents with the following:

GAL16V8B
INTERFACE
CH SH APR 19,20002
DECODER
NC NC IS IOSTRB A0 RW A14 A15
NC GND
NC NC CS WR RD ALE NC NC NC VCC
CS = A15 * A14 * IS
ALE = A0 * IOSTRB * R / W
RD = A0 * IOSTRB * R / W

Declined comment

91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
7777精品视频| 久久理论片午夜琪琪电影网| 欧美国产一二三区| 日韩亚洲精品视频| 欧美精品一区二区三区在线看午夜 | 国产精品国产亚洲精品看不卡| 欧美在线视频导航| 国产精品流白浆视频| 国产麻豆日韩| 一本色道久久综合亚洲精品婷婷| 国产精品亚洲视频在线观看| 亚洲乱码日产精品bd在线观看| 国产脚交av在线一区二区| 视频一区不卡| 日韩视频永久免费观看| 免费国产成人看片在线| 九九热精品视频| 国产精品999视频| 青青在线免费观看| 日韩欧美一区二区在线观看| 国产精品久久二区| 国产精品美女xx| 美女国内精品自产拍在线播放| 一区一区视频| 日韩欧美视频网站| 国产99久久精品一区二区 夜夜躁日日躁| 97久久伊人激情网| 日本一区视频在线| 国产精品传媒毛片三区| 中文字幕色一区二区| 久久久久久久久91| 国产亚洲一区二区三区在线播放| 亚洲一区二区中文字幕| 日韩视频免费在线| 国产精品爽爽ⅴa在线观看| 国产精品一香蕉国产线看观看| 国产日韩精品一区二区| 99久久久久国产精品免费| 欧美亚洲一二三区| 一本—道久久a久久精品蜜桃| 亚洲在线第一页| 日韩精品免费播放| 国产视频福利一区| 久久久久在线观看| 一区二区三区四区欧美日韩| 日韩欧美在线免费观看视频| 国产欧美日韩一区二区三区| 欧美亚洲成人精品| 国产免费裸体视频| 久久久亚洲欧洲日产国码aⅴ| 国产精品久久久久久久久粉嫩av | 大j8黑人w巨大888a片| 国产精品男人的天堂| 欧美激情国产高清| 欧美日韩精品中文字幕一区二区| 91久久伊人青青碰碰婷婷| 国产精品久久久久久久久久久不卡 | 欧美激情在线观看视频| 欧美专区在线观看| 91精品国产九九九久久久亚洲| 国产精品久久久久久久久久小说 | 午夜精品美女自拍福到在线 | 国产在线欧美日韩| 青草热久免费精品视频| 古典武侠综合av第一页| 国产精品免费网站| 人妻av无码专区| 久久伊人资源站| 中文字幕中文字幕在线中心一区| 免费精品视频一区二区三区| 久久久国产视频| 国产精品日韩欧美大师| 日本在线观看不卡| 99se婷婷在线视频观看| 久久99视频精品| 国产一区红桃视频| 国产精品久久久久久中文字| 日本免费在线精品| 91精品国产高清久久久久久久久| 久久国产精品偷| 国产一区二区不卡视频在线观看| 日韩一区二区久久久| 日韩中文字幕在线免费| 91精品国产自产在线老师啪| 亚洲综合av影视| 成人在线国产精品| 在线丝袜欧美日韩制服| 国产精品午夜视频| 中文字幕99| 99精品国产高清在线观看| 一区二区三视频| 草莓视频一区| 亚洲资源视频| 91精品久久久久久久久中文字幕| 亚洲一区二区久久久久久| 99久久国产免费免费| 亚洲一区三区在线观看| 91精品视频在线看| 午夜精品一区二区三区视频免费看| 99国内精品久久久久久久软件| 亚洲一区二区三区四区中文| 久久久在线观看| 日韩美女免费线视频| 国产精品欧美久久| 国产午夜精品视频一区二区三区| 精品产品国产在线不卡| www.av中文字幕| 亚洲国产精品www| 久久久中精品2020中文| 日韩激情视频一区二区| 久久久精品在线| 国产一区二区香蕉| 亚洲一区尤物| 国产suv精品一区二区三区88区 | 久久精品第九区免费观看| 青青a在线精品免费观看| 国产精品欧美日韩| 国产欧美一区二区视频| 亚洲免费视频播放| 日韩午夜在线视频| 精品无人区一区二区三区| 美女av一区二区| 91成人福利在线| 僵尸世界大战2 在线播放| 99久热re在线精品996热视频| 亚洲欧洲国产精品久久| 国产厕所精品在线观看| 免费毛片网站在线观看| 亚洲国产精品一区二区第四页av| 久久99精品久久久久久秒播放器| 欧美综合在线观看视频| 中文视频一区视频二区视频三区| 国产成人一二三区| 国产一区高清视频| 日本国产一区二区三区| 国产精品久久久久久久久久东京| 草莓视频一区| 欧美极品少妇无套实战| 懂色中文一区二区三区在线视频 | 国产成人avxxxxx在线看| 精品视频免费观看| 日本免费高清不卡| 欧美激情欧美激情在线五月| 久久久久久久久久久免费视频| 国产真实乱子伦| 日本a级片在线播放| 亚洲综合激情五月| 国产精品美女免费视频| 国产成人精品免高潮费视频| 欧美凹凸一区二区三区视频| 日韩在线三区| 色与欲影视天天看综合网| 日韩在线免费av| 91福利视频网| 国产主播在线看| 欧美性视频在线播放| 亚洲一区二区精品在线观看| 国产精品高潮粉嫩av| 久久九九免费视频| 久久久噜噜噜久久中文字免| 91精品国产综合久久香蕉最新版| 国产在线精品一区二区三区》 | 人妻无码久久一区二区三区免费| 久久香蕉国产线看观看av| 日韩在线中文字| 欧美另类一区| 欧美亚洲激情在线| 日韩wuma| 三区精品视频观看| 亚洲不卡中文字幕| 欧美激情在线有限公司| 精品国产一区二区三区久久久久久 | 午夜欧美一区二区三区免费观看| 国产精品老女人精品视频| www.欧美免费| 久久久久久久久亚洲| 久久亚洲精品欧美| 91精品免费看| 国产精品99久久久久久大便| 国产精品一区专区欧美日韩| 国产美女直播视频一区| 国产女人18毛片| 国产视色精品亚洲一区二区| 国产特级淫片高清视频| 国产剧情久久久久久| 国产日韩二区| 国产精品综合网站| av免费观看网| 成人在线免费观看一区| 成人一级生活片| 97成人精品视频在线观看| 97精品在线视频| 久久青青草综合| 色青青草原桃花久久综合| 精品国产拍在线观看| 国产精品无码乱伦| 国产精品成人v| 一区二区欧美日韩| 欧美一区二区三区综合| 日韩久久不卡|