8 bit SPI Microcontorller interface with 16 bit SPI slave

atmegaatmega328pavrmicrocontrollerspi

I'm willing to use the Atmega328 microcontroller to control the AD9833 waveform generator through the SPI interface of the microcontroller; the only problem is that the AD9833 reads 16-bit data while the microcontroller's SPI is 8-bit based.

I have been told that the most intuitive solution to this (sending two consecutive bytes) doesn't work, ¿is this true?

If it is, ¿is there anyway I could interface the two devices in order to implement the communication?

Best Answer

The datasheet answers this in the section about interfacing to an 68HC11 series microcontroller on page 20 of the datasheet:

8 bit spi interface

You just need to keep fsync low, and send another 8 bit data stream to the device.

Related Topic