Chapter 3 DsPIC30F Microcontroller

download Chapter 3 DsPIC30F Microcontroller

of 18

Transcript of Chapter 3 DsPIC30F Microcontroller

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    1/18

    1

    Chapter 3

    dsPIC30F 16-bitDigital Signal Controller

    Professor Lin, Wei-Song

    E-mail: [email protected]

    Department of Electrical EngineeringNational Taiwan University

    2

    dsPIC30F 16-bit Digital Signal ControllerArchitecture

    Embedded Control + Digital SignalProcessing

    3

    Integration of DSP and MCU

    4

    Peripheral Compatibility

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    2/18

    5

    Program Memory

    6

    Programming Flash Memory

    7

    Programming Flash Memory

    8

    Data EEPROM Memory

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    3/18

    9

    Data Memory

    10

    Instruction Set/Addressing Modes

    11

    Instruction Set Overview

    12

    Programmers Model

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    4/18

    13

    Addressing Mode

    14

    Modulo Addressing

    15

    Interrupt Subsystem

    16

    Interrupt Vector Table

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    5/18

    17

    Traps for Robust Operation

    18

    DSP Engine

    19

    20

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    6/18

    21

    DSP Features

    22

    Single Cycle MAC Instruction

    23

    Special DSP Features

    24

    Special Addressing Modes

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    7/18

    25

    Clock Sources

    26

    Power Control

    27

    dsPIC30F Peripherals

    28

    A/D Converters

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    8/18

    29

    Common Feature Summary

    30

    12-bit A/D Converter Block Diagram

    31

    10-bit A/D Converter Block Diagram

    32

    Multi-Channel Sampling

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    9/18

    33

    Motor Control PWM

    34

    Motor Control PWM Block Diagram

    35

    Motor Control PWM

    36

    Motor Control PWM

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    10/18

    37

    PWM Dead Time Insertion

    38

    PWM A/A Synchronization

    39

    Quadrature Encoder Interface

    40

    Encoder Timing Diagram

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    11/18

    41

    Quadrature Encoder Interface

    42

    Audio Data Converter Interface (DCI)

    Applications

    43

    Codec Communication

    44

    Multi-Channel (Slot) Timing

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    12/18

    45

    DCI Features

    46

    47

    MPLAB IDEIntegrated Development Environment

    48

    MAPLAB C30 Compiler

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    13/18

    49

    dsPIC30F Software Tools

    50

    dsPIC30F Hardware Tools

    51

    PI Controller

    52

    PI Controller

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    14/18

    53

    PI Controller

    54

    dsPICworks

    Data Analysis and DSP Software

    55

    dsPICworksData Analysis and DSP Software

    56

    dsPIC30F Libraries

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    15/18

    57

    Math Library

    58

    DSP Library

    59

    Peripheral Library

    60

    Real-Time Operating System (RTOS)

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    16/18

    61

    Embedded Modem Library

    62

    Application Specification Libraries Speech Coding Library

    Embedded Modem Library

    MicroNet Library (TCP/IP)

    Acoustic Echo Cancellation Library

    Noise Suppression Library

    Embedded Encryption Libraries

    63

    16-bit dsPIC Digital Signal Microcontrollers

    64

    dsPIC33FJ64MC802

    Flash 64 KB RAM 16 KB

    ADC 1 ADC 6ch

    Mc PWM 6+2 ch Timer 16-bit 5

    CAN 1

    Input capture 4 Output compare/PWM 4

    Analog comparators 2

    UART 2 SPI 2 I2C 1 PMP 1 DMA 8 JTAG

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    17/18

    65

    Timer/Capture/Compare/PWM

    66

    Communication Modules

    67

    Communication Modules

    68

    Communication Modules

  • 7/28/2019 Chapter 3 DsPIC30F Microcontroller

    18/18

    69

    Motor Control Peripherals

    70

    Quadrature Encoder Interface

    71

    Analog to Digital Converters