CMPEN352W-Quiz1_Prep

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

1/53

flashcard set

Earn XP

Description and Tags

Lectures 1,2,3,4, and 5

Last updated 11:16 PM on 2/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

54 Terms

1
New cards

What is an embedded system?

A combination of hardware and software designed to perform a specific task, with firmware embedded into the hardware.

2
New cards

Why are embedded systems needed?

They are application-specific, reduce size and cost, improve reliability and performance, meet timing constraints, and benefit from mass production.

3
New cards

Why learn about microprocessors and microcontrollers?

They are the core of computer systems, control many devices, and help reduce production cost and improve reliability.

4
New cards

What is a microprocessor?

A CPU with RAM, ROM, I/O, and timers on separate components; expensive, flexible, and general-purpose.

5
New cards

What is a microcontroller?

A single chip containing CPU, RAM, ROM, I/O, and timers; inexpensive, fixed resources, and single-purpose.

6
New cards

Why is C preferred for embedded systems?

It is fast, efficient, portable, modular, middle-level, statically typed, and has rich libraries.

7
New cards

What is an algorithm?

A step-by-step method used to solve a problem.

8
New cards

What is an instruction set?

A collection of basic operations a computer can perform.

9
New cards

What is an IC package?

A protective casing that provides physical protection, electrical connections, and heat dissipation for a chip.

10
New cards

What are key features of the MSPM0G3507 MCU?

Low cost, low power, 32-bit performance, precision analog integration, and flexible clock and power management.

11
New cards

What is the function of the NVIC?

It manages interrupts by checking priority, saving processor state, handling nesting, and directing the CPU.

12
New cards

How many registers does the ARM Cortex-M0+ have?

16 general registers and 3 special registers.

13
New cards

What are the general-purpose registers?

R0–R12.

14
New cards

What are the special registers?

PSR, PRIMASK, and CONTROL.

15
New cards

What is I/O pin multiplexing?

Allowing one physical pin to perform multiple functions such as GPIO, UART, SPI, or I2C.

16
New cards

What are the advantages of I/O pin multiplexing?

Reduced pin count, increased flexibility, and lower cost.

17
New cards

What is IOMUX?

A module that assigns internal peripheral signals to physical pins.

18
New cards

What does PF = 1 indicate in IOMUX?

GPIO function.

19
New cards

How can IOMUX be configured on MSPM0G3507?

Using TI SysConfig, Driver Library, or Direct Registers.

20
New cards

What is GPIO?

General Purpose Input/Output used to read digital inputs and write digital outputs.

21
New cards

What is a GPIO port?

A collection of GPIO pins.

22
New cards

What is memory-mapped I/O?

Accessing I/O ports by reading and writing to specific memory addresses.

23
New cards

What register enables a GPIO pin as output?

The DOE (Digital Output Enable) register.

24
New cards

What value configures GPIO output in the PINCM register?

0x81.

25
New cards

What is the difference between a toggle switch and a tactile switch?

A toggle switch stays ON or OFF, while a tactile switch is ON only while pressed.

26
New cards

What is an asserted state?

The logic-true state when the switch is pressed.

27
New cards

What does a pull-down resistor do?

Produces LOW when not pressed and HIGH when pressed (positive logic).

28
New cards

What does a pull-up resistor do?

Produces HIGH when not pressed and LOW when pressed (negative logic).

29
New cards

What is switch bounce?

Rapid opening and closing of switch contacts before settling.

30
New cards

Why is debouncing necessary?

To prevent multiple false signals from one button press.

31
New cards

What are hardware debouncing methods?

SR flip-flop, RC circuit, and debouncing ICs.

32
New cards

What are the steps of software debouncing?

Read input, wait a short time, read again to confirm.

33
New cards

What is serial communication?

Transmitting data one bit at a time over a single channel.

34
New cards

What are advantages of serial communication?

Simple, supports long distances, and uses standardized protocols.

35
New cards

What are disadvantages of serial communication?

Slower than parallel communication.

36
New cards

What is simplex communication?

One-way communication.

37
New cards

What is half-duplex communication?

Two-way communication but only one direction at a time.

38
New cards

What is full-duplex communication?

Two-way communication simultaneously.

39
New cards

What is asynchronous communication?

Communication using start and stop bits.

40
New cards

What is synchronous communication?

Communication using a clock signal.

41
New cards

What does UART stand for?

Universal Asynchronous Receiver/Transmitter.

42
New cards

How many wires does UART use?

Two wires (TX and RX).

43
New cards

What is baud rate?

The number of bits transmitted per second.

44
New cards

What baud rate mismatch is allowed in UART?

Up to ±10%.

45
New cards

What are the components of a UART packet?

Start bit, data bits, optional parity bit, and stop bit(s).

46
New cards

What is the purpose of the parity bit in UART?

Error detection.

47
New cards

What data sizes does MSPM0 UART support?

5, 6, 7, or 8 data bits.

48
New cards

What is FIFO?

First-In-First-Out buffer for transmit and receive data.

49
New cards

What is the baud rate formula for UART?

BRD = UART clock / (Oversampling × Baud rate).

50
New cards

What does BUSY = 1 indicate in UART?

UART is currently transmitting.

51
New cards

What does TXFF = 1 indicate?

Transmit FIFO is full.

52
New cards

What does RXFE = 1 indicate?

Receive FIFO is empty.

53
New cards

What is an overrun error (OVRERR)?

New data arrives when the receive FIFO is full, causing data loss.

54
New cards

Why must UART be disabled before configuration?

To prevent unpredictable behavior.

Explore top flashcards

Acrow
Updated 432d ago
flashcards Flashcards (29)
PSY 3113 Chapter 1
Updated 848d ago
flashcards Flashcards (60)
Psychosocial Midterm
Updated 956d ago
flashcards Flashcards (123)
Author Test Sets 1-6
Updated 1034d ago
flashcards Flashcards (135)
Biology Lab Final
Updated 660d ago
flashcards Flashcards (91)
Ecology
Updated 1103d ago
flashcards Flashcards (49)
Acrow
Updated 432d ago
flashcards Flashcards (29)
PSY 3113 Chapter 1
Updated 848d ago
flashcards Flashcards (60)
Psychosocial Midterm
Updated 956d ago
flashcards Flashcards (123)
Author Test Sets 1-6
Updated 1034d ago
flashcards Flashcards (135)
Biology Lab Final
Updated 660d ago
flashcards Flashcards (91)
Ecology
Updated 1103d ago
flashcards Flashcards (49)