Designing STM32 based processor and peripheral card

OData support
Kardos Gergely
Department of Automation and Applied Informatics

In the first part of my thesis I introduced the STM32 microcontroller family, the Cortex-M3/M4 processor core and I described the structure of the STM32F217 and the STM32F407 microcontrollers.

In the second part I described the structure of the processor card (which I designed in the Project laboratory course) and I wrote about the card failures and about the modifications on the plans and panels. Thereafter I reported the major steps of the processor card design. I described the important points more detailed, I wrote about the upcoming problems during the design and also about their solutions. Because of the changing the F2 peripheral card to the F4, I had to plan – besides the F2 peripheral card – an other, with the F4 Discovery Kit compatible peripheral card, which got later in production.

In the third section of my thesis I introduced the software development process for the STM32F217 and the STM32F407 microcontrollers. I used the peripheral libraries published by the STMicroelectronics for the development. The detailed description of these libraries exceeded the framework of the thesis. Parallel to the introduction of the initialization codes I also detailed the structure and the function of the more important peripherals (system clock, GPIO-ports, ADC’s, counters, Real-Time Clock, USART module, interrupting system). I tried to write the demonstration software to show the operation of the processor and as many devices on the peripheral card as possible. I described the properties of the F4 peripheral card through a simple menu. Each menu item appears on the graphical display, where the description of the menu item and the related important parameters are displayed.

An artificial horizon designed and submitted in the framework of the Microcontroller laboratory course was added as an extra menu item.

I solved all the assigned tasks in my thesis. Because of the change of the new processor card I designed two panels and I learned software development for two “different” STM32 processors. Unfortunately - because of the short time - I could not write the Ethernet-driver, the USB OTG and the software to the CAN module, thus these tasks remained as possible developing directions.


Please sign in to download the files of this thesis.