SPI peripheral with STM32 and PCM1792 audio DAC | VIDEO27
Matej Blagšič Matej Blagšič
7.92K subscribers
12,246 views
227

 Published On Apr 13, 2020

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/prtzl/Embedded_vid...

My previous video on I2C:
   • Using I2C for any device on STM32 wit...  


Analog devices page on SPI:
https://www.analog.com/en/analog-dial...


Analog devices page on I2C:
https://www.analog.com/en/technical-a...


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...

show more

Share/Embed