Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

STM32 Tutorial #12 – Low level access to peripherals (LL)

4.1K views on YouTube

In this video we will bypass HAL completely and use a peripheral directly. As it is quite simple we will be using the built-in hardware random generator.

The STM32World Wiki: https://stm32world.com/wiki
Wiki page describing memory map: https://stm32world.com/wiki/STM32_Memory_Map

Project Files: https://github.com/STM32World/stm32fun

#stm32 #tutorial #stm32cubeide #stm32cubemx #ll #arduino #stm32world

00:00 Intro and recap
01:00 Introduction to HAL
01:48 Block diagram and memory map explained
04:18 Digging into the datasheet and Reference Manual
06:43 The source
07:24 Creating a library
13:30 Initializing the RNG
19:12 Reading the random data