pic microcontroller

pic microcontroller

Overview

This section provides an introduction to PIC microcontrollers and DSC architectures, aimed at users new to these products or microcontrollers in general.

Basic Architecture of PIC Microcontrollers and DSCs

  • The fundamental architecture used by all Microchip's products is the Harvard architecture, which separates program memory from data memory.
  • Harvard architecture is foundational for all Microchip products.
  • Overview of Microchip's MCU and DSC product portfolio, ranging from low-cost baseline products to high-performance PIC32 family.

Components of a PIC Microcontroller

  • A simplified block diagram showcases the basic components of a PIC microcontroller or DSP digital signal controller.
  • Central Processing Unit (CPU) performs arithmetic and logical operations under software instructions.
  • Program memory stores user-written software instructions; oscillator acts as the engine for the MCU.

Memory Architecture in PIC Devices

  • The Harvard architecture divides memory into program memory for code/firmware and data memory for variables and peripheral communication.
  • On-chip memory includes program and data memories with separate connections to the CPU.
  • Data memory serves as a scratch pad for CPU operations and peripheral configuration.

Memory Locations

This section delves into the significance of different memory locations within PIC microcontrollers, focusing on program memory and data memory distinctions.

Program Memory Structure

  • Program memory consists of registers with unique addresses containing binary instructions for the CPU.
  • Each register address holds a series of bits representing specific instructions.
  • Instruction words vary in size based on the product range within Microchip's MCU and DSC family roadmap.

Data Memory Functionality

  • Data memory stores runtime variables crucial for subsequent operations, aiding in temporary storage during CPU tasks.
  • Different product families are categorized based on register sizes in data memory (e.g., 8-bit, 16-bit, or 32-bit).

Introduction to Microcontrollers and Peripherals

In this section, the speaker introduces the concept of microcontrollers and discusses how peripherals enable communication between the microcontroller and external devices.

Programming Microcontrollers and Peripheral Communication

  • Memory in a microcontroller remains unchanged until reprogramming.
  • Microcontrollers communicate with the outside world through peripherals.
  • Different microcontrollers offer various peripheral options tailored to specific applications.

Common Peripherals in Microcontrollers

This part focuses on common peripherals found in microcontrollers and their significance in diverse applications.

Types of Common Peripherals

  • Microchip provides a range of peripherals for different applications such as USB, Ethernet, etc.
  • Unique peripherals like capacitive touch sensing modules are integrated into microcontrollers to reduce circuit size and cost.

Internal Components of a Microcontroller

The discussion shifts towards exploring the internal components of a microcontroller, emphasizing the role of peripherals in simplifying development processes.

Internal Structure of a Microcontroller

  • Peripherals are designed to automate operations, reducing manual coding efforts for certain functions.
  • A visual representation reveals the internal structure of a microcontroller, showcasing connections to peripherals like timers and ADC converters.

Microchip's Product Portfolio

The speaker elaborates on key features of products within Microchip's portfolio, focusing on architecture and memory specifications.

Product Portfolio Insights

  • Products utilize Harvard architecture with separate buses for memory locations.
Video description

An overview of the PIC Microcontroller and dsPIC Digital Signal Controller.For more information please visit http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1440&redirects=university (PIC) (Microcontroller) (dsPIC) (pic microcontroller) (embedded)