The example sources for spna176 (Interfacing TPS65381 With Hercules™ Microcontrollers)
to lock/unlock the TPS65381 registers via SPI is like this:
Lock: ecmpIfSetRegister(ECMP_REGISTER_LOCK, 0xAA);
Unlock: cmpIfSetRegister(ECMP_REGISTER_UNLOCK, 0x55);
The TPS65381 datasheet states:
Lock: 0x55
Unlock 0xAA
Does the datasheet show the correct values (are the source example data bytes swapped) ?
Thanks.