https://9dok.net/document/yd7lw016-handout-spi-uart-serial-peripheral-interface-spi.html