Datasheet
SAM9G20
DS60001516A-page 212 2017 Microchip Technology Inc.
Figure 22-3: Parity Generation for 512/1024/2048/4096 16-bit Words
To calculate P8’ to PX’ and P8 to PX, apply the algorithm that follows.
1st word
2nd word
3rd word
4th word
(Page size -3 )th word
(Page size -2 )th word
(Page size -1 )th word
Page size th word
(+)(+)