Performing a Page Write

To execute Page Write, set up the address in the Z-pointer(R30 and R31), write “0x00000101” to SPMCSR and execute SPM within four clock cycles after writing SPMCSR. The data in R1 and R0 is ignored. The page address must be written to PCPAGE ([Z12:Z6]). Other bits in the Z-pointer must be written to zero during this operation.