- putreg32() is used the wrong way around (reg, val) instead of (val, reg) - MPFS_SPI_FRAMESIZE is not a register, FSIZE is the name - Clear all interrupts _before_ writing the FIFO, this prevents a race condition where a short transmission completes before the interrupt is enabled.