Synchronous Serial Communication and Arduino
As for SPI, I had a lot of trouble. Setting up the circuit as shown in the diagram, I managed to get the speaker to play the tone, but not respond to the digital potentiometer. After looking at the datasheet, I found myself a bit confused as to why A5 was connected to Ground instead of 3V, though I think viewing this as only half of the potentiometer being used started to make a little sense.
I’ll need to take a multimeter to this and check out what’s actually happening, but I’d like to figure this out and try out a few of the other SPI sensors out there.