Atmel Evaluation Kit for AT32uC3A0512, 32-Bit AVR Microcontroller Atmel ATEVK1105 ATEVK1105 Fiche De Données

Codes de produits
ATEVK1105
Page de 826
756
AT32UC3A
1. Use the MEMORY_SIZE_ACCESS or MEMORY_WORD_ACCESS to read or write the
first location.
2. Apply MEMORY_BLOCK_ACCESS in the IR Scan path.
3. Select the DR Scan path. The address will now have incremented by 1, 2, or 4 (corre-
sponding to the next byte, halfword, or word location).
4. For a read operation, scan out the contents of the next addressed location. For a write
operation, scan in the new contents of the next addressed location.
5. Go to Update-DR.
6. If the block access is not complete, return to Select-DR Scan and repeat the access. 
7. If the block access is complete, return to Run-Test/Idle.
For write operations, 32 data bits must be provided, or the result will be undefined. For read
operations, shifting may be terminated once the required number of bits have been acquired.
The overhead using block word access is 4 cycles per 32 bits of data, resulting in an 88% trans-
fer efficiency, or 2.1 MBytes per second with a 20 MHz TCK frequency.
36.9.7
CANCEL_ACCESS
If a very slow memory location is accessed during a SAB memory access, it could take a very
long time until the busy bit is cleared, and the SAB becomes ready for the next operation. The
CANCEL_ACCESS instruction provides a possibility to abort an ongoing transfer and report a
timeout to the user.
When the CANCEL_ACCESS instruction is selected, the current access will be terminated as
soon as possible. There are no guarantees about how long this will take, as the hardware may
not always be able to cancel the access immediately. The SAB is ready to respond to a new
command when the busy bit clears.
Table 36-10.
MEMORY_BLOCK_ACCESS details
Instructions
Details
IR input value
10010
 (0x12)
IR output value
peb01
DR Size
34 bits
DR input value (Data read phase)
xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
 xx
DR input value (Data write phase)
dddddddd dddddddd dddddddd dddddddd
 xx
DR output value (Data read phase)
eb 
dddddddd dddddddd dddddddd dddddddd
DR output value (Data write phase)
xx 
xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxeb
Table 36-11.
CANCEL_ACCESS details
Instructions
Details
IR input value
10011
 (0x13)
IR output value
peb01
DR Size
1
DR input value
x
DR output value
0
32058K
AVR32-01/12