...the world's most energy friendly microcontrollers
2016-04-28 - Giant Gecko Family - d0053_Rev1.20
198
www.silabs.com
The ECC computation is as shown in Figure 14.31 (p. 198) and Table 14.8 (p. 198) . Although the
table only shows the ECC generation for 8-bit data transfers, the ECC hardware also works for 16-bit
data transfers. In that case only the interpretation of the parity bits is different.
Figure 14.31. EBI ECC Generation
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Byt e 0
Byt e 1
Byt e 2
Byt e 3
Byt e N- 4
Byt e N- 3
Byt e N- 2
Byt e N- 1
P8'
P8
P8'
P8
P32'
P16
P16'
P8'
P8
P8'
P8
P32
P16
P16'
...
...
..
.
..
.
..
.
..
.
..
.
..
.
..
.
..
.
..
.
..
.
..
.
..
.
..
.
P1
P1'
P1
P1'
P1
P1'
P1
P1'
P2
P2'
P2
P2'
P4
P4'
Table 14.8. EBI ECC Bit/Column Parity
Parity bit
Generation for 8-bit data
P1'
Bit 6 xor Bit 4 xor Bit 2 xor Bit 0 xor P1'
P1
Bit 7 xor Bit 5 xor Bit 3 xor Bit 1 xor P1
P2'
Bit 5 xor Bit 4 xor Bit 1 xor Bit 0 xor P2'
P2
Bit 7 xor Bit 6 xor Bit 3 xor Bit 2 xor P2
P4'
Bit 3 xor Bit 2 xor Bit 1 xor Bit 0 xor P4'
P4
Bit 7 xor Bit 6 xor Bit 5 xor Bit 4 xor P4
Table 14.9. EBI ECC Byte/Row Parity
Parity bit
Generation for 8-bit data
RP(x)
Byte(x)(7) xor Byte(x)(6) xor Byte(x)(5) xor Byte(x)(4) xor
Byte(x)(3) xor Byte(x)(2) xor Byte(x)(1) xor Byte(x)(0)
P8'
RP(0) xor RP(2) xor RP(4) xor RP(6) xor ... xor RP(N-4) xor
RP(N-2)
P8
RP(1) xor RP(3) xor RP(5) xor RP(7) xor ... xor RP(N-3)xor
RP(N-1)
P16'
RP(0) xor RP(1) xor RP(4) xor RP(5) xor ... xor RP(N-4) xor
RP(N-3)
P16
RP(2) xor RP(3) xor RP(6) xor RP(7) xor ... xor RP(N-2) xor
RP(N-1)
Etc.
Etc.
Summary of Contents for Giant Gecko EFM32GG
Page 842: ......