Hello Alican,
when you want to switch to LPOFF mode from Normal mode with secured SPI command, you should send the command consisting of two bytes in the pin MOSI.
JozefKozon_2-1628237161083.png
JozefKozon_3-1628237445262.png
JozefKozon_4-1628237472098.png
The bit9 through bit15 is an address. 1010101.
You can enable or disable the VKAM. Lets say you will disable it. Bit7 will be 0, bit6 0, bit5 must be 1 to go to LPOFF mode, bit 4 will be 0.
The lowest four bits must be set according the section 7.2.6 in the datasheet.
JozefKozon_5-1628237943820.png
Bit3=NOT(Bit5)=0
Bit2=NOT(Bit4)=1
Bit1=Bit7=0
Bit0=Bit6=0
The 2 bytes will be 1010101P 00100100
The P is the Parity bit, which should be calculated according the section 7.1.2 in the datasheet.
JozefKozon_6-1628238170708.png
Because the number of 1 in the bits 15–9, 7–0 sequence is even in this case, the Parity bit will be 1.
So the final 2 bytes will be 10101011 00100100=0xAB24.
Please note, that the NCS (Not chip select) must be low for the transmission.
JozefKozon_7-1628238504424.png
With Best Regards,
Jozef