Lecture 1 Flashcards

1
Q

Microcontroller

A

Integrated circuit device to control electronic system via microprocessor unit, memory, peripherals

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

Function of CPU

A
  • Logic computation

- To execute instructions from the program

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

Function of memory

A

To store data (What the program works on) and instructions (tells the program What to do)

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

Function of I/O interface

A

Communication between internal storage and external I/O devices

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

Function of system bus

A

Transit data between all the major components of a computer system, such as I/O interface, memory, and CPU

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

General structure/components in Microcontroller

A

CPU, I/O interfaces, memory, interrupt control, timers/counters + clock, USART, other peripherals

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

2 types of I/O interfaces

A

Serial and parallel interface

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

2 types of memory

A

RAM (random access memory) and ROM (read only memory)

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

In the system bus, there are 3 types of buses

A

Control bus (used by the CPU to communication w devices by directing data from/to Its components), address bus (allows the CPU to transmit the location of the data to the RAM)(unidirectional)(width determines the amount of memory a system csn address), data bus (allows for data transfer to the CPU)(bi directional)(send and receive data)(width determines the data transferring rate)

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

Serial interface

A

Communication interface between 2 digital system by transmiting a series of voltage pulses

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

UART

A

Chip that transmit and receive serial data

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

RAM

A

Temporary data storage

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

ROM

A

Used to store microcontroller’s program

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

Interrupt

A

Based on external/internal hardware event, causes the CPU to response by executing a group of specific instructions

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

Timer/counter

A

To count in sync with the Microcontroller’s clock

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

Difference (Microcontroller)

A
  • less performance
  • does not drain power
  • need to respond to real time
  • cheap
17
Q

Difference (microprocessor)

A
  • high performance
  • drain power
  • no need real time
  • expensive
  • general computing
18
Q

Criteria to consider When finding a Microcontroller

A
  • enough space
  • speed
  • I/O requirements (interfaces, ports)
  • cost
  • development support
19
Q

+ of Microcontroller

A
  • less space
  • less power
  • cheap
20
Q

Assembly

A

Low level programming with 35 instructions

21
Q

Clock frequency of PIC and Arduino

A

PIC - 4MHz

Arduino- 20MHz

22
Q

Compiler

A

changes to a format where the computer can understand