STM Architecture

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:06 AM on 6/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

What are the 3 types of registers?

  • Control registers

  • Status registers

  • Data registers

2
New cards

What does a control register do?

knowt flashcard image
3
New cards

What does a status register do?

knowt flashcard image
4
New cards

What does a data register do?

knowt flashcard image
5
New cards
<p>Explain line 7</p>

Explain line 7

  • Creates uint8_t pointer variable called p

  • Assigns the value of p a memory address

  • The memory address it assigns is the first element of the array arr

6
New cards
<p>The system above shows two different sections of memory - data (SPAM) and code (flash), There is a blank block indicating a third region of memory. In the context of the STM32F051 microcontroller, what is this third block of memory. What is it used for?</p>

The system above shows two different sections of memory - data (SPAM) and code (flash), There is a blank block indicating a third region of memory. In the context of the STM32F051 microcontroller, what is this third block of memory. What is it used for?

  • Peripheral Region

  • Peripheral Registers located in this region

  • Reading from / writing to peripheral registers lets us control peripherals

7
New cards

The STM32F051 uses a more complex bus structure than the system shown above. Explain how the CPU communicates with different memory regions in the STM32F051, making reference to the role of the bus matrix.

  • STM32 consists of multiple busses

  • CPU communicates to bus matrix through single bus

  • Bus matrix routes communication along correct bus

8
New cards
term image
  • Creates macro called GPIOA

  • Expands to a pointer to a GPIO struct

  • Points to GPIOA peripheral's base memory address

  • Allows us to access GPIOA peripherals by dereferencing struct pointer

9
New cards

How to run code on microcontroller

knowt flashcard image
10
New cards
<p>Explain two section of this basic computer structure </p>

Explain two section of this basic computer structure

knowt flashcard image
11
New cards

Draw a Harvard architecture

knowt flashcard image
12
New cards

Draw a Von Neuman architecture

knowt flashcard image
13
New cards

What are the instruction to execute code

knowt flashcard image
14
New cards

What are the instruction executions for x = x +1?

knowt flashcard image
15
New cards

Draw what is inbetween CPU and the microcontroller pins

knowt flashcard image
16
New cards

Explain the GPIO input mode

knowt flashcard image
17
New cards

Explain the GPIO output mode

knowt flashcard image
18
New cards

Explain the GPIO alternative function mode

knowt flashcard image
19
New cards

Explain the GPIO analogue mode

knowt flashcard image