full duplex fixes

Add "spi_clear_dhb" function for full-duplex and improve DDMA.