数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

DP5380 数据表(PDF) 11 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
部件名 DP5380
功能描述  Asynchronous SCSI Interface (ASI)
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  NSC [National Semiconductor (TI)]
网页  http://www.national.com
标志 NSC - National Semiconductor (TI)

DP5380 数据表(HTML) 11 Page - National Semiconductor (TI)

Back Button DP5380 Datasheet HTML 7Page - National Semiconductor (TI) DP5380 Datasheet HTML 8Page - National Semiconductor (TI) DP5380 Datasheet HTML 9Page - National Semiconductor (TI) DP5380 Datasheet HTML 10Page - National Semiconductor (TI) DP5380 Datasheet HTML 11Page - National Semiconductor (TI) DP5380 Datasheet HTML 12Page - National Semiconductor (TI) DP5380 Datasheet HTML 13Page - National Semiconductor (TI) DP5380 Datasheet HTML 14Page - National Semiconductor (TI) DP5380 Datasheet HTML 15Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 32 page
background image
40 Device Operation (Continued)
The interface to the DMA controller uses the DRQ DACK
EOP lines in non-block mode Each byte is requested (DRQ)
and ack’d (DACK) Representative timing for a DMA read is
shown in
Figure 481
TLF9756 – 7
FIGURE 481 Non-Block DMA Timing
481 NON-BLOCK DMA
DMA operation involves programming the ASI with the set-
up parameters initiating the DMA cycles and checking for
correct operation when the completion interrupt is received
The DMA controller should be programmed with the data
byte count and the memory start address Methods of halt-
ing a DMA operation are covered in Section 411
Setting up the ASI requires enabling or disabling the follow-
ing Data bus driving DMA mode enable BSY monitoring
EOP interrupt parity checking parity interrupt TARGET
Mode bus phase
Once set up DMA should be initiated by writing to address 5
6 or 7 as appropriate The DMA controller should assert
EOP during the transfer of the last byte although this may
be done by the mP if the DMA transfers (n b 1) bytes and
the mP transfers the last byte See the application guide for
more details (Section 70)
Upon completion the mP should check the following as re-
quired End of DMA Parity Error Phase Match Busy Error
The end of DMA occurs as a response to EOP SCSI trans-
fers may still be underway so REQ and ACK must still be
checked to establish when the final byte is finished
The code below shows programming of the ASI in each of
the four DMA cases One of these cases is shown in a flow
diagram in Appendix A
Initiator Send
*DATA OUT PHASE*
Program DMA Controller
TCR
4 00h
*phase*
ICR
4 01h
*Assert DBUS*
MR2
4 0Eh
SDS
4 00
*Start DMA Send*
while (NOT interrupt)
idle
while (CSDREQ)
idle
*wait for last
SCSI byte
transfer so phase
is checked*
if(BSRBusy error OR NOT
(BSREnd of DMA))
error routine
else
*DMA End*
MR2
4 04h
*reset DMA bit*
ICR
4 0
Initiator Receive
*DATA IN PHASE*
Program DMA Controller
TCR
4 01h
*phase*
MR2
4 3Eh
SDI
4 0
*Start DMA Init
Rx*
while (NOT interrupt)
idle
*no need to wait for last SCSI handshake
done since DMA done implies it is
checked*
if(BSRparity error OR BSR
busy error
or NOT (BSR End of DMA)
do error routines
else
*End of DMA*
while (CSDREQ)
idle
*wait for REQ inactive
to deassert ACK*
MR2
4 04h
Target Receive
*DATA OUT PHASE*
Program DMA Controller
TCR
4 0
*phase*
ICR
4 08h
MR2
4 7Ah
*check parity*
SDT
4 0
*Start DMA Targ Rx*
while (not interrupt)
idle
*when End of DMA occurs the last byte
has been read and checked*
if(BSRparity error OR NOT(BSR
End of DMA)
error routine
else
*End of DMA*
while (BSRACK)
idle
*Not True End of DMA
so wait until SCSI
bus inactive before changing phase*
MR2
4 40h
change phase as required
11



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com