L3 - Embedded Hardware Flashcards

1
Q

What do we understand under a synchronous interrupt? Name an example.

A

Occur at the same time. E.g.: Exception, Segmentation Fault or Division by zero.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name five characteristics of a microcontroller.

A
  1. many interrupts
  2. high I/O functionality
  3. low level processing
  4. interfacing with sensor/actuators
  5. low cost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are characteristics of FPGA?

A

FPGA have reprogrammable hardware (VHDL, Verilog) and are very fast in execution of logic operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are FPGA?

A

FPGA (Field Programmable Arrays) are a combination of standard hardware (e.g. DSP) and fully application specific hardware (e.g. ASIC).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are characteristics of a Heap?

A
  • Memory allocation dynamically (memory size does not have to be known @compile time)
  • must be managed (allocation & deallocation)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which companies do produce microprocessors?

A

Intel, AMD and ARM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name on advantage and disadvantage of interrupts.

A
  • PRO: resources only used when needed
  • CON: execution is interrupted in non-deterministic manner
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A Gyroscope

A

A Gyroscope measures angular velocity around an axis and is often combined with an accelerometer for an inertial measurement unit (IMU)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Is a microcontroller faster than a microprocessor?

A

Compared to a microprocessor, a microcontroler is relatively slow but does not need many external parts, has a low energy consumption and a low cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an ADC and what is its task?

A

An ADC (Analog Digital Converter) circuit maintains input during conversion time. To cut off the higher frequencies before sampling, an antialiasing filter is necessary and prevents higher frequency noise from disturbing low frequency signals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

An embedded system should be ______________.

A

reliable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the tasks of a DSP?

A

A DSP is optimized for signal processing such as:

  • filtering
  • system identification
  • frequency analysis
  • machine learning
  • feature extraction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

H-Bridges are used …

A

H-Bridges are used to drive large loads and switches driven by PWM (magn. coils, motors)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In which kind of applications are Embedded Systems used? Name two.

A
  • simple control tasks in household appliances
  • entertainment electronics
  • communication systems
  • automotive applications
  • control of complex automation systems in industrial environments
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are interrupts?

A

normal execution is automatically interrupted when environment changes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name on advantage and disadvantage of polling.

A
  • PRO: short latencies (low number of IOs), events do not block execution of the program
  • CON: unnecessary polls, high CPU usage, reaction dime depends on number of IOs
17
Q

What is polling?

A

continuously poll I/Os for a change

18
Q

Reduced instruction set RISC (ARM)

A
  • simple machine instructions
  • used in embedded systems (real-time hardware)
19
Q

What is a Cache?

A

A cache is a very fast memory that stores data which is often accessed. While making timing issues difficult to analyse, it improves drastically execution and access times.

20
Q

What is the name of a memory segment in RAM that is organised as LIFO?

A

Stack.

21
Q

What is a key requirement for embedded processors? What mechanisms are not acceptable?

A

In RTS deterministic behaviour is essential to guarantee high accuracy. Non-deterministic mechanisms (e.g. Virtual Memory, Garbage Collection, Asynchronous IO requests, Recursive function calls) are unwanted.

22
Q

What is an ASIC?

A

An ASIC (Application Specific Integrated Circuit) are tasks that are implemented in hardware design and therefore feasible for large quantities. Their functionality cannot be changed.

23
Q

If an interrupt is caused by an external event, it is called _______________ interrupt. Name an example.

A

asynchronous. E.g.: timer overrun, end of I/O operation or external pin voltage.

24
Q

Which sensor does measure the acceleration, sense vibrations and is used for navigation?

A

Accelerometer.

25
Q

A Digital Analog Converter (DAC) …

A

A DAC converts digital input code (binary) to an analog output voltage.

26
Q

How can a system react to environmental changes?

A

Polling & Interrupting

27
Q

What are the main steps when executing a task?

A
  1. Fetch instruction
  2. Decode
  3. Execute on the ALU
  4. Memory Access (L/S)
  5. Write back into register
28
Q

Complex instruction set CISC (x86)

A
  • maps complexity of common instructions directly in machine code
  • timing issues used in general purpose computing
29
Q

Pulse Width Modulation (PWM) delivers …

A

PWM delivers variable amounts of power to external hardware and is programmable through PWM interface of timer Pulse.

30
Q

What does ALU stand for?

A

Arithmetic Logic Unit.

31
Q

What is a DSP?

A

A DSP (Digital Signal Processor) is a high performance ALU (parallelization) and control unit.

32
Q

Encoder

A

relative position obtained by counting ticks via digital magneto or optical resistant (used in robotics and motor control)

33
Q

Overlapping execution of different tasks can lead to conflicts. Name three different conflicts that can occur.

A
  1. resource hazard
  2. data hazard
  3. control hazard
34
Q

Name the actuator that reads a bit in a register and sets a voltage of a pin to high or low.

A

General Purpose IO (GPIO)