Datasheet

167
32142D–06/2013
ATUC64/128/256L3/4U
Unlock Register Error Status (URES) is set if an attempt was made to unlock a channel by
writing to the Unlock Register while one or more error bits in SR were set (see Section
10.5.6). The unlock operation was aborted.
Unlock Register Key Error (URKEY) is set if the Unlock Register was attempted written with
an invalid key.
Unlock Register Read (URREAD) is set if the Unlock Register was attempted read.
Channel Access Unsuccessful (CAU) is set if the channel access was unsuccessful.
Channel Access Successful (CAS) is set if the channel access was successful.
Channel Unlock Expired (EXP) is set if the channel lock expired, with no channel being
accessed after the channel was unlocked.
10.5.6 Error bits
If error bits are set when attempting to unlock a channel, SR.URES will be set. The following SR
bits are considered error bits:
EXP
•CAU
URREAD
URKEY
•URES
MBERROR
•RTRADR
10.5.7 Bus Error Responses
By writing a one to the Bus Error Response Enable bit (CR.BERREN), serious access errors will
be configured to return a bus error to the CPU. This will cause the CPU to execute its Bus Error
Data Fetch exception routine.
The conditions that can generate a bus error response are:
Reading the Unlock Register
Trying to access a locked channel
The SAU HSB master receiving a bus error response from its addressed slave
10.5.8 Disabling the SAU
To disable the SAU, the user must first ensure that no SAU bus operations are pending. This
can be done by checking that the SR.IDLE bit is set.
The SAU may then be disabled by writing a one to the Disable (DIS) bit in CR.