D. Ponikvar, STM32F407 project

 Za študente    |    Projekti    |     Ostalo    |    Linki    |    DL    |    Začetna stran   |  Reading Material  |    STM32F407 project

You are visitor number:   

This page hosts a project on the use of a microcontroller STM32F407. Hardware and software examples are presented in the following files.

The left half of the table implements direct access to microcontroller registers, as usual for microcontroller programming. The software examples are based on a dedicated board described in chapter 2, with gerber files for production given beside.

The right half of the table implement CMSIS based access to microcontroller configuration registers, as provided by ST to ease programming and portability. These software examples are based on a STM32F4 Discovery board (about 14€, every student can afford one for his afternoon hobby). Since this board may be to fragile to be used by course participants of different skills, a BaseBoard with some protection circuitry and cheap connectors was added. This board is described in chapter 2, with gerber files for production given beside. However, the software examples are fully functional even without the BaseBoard.

Chapter
Direct access, dedicated test board
Source files CMSIS based access,
STM32F4 Discovery board & dedicated Base board
Source files
1 Introduction - Introduction -
2 Board description gerber files BaseBoard description gerber files
3 Programming - Programming -
4 The use of ports c-source The use of ports c-source
5 Alphanumeric LCD c-source Alphanumeric LCD c-source
6 Stepper motor c-source Stepper motor c-source
7 Digital to analog converter c-source Digital to analog converter c-source
8 Analog to digital converter c-source Analog to digital converter c-source
9 Counting pulses by a timer c-source Counting pulses by a timer c-source
10 Interrupts and ports c-source Interrupts and ports c-source
11 Interrupts and timer c-source Interrupts and timer c-source
12 Periodical interrupts and ADC/DAC c-source1
c-source2
Periodical interrupts and ADC/DAC c-source1
c-source2
13 The use of circular buffer The use of circular buffer c-source
14 Serial communication - RS232 c-source Serial communication - RS232 c-source
15 Serial communication and sampling c-source Serial communication and sampling c-source
16 Signal generation using DDS c-source Signal generation using DDS c-source
17 Serial communication - I2C c-source Serial communication - I2C c-source
18 Serial communication - SPI     c-source Serial communication - SPI c-source
19 Filtering of signals, on-line, FIR c-source1
c-source2
c-source3
Filtering of signals, on-line, FIR c-source1
c-source2
c-source3
20 Filtering of signals, on-line, IIR     c-source Filtering of signals, on-line, IIR c-source
21 PID control c-source PID control c-source
22 PLL and frequency demodulation c-source PLL and frequency demodulation c-source
23     Lock-in detection c-source
24     Phase demodulation c-source
25     AM radio receiver c-source
         
 
Local include directory -
to be used with the IAR EWB
- Base content of a directory: the modified source and include files, to be used with IAR EWB -
 
Complete project with all examples
(!long zip file!)
- Complete project with all examples
(!long zip file!)
-

The list will be expanded as new experiments are documented. The text will be edited and the English improved once the author finds time to do it.

Keywords: STM32F4xx, STM32F407, project, experiment, example, programming,