Loading topic
setup and loop, use pinMode and digitalWrite, and read a pin diagram well enough to wire a breadboard. It covers what each SPI wire does, who drives it, how to find it on your board, and which wiring mistakes cause trouble. Clock6 min readSPI.transfer() returns a6 min readpinMode and digitalWrite. Here you will learn what chip select does, how to drive it correctly, and which mistakes cause the most failures.6 min readSPISettings, which limits apply, and how a wrong choice shows up.6 min readpinMode, digitalWrite and hexadecimal values. Here you will turn that knowledge into working Arduino code.6 min readSPI.transfer(). It also assumes you know what the four SPI modes mean and how chip select frames a transfer. The goal is to show why every exchange should be wrapped in SPI.beginTransaction() and SPI.endTransaction(), and what thos5 min readSPI.beginTransaction, SPI.transfer and a chip-select pin. You should also know the four SPI modes and what SPISettings holds. Here the focus is on what changes when a second or third device joins the bus, and what breaks 5 min readSPI.transfer(), wrap exchanges in SPI.beginTransaction() and SPI.endTransaction(), and read a datasheet's command format. It covers what limits SPI throughput on an Arduino and how to raise it.5 min readSPI.beginTransaction with SPISettings. It also assumes you can wire a breadboard and read a pin diagram. The chapter covers the physical layer. A sketch can be correct and still 7 min readSPISettings and beginTransaction. It also assumes you know the four modes, the role of chip select, and how a datasheet describes a register read. When an SPI device returns 0x00 or 0xFF where you expected data, a logic analyzer show7 min readSPI library and understand chip select, modes and clock rate from the earlier chapters. You should also know what a pull-up resistor is. You will not need to write any I2C or UART code. The goal is to choose among the three protocols6 min readSPISettings, transactions and chip-select framing. It also assumes you are comfortable with bitwi6 min read