7 - 42
DSP96002 USER’S MANUAL
MOTOROLA
4.
The host processor polls the ICS register until HMRC is cleared and then reads the data D from
the RX register.
Figure 7-23 shows a flowchart for X Memory Read.
Following is the code executed by the master processor. The R3 register contains the address needed for
selecting the "TX register write and X Memory Read interrupt" host function in the slave HI, as defined in
Figure 7-12. The R4 register contains the address needed for reading the ICS register of the slave HI. The
R1 register contains the target X memory address. The R2 register contains the address needed for reading
the RX register of the slave HI. The required data word is finally stored in D0.s. The master executes the
following instructions:
clock
words cycles
_LOOP1 JCLR #TXDE,X:(R4),_LOOP1 2 6
MOVE R1,X:(R3) 1 2
_LOOP2 JCLR #HMRC,X:(R4),_LOOP2 2 6
MOVE X:(R2),D0.S 1 2
6 16
96K MASTER PROCESSOR 96K SLAVE PROCESSOR
Semaphore Control Semaphore Register (SEM)
1.Set Semaphore in slave’s
Semaphore Register using
BSET Instruction.
2.If Semaphore was set before
repeat step 1 else continue
X Memory Read Interrupt/Status Register
1.Check if the slave’s TX
register is empty (TXDE=1)
2.If TXDE=0
repeat step 1 else continue
3.Write the X memory address
to the slave’s TX register
+ X Memory Read Interrupt
(
—
H
–
S=0,
—
H
–
A=1, A5-A2=0011) HMRC=1 in ICS
X Memory Read Interrupt Pend
Start Interrupt Processing
1.Write contents of Host HRX
HMRC Polling Register to AGU Register:
MOVEP X:HRX,Rn
1.Check if HMRC=0 in slave’s 2.Read contents of X Memory
ICS register Address to Host HTXC reg:
2.If HMRC=1 then repeat 1 MOVEP X:(Rn),X:HTXC
else read RX register 3.HTX -
→
RX and HMRC=0
Figure 7-23. X Memory Read Procedure
Содержание DSP96002
Страница 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Страница 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Страница 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Страница 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Страница 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Страница 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Страница 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Страница 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Страница 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Страница 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Страница 336: ...A 148 DSP96002 USER S MANUAL MOTOROLA FMPY S2 S1 D1 FSUB S S3 D2 move syntax see the MOVE instruction de scription ...
Страница 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Страница 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Страница 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Страница 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Страница 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Страница 580: ...MOTOROLA DSP96002 USER S MANUAL B 61 X Memory Y Memory n0 3 r0 x0 Xmin r4 y0 Xmax z0 Ymin x1 Ymax y1 Zmin z1 Zmax ...
Страница 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Страница 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Страница 888: ...MOTOROLA INDEX 1 INDEX ...
Страница 889: ......