SPI communication with CS4398 DAC chip not functioning

Hi, I have set an arduino due to communicate with the cirrus logic DAC chip CS4398 (data sheet provided). I haven manage to get to program any register that I tried (as the data sheet suggests) nor to get it to talk back to arduino. I'm attaching an osciloscope reading, that shows the clock has some time idle between spi transfers. Any chance to be this the problem?

spiCS4398.ino (1.18 KB)

6389D09F-116B-41A0-B5F8-988A417C1B98.pdf (1.63 MB)

This .pdf tutorial should help you:

http://schianorobotics.altervista.org/Arduino_DUE___DAC_MCP4922.pdf

Thnaks for this great tutorial! I learned some things about the SPI. I tried to implement the different modes and clocks on the dac and none of them worked. I get the same results