Notes


Basics

There are simpler integrated circuits that have only one function(read a sensor/ control a digital potentiometer/oscillator) to drive a PWM circuit. These ICs have no clock crystal of their own. To communicate with these ICs, use synchronous serial communication.

<aside> ❓ What's the meaning of clock crystal?🤔Is it literal or a fixed definition?

</aside>

2 common forms of synchronous serial:

Synchronous serial devices communicate by shifting bits of data along their communication lines. Data moved down the line one bit every time the clock pulses. All the devices in a synchronous serial chain share the same data and clock lines.

Serial Peripheral Interface

A typical SPI bus configuration.

A typical SPI bus configuration.

the controller device communicates with one peripheral >> sets the device’s CS pin low

If a peripheral device’s CS pin is high, it will not respond to any commands sent on the data line.

Arduino Uno's SPI pins(same for Nano 33 IoT) | SPI library reference page