18. Cyclic Redundancy Check (CRC)
A96G150 User's manual
260
18
Cyclic Redundancy Check (CRC)
Using the CRC, it can be monitor the memory of the specified area. This is a one-time operation, and
reset is required for continuous operation. In CRC MNT mode, when the CRC read is finished,
CRC_FLAG occurs.
In CRC validate mode, if the CRC validate fail after the CRC reading is finished, CRC_FLAG occurs.
CRC_FAIL indicates the status of validate results when the CRC read is finished. If the CRC_FLAG is
generated and the interrupt is enabled, interrupt service routine is served. CRC-FLAG is not cleared by
hardware. CRC-TYPE 0~3 are not supported. Validate is done by comparing the CRC_MNT register
and the CRC register value. CRC are not automatically initialized, you need to calculate a new CRC
after CRC_H, CRC_L Clear.
Table 40. CRC Mode
CRC TYPE
CRC mode CRC input
Condition of CRC_FLAG
Condition of CRC reset
CRC_TYPE = 4 MNT
Flash Data After CRC reading
-
CRC_TYPE = 6 Validate
Flash Data After CRC reading &
Validate fail
Validate fail
18.1
Block diagram
CRC_TYPE[2:0]
FLASH
CRC calculator
CRC_MNT
CRC_ADDR_START
CRC_ADDR_END
CRC
< FLASH >
CRC_FAIL
CRC Reset
RESET_EN
CRC_FLAG
CRC Interrupt
INT_EN
After CRC reading
CRC_EN
Clear CRC_EN
Match
...
ADDR_Counter
(CRC_ADDR+)
CRC_ADDR_END
Match
4
6
Figure 116. CRC Block Diagram
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...