9S08PT32 - The FTMX_CXV register just won't take the value I try to write to it.

Even after waiting for the next timer tic where it should load from buffer to registers, the value stays at zero. I have made sure to write the config registers before loading the value registers, but they stay at zero. This is the initialization :