STM32F4 Discovery board code

This year our lab is hosting Basics of Microprocessors Technology course. We prepared some class instructions that can be found on Google Drive (only in Polish language):

The code for testing the board and its expansion board is shared on Git.

The project is using the FreeRTOS operating system and tests following peripherals:

  • GPIO – both the inputs and outputs (leds and buttons),
  • USART – serial port for sending the data,
  • I2C – thermometer,
  • ADC, DAC, DMA – potentiometer that controls frequency of sound generated using small speaker,
  • Timers – fading of RGB led.

It is possible to see some of the functions in this youtube video:


Leave a Reply

Your email address will not be published. Required fields are marked *