TTK4155: Embedded and Industrial Computer Systems Design
$$
\newcommand{\dt}{\,\mathrm{d}t}
\newcommand{\dx}{\,\mathrm{d}x}
\newcommand{\dy}{\,\mathrm{d}y}
\newcommand{\dh}{\,\mathrm{d}h}
\newcommand{\pt}{\partial t}
\newcommand{\px}{\partial x}
\newcommand{\py}{\partial y}
\newcommand{\QEDA}{\hfill\ensuremath{\blacksquare}}
\newcommand{\QEDB}{\hfill\ensuremath{\square}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\bmat}[1]{\begin{bmatrix}#1\end{bmatrix}}
\renewcommand{\vec}[1]{\mathbf{#1}}
$$
# Embedded computer systems
### What is an embedded computer system?
An embedded computer is generally a part of a larger system, where the computer itself is not the main purpose. It is designed to to a specific tast, and is optimized to do so. The computer is programmable, but is not a general purpose computer like a PC, tablet or workstation.
### Peripherals
#### What is a peripheral?
A peripheral is some sort of device or computer hardware used to:
- Send data from the user to the computer
- Typically a computer mouse, buttons, touchpad, keyboard, webcam, scanner etc.
- Send data from the computer to the user
- Monitors, printers, speakers etc.
- Both of the above
- Touchscreens
- Store data
# Power supply
# Processors and architectures
## Microcontrollers
#### Interrupts
#### Polling
## Processor design
#### RISC - Reduced instruction set computing
RISC is a CPU design based on a very simple instruction set. The instructions are optimized for specific tasks, and is made so that each task of the instruction only takes one clock cycle for the processor to complete. Generally like this:
1. Fetch
2. Decode
3. Execute
4. Memory access
5. Writeback
### Memory
### Memory access
### Address decoding
### Memory-mapped I/O
# Communications
## Serial communication
## Network
## Wireless communication
# Analog-Digital interfaces