SPI peripheral with STM32 and PCM1792 audio DAC | VIDEO27
Matej Blagšič
Timestamps: Hardware init = 17:25 SPI functions = 25:10
In this video I explain how SPI works and how to use it with STM32 with hal. As an example I use PCM1792 audio DAC as a peripheral device. With it we can demonstrate reading and writing into peripheral registers with SPI. All resources are down below.
Code example used in the video: https://github.com/SausageCode/Embedded_videos/tree/master/027_HAL-SPI
My previous video on I2C: https://www.youtube.com/watch?v=cvmQNTVJrzs
Analog devices page on SPI: https://www.analog.com/en/analog-dialogue/articles/introduction-to-spi-interface.html
Analog devices page on I2C: https://www.analog.com/en/technical-articles/i2c-primer-what-is-i2c-part-1.html
Wikipedia SPI image author: By SPI_timing_diagram.svg: en:User:Cburnettderivative work: Jordsan (talk) - SPI_timing_diagram.svg, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=11405368 ... https://www.youtube.com/watch?v=dNcaNYOuZBE
165076968 Bytes