日韩免费一级毛片在线观看-中文日韩亚洲综合-欧美系列日韩另类-欧美激情极品日韩-午夜日韩爱爱毛片视频免费看-欧美日韩一区免费观看-欧美日韩欧美黄色三级

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麻豆精品国产高清在线| 成人在免费观看视频国产| 国产成人精品综合在线| 日韩欧美一及在线播放| 可以免费看污视频的网站| 韩国三级香港三级日本三级la| 一级毛片视频免费| 可以免费看毛片的网站| 亚洲第一视频在线播放| 精品视频在线观看视频免费视频| a级毛片免费全部播放| 中文字幕一区二区三区 精品| 国产精品自拍亚洲| 中文字幕一区二区三区 精品| 国产精品1024永久免费视频 | 久久99中文字幕久久| 一级毛片视频播放| 可以免费看毛片的网站| 久久精品大片| 国产极品精频在线观看| 欧美a级片视频| 黄色免费三级| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 亚洲天堂一区二区三区四区| 毛片的网站| 青青久久精品| 日本伦理黄色大片在线观看网站| 国产一区二区精品久久91| 日韩一级黄色大片| 久久成人亚洲| 国产91精品一区| 国产不卡高清在线观看视频| 欧美爱爱动态| 国产网站麻豆精品视频| 可以免费看污视频的网站| 你懂的日韩| 精品久久久久久免费影院| 久久99这里只有精品国产| 天堂网中文在线| 麻豆网站在线免费观看| 精品久久久久久中文字幕一区| 亚洲精品影院一区二区| 99久久精品费精品国产一区二区| 精品国产一区二区三区久| 日本免费看视频| 99久久网站| 精品久久久久久中文字幕2017| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 日本久久久久久久 97久久精品一区二区三区 狠狠色噜噜狠狠狠狠97 日日干综合 五月天婷婷在线观看高清 九色福利视频 | 四虎久久影院| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 午夜欧美成人久久久久久| 久久久久久久久综合影视网| 欧美另类videosbestsex视频 | 国产麻豆精品免费视频| 黄视频网站免费| 国产激情视频在线观看| 九九久久国产精品大片| 欧美电影免费| 久久久成人网| 91麻豆精品国产高清在线| 色综合久久天天综合| 欧美a级v片不卡在线观看| 精品国产三级a| 亚州视频一区二区| 成人免费高清视频| 美女免费精品高清毛片在线视| 国产一区二区精品久久91| 美女免费精品视频在线观看| 精品国产香蕉在线播出| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 国产成人精品综合在线| 久久国产精品只做精品| 亚欧视频在线| 精品视频在线观看视频免费视频 | 国产91精品系列在线观看| 色综合久久天天综合| 夜夜操网| 日韩男人天堂| 日韩专区一区| 日韩一级黄色| 国产伦精品一区二区三区在线观看| 99久久精品国产高清一区二区 | a级精品九九九大片免费看| 天天做人人爱夜夜爽2020| 999精品影视在线观看| 日本久久久久久久 97久久精品一区二区三区 狠狠色噜噜狠狠狠狠97 日日干综合 五月天婷婷在线观看高清 九色福利视频 | 99久久网站| 欧美另类videosbestsex视频 | 成人免费观看的视频黄页| 在线观看成人网| 日韩欧美一及在线播放| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 久久99这里只有精品国产| 欧美日本免费| 美女免费毛片| 日本乱中文字幕系列| 久久精品大片| 免费国产在线视频| 国产一区二区福利久久| 精品国产一区二区三区久久久蜜臀 | 午夜在线影院| 欧美激情一区二区三区视频| 一级女性全黄久久生活片| 人人干人人草| 久久久久久久免费视频| 天天色色网| 国产欧美精品| 欧美日本免费| 亚洲不卡一区二区三区在线| 四虎影视久久久免费| 免费一级生活片| 中文字幕Aⅴ资源网| 欧美a级片视频| 999久久狠狠免费精品| 日韩中文字幕一区二区不卡| 精品国产一区二区三区免费| 99热热久久| 国产精品自拍一区| 国产麻豆精品| 欧美a免费| 精品国产一区二区三区久久久狼 | 国产精品1024永久免费视频 | 国产激情视频在线观看| 97视频免费在线| 麻豆网站在线免费观看| 国产伦理精品| 亚洲精品影院一区二区| 亚洲天堂免费| 天天做人人爱夜夜爽2020| 久久国产一区二区| 人人干人人草| 国产原创视频在线| 毛片高清| 青草国产在线| 美国一区二区三区| 天天色成人网| 亚州视频一区二区| 精品国产一区二区三区久久久蜜臀| 亚久久伊人精品青青草原2020| 青草国产在线| 亚欧成人乱码一区二区| 国产成人精品一区二区视频| 日韩中文字幕一区| 国产高清在线精品一区a| 久久久久久久久综合影视网| 99久久网站| 欧美另类videosbestsex久久| 精品视频一区二区三区免费| 久久国产精品永久免费网站| 午夜久久网| 午夜精品国产自在现线拍| 日本伦理黄色大片在线观看网站| 国产一区二区高清视频| 久久国产精品只做精品| 精品视频在线观看一区二区| 国产网站在线| 精品国产一级毛片| 高清一级淫片a级中文字幕 | 日本免费区| 一级片免费在线观看视频| 午夜激情视频在线观看| 精品视频免费观看| 精品视频在线观看视频免费视频| 国产视频在线免费观看| 国产91素人搭讪系列天堂| 日韩专区一区| 国产成人精品一区二区视频| 久久99中文字幕久久| 青青青草视频在线观看| 午夜在线观看视频免费 成人| 一级女性大黄生活片免费| 日韩一级黄色大片| 欧美爱爱动态| 二级特黄绝大片免费视频大片| 在线观看成人网| 精品久久久久久综合网| 天堂网中文在线| 韩国三级视频在线观看| 人人干人人插| 精品视频在线观看一区二区| 成人免费高清视频| 欧美夜夜骑 青草视频在线观看完整版 久久精品99无色码中文字幕 欧美日韩一区二区在线观看视频 欧美中文字幕在线视频 www.99精品 香蕉视频久久 | 亚洲女人国产香蕉久久精品| 九九九在线视频| 97视频免费在线观看| 91麻豆精品国产高清在线| 一本伊大人香蕉高清在线观看| 黄色免费三级| 精品国产一区二区三区久久久蜜臀 | 麻豆网站在线看| 中文字幕一区二区三区精彩视频| 青草国产在线观看| 97视频免费在线| 成人a大片高清在线观看| 久久国产影院| 免费国产在线观看不卡| 99色视频在线观看| 色综合久久天天综线观看| 青青久热|