Hi everyone!
I'm started firmware development from communication with TPS92682 and did not understand one moment with parity calculation. As I can see from datasheet, it has to be calculated from CMD, address and data bits. I guess that when reading, it's being calculated from address field, and when writing - from data field. Successfully tried to read and write some registers, and started to write an initialization routine.
But, when tried to reset all register contents using 0x26 address and 0xC3 command, I noticed that it does not reset, but sent me SPE bit.
I also tried another registers with this value, and get same issue with 0x1C reg. Also tried to change value and register combination. Get same result with 0x1B (reg) - 0xC4 (val), and some others.
My question is, how the parity bit should be calculated correctly? I didn't get an algorithm from the received results.