I'm now studying in terms of SECDED thing for error detection and correction. In my work, the spec is that "A SECDED encoded character has been retrieved, with the hexadecimal value of CC9. The SECDED parity is even. Was there an error? And explain whether it can be corrected or not."
According to the spec, I've got the errors at P1(odd) and P2(odd), so bit 3 has an error. After that, I flipped the bit and checked the error again. As a result, P0 parity bit just has an error and rest of them are correct where P1,P2,P4,P8.
My question is that in this case, can't the code be corrected? or vice versa? My answer is that we can either say bit 1 or 3 of P1 have an error Or bit 2 or 3 of P2 have an error, but can't be corrected even if bit 3 can be flipped.
Any answer would be appreciated.
Regards,
Allen