EasyManua.ls Logo

Cypress FM4 Series - MONERS Register

Cypress FM4 Series
1102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 11: DSTC
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 527
3.2.8 MONERS Register
If a transfer error occurs, details of that error are recorded in the MONERS Register. Table 3-12 shows
details the MONERS Register displays.
Table 3-12 Details of MONERS
Area Name
Name
Details
MONERS
EST[2:0]
Indicate details of an error that has occurred.
000: No error has occurred.
001: Source access error
010: Destination access error
011: Transfer compulsory stop error by standby transition command.
100: DES access error
101: DES open error
Value other than the above: Undefined
DER
This bit indicates whether a double error has occurred.
0: Indicates that no double error has occurred.
1: Indicates that a double error has occurred.
ESTOP
Indicates whether the DSTC is in the error stop state.
0: Indicates that the DSTC is not in the error stop state.
1: Indicates that the DSTC is in the error stop state.
EHS
Indicates whether the DES that has caused an error has been started by the HW Start
or by the SW Start.
0: An error has occurred in a transfer started by the SW Start or by the Chain Start in
that SW Start.
1: An error has occurred in a transfer started by the HW Start or by the Chain Start in
that HW Start.
MONERS
ECH
Indicates the HW channel number if the DES that has caused an error has been
started by the HW Start.
EDESP
Indicates the DESP of the DES that has caused an error.
Details of a transfer error that has occurred can be checked by referring to the MONERS Register. With
the EST[2:0] bits in the MONERS Register indicating that an error has occurred, the ERINT interrupt can
be enabled by writing 1 to the ERINTE bit in the CFG Register. If the ERINTE bit is set to 1, the ERINT
interrupt signal for the NVIC is asserted. The values of the MONERS Register and the ERINT interrupt
can be cleared by issuing an ERCLR command to the CMD Register. Details of errors that may occur are
explained below.
DES Access Error
If one of the following events occurs while the DSTC is referring to the DES area of DESTP+DESP, the
DSTC ends a transfer in the form of error end (DES access error). The DSTC sets MONERS:EST to 100.
At a DES access error, the DSTC does not execute the DES close process.
The DES area address value calculated overflows (out of the range of 0x00000000-0xFFFFFFFF).
The DSTC receives a bus error response from the system when accessing a DES area.
DES Open Error
After the DSTC has referred to the area of DESTP+DESP, if the value of DES0 or DES1 meets one of the
following conditions, the DSTC regards that as an abnormal DES specified value, and ends a transfer in
the form of error end (DES open error). The DSTC sets MONERS:EST to "101". At a DES open error, the
DSTC does not execute the DES close process.
DV[1:0]==00 (No DES ownership)
PCHK[3:0] != (DES0[27:24] ^ DES0[23:20] ^ DES0[19:16] ^ DES0[15:12] ^ DES0[11:8] ^
DES0[7:4]) (DES0 parity error)

Table of Contents

Related product manuals