Unit2 - Subjective Questions

ECE227 • Practice Questions with Detailed Answers

1

Define a PIC microcontroller and list its key characteristics that make it suitable for embedded system applications.

2

Explain the role of the Program Counter (PC) in a PIC microcontroller and describe how it manages the flow of program execution.

3

Describe the organization and characteristics of the Program ROM space in PIC microcontrollers, particularly in the context of a PIC18 device.

4

Provide an introduction to the PIC18F458 microcontroller, detailing its key features and typical applications that benefit from its capabilities.

5

Explain the purpose and functionality of the WREG (Working Register) in the PIC architecture. Provide an example of how it is typically used in an instruction.

6

Differentiate between General Purpose Registers (GPRs) and Special Function Registers (SFRs) within the PIC microcontroller's File Register set.

7

Describe the organization of the File Register in PIC microcontrollers, specifically explaining the concept of memory banks and how they are addressed.

8

Discuss the critical role of the Status Register in PIC microcontrollers, detailing the function of at least three of its important flag bits (e.g., Z, C, DC, N, OV).

9

What are Configuration Registers in PIC microcontrollers? Explain their significance and provide two examples of parameters typically set using them.

10

Compare and contrast the primary functions of the Program Counter (PC) and the WREG (Working Register) in the PIC microcontroller architecture.

11

Detail the addressing modes used for accessing File Registers in PIC microcontrollers.

12

Explain how the Program Counter (PC) interacts with the Program ROM space during the program execution cycle in a PIC microcontroller.

13

Describe the steps involved in fetching and executing an instruction in a PIC microcontroller, emphasizing the roles of the Program Counter and Program ROM.

14

What is the role of the Power-up Timer (PWRT) and Oscillator Start-up Timer (OST) bits within the PIC configuration registers? Explain their significance.

15

Elaborate on the differences between Harvard and Von Neumann architectures and explain why PIC microcontrollers primarily utilize the Harvard architecture.

16

Discuss the significance of the Carry (C) and Zero (Z) flags within the PIC Status Register. Provide a specific scenario for each where the flag would be set.

17

Describe the memory map of a typical PIC18 microcontroller, focusing on how program memory and data memory are organized and their distinct characteristics.

18

What is the purpose of the PWRT (Power-up Timer) and OST (Oscillator Start-up Timer) bits within the PIC configuration registers? Explain their significance.

19

What is the function of the N (Negative) and OV (Overflow) flags in the PIC Status Register? Describe a scenario where each of these flags would be set.

20

Explain the significance of the Common Access RAM (CAR) in PIC18 microcontrollers. How does it simplify programming compared to banked memory access?