Added write pos to spim for move