ADAU1701 SPI mode
Hi all,
we have an ADAU1701 controlled by a Coldfire µC over SPI.
This usually works fine but in some cases the communication fails.
We started development of a first device with ADAU1701 with SPI mode 0 (CPOL=0, CPHA=0) and it worked (ARM µC, no OS).
We did a second design (Coldfire, Linux) and had problems with that setting.
Searching in the forum I found out that BrettG recommended SPI mode 3 (CPOL=1, CPHA=1).
We tested that mode but here it never worked.
We tested CPOL=0, CPHA=1 and also get some random fails.
Can someone confirm the correct SPI mode for the ADAU1701?
Thanks!
Christian
Audio Signal Processors
spi
SigmaDSP Audio Processors
adau1701
Hello Christian,
I'm afraid that if I mentioned previously that mode 3 was possible, that was a mistake. Actually, if you look at the datasheet, the timing diagrams for SPI clearly show that the device operates in mode 0. (CPOL = 0 and CPHA = 0)
I did a quick test using the evaluation board and the included USBi communication interface board. You can see from this photo that my successful communication was in mode 0.
Sorry for the confusion.
Hi,
I'm referring to discussion / FAQ https://ez.analog.com/docs/DOC-2442
I know that the SHARC uses SPI mode 3 so at a first glance this seems to make sense.
In the meantime I also had the idea to measure the signals on the USBi interface and came to the same conclusion.
Regards
Christian
Please log in to reply.

