1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Vi điều khiển và ứng dụng Hardware

43 331 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 43
Dung lượng 2,95 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

System Management Features Fuse enabled Watchdog Timer with its own RC oscillator Programmable Time out: 2 ms - 16 sec Power On Reset with a programmable delay 0, 4, 16, 64ms Brown-out

Trang 1

TS Nguyễn Hồng Quang

Hardware

DsPIC

Trang 2

Objectives

Trang 3

Categories

Trang 4

DsPIC 16 bit microcontroller

Trang 5

Sizes

Trang 6

System Management

Features

Fuse enabled Watchdog Timer with its own RC

oscillator

Programmable Time out: 2 ms - 16 sec

Power On Reset with a programmable delay 0, 4,

16, 64ms

Brown-out Reset with programmable levels

Low Vdd Detect Interrupt with programmable levels

Trang 7

Flash: 64, 128 and 256K O

Larger RAM: 8K, 16K and 30KB

DMA (Direct Memory Access) Controller

Upward compatible with dsPIC30F

Upward compatible with PIC24

emory Access) Controller

Trang 8

Target Operating Parameters

* Op Speed over entire Vdd and Temp Range

Trang 9

Interrupt vector

 Total of 118 available interrupts

 Like dsPIC30, all interrupts may be individually enabled and assigned to one of seven priority levels

 Interrupts can be directed to vector through an Alternate interrupt

vector table

 Program address hex 200 on

dspic33 devices rather than hex 100

as on dsPIC30 devices.

Trang 10

Math error

Trang 11

Math error

 The OVA and OVB bits indicate an overflow

condition in either accumulator a or b, The OVA bit will only be cleared when the user clears the MATHERR trap status flag

 The COVA and COVB bits indicate an

catastrophic overflow condition

 The SFTERR bit indicates an error while

executing a shift instruction

 The DIVERR indicates an attempt to divide by

0

Trang 12

dsPIC33F DMA Controller

 dsPIC33 includes Direct Memory Access (DMA) controller for efficient data movement The devices include eight DMA channels

Trang 14

DMA-Ready Peripherals

Trang 15

dsPIC33F Flash Memory

Trang 16

dSPIC33 in circuit serial

programming

the dSPIC33 support in circuit serial

programming, called ICSP

The interface to the device is done with

2 pins for clock and data and a reset pin.

It also enables field upgrades to the

system using a small connector

Programming times in ICSP is similar to those for factory programming

Trang 17

Run Time Self Programming OR Self Programming

Device can program its own FLASH memory

Ideal for “calibration” or “parameterization” in final test O

Ideal for “Remote code update”

Trang 18

For very high endurance requirements, external

serial EEPROM offers a simple, cost effective solution

Trang 19

dsPIC30 I/O Levels

Trang 20

dsPIC 33F I/O level

Trang 21

UART feature

Trang 23

System Integration Features

Trang 25

Clock sources

XTL,XT,HS Primary Xtal OSC

Clock Divide

By

1, 4, 16, 64

32KHz Timer1 Xtal

OSC

System Clock

or bypass

 Includes 2 Internal RC Oscillators

 Primary Oscillator for Crystals

 Primary Oscillator for Crystals

 32 kHz for Real Time Clock

 32 kHz for Real Time Clock

Trang 26

PLL operation

Trang 27

PLL operation

Trang 28

PLL operation

Trang 29

dsPIC33F Peripherals Overview

Trang 31

dsPIC30 UART had software LIN bus support,

 hardware support for LIN

 Hardware Autobaud detection

 Hardware Break generation

 Added IRDA support

 Hardware encoder / decoder

 Transmit and Receive Polarity Control

 Added ÷4 Baud Clock Mode

 4 times faster than ÷16 mode

Trang 32

A/D features

Two A/D modules on some devices

More Analog Inputs

 Up to 32 in 100-pin devices

 Up to 24 in 80-pin devices

 Up to 18 in 64-pin devices

 Run time configuration of A/D parameters

 Each module configurable as

 10-bit or 12-bit A/D converter

Trang 33

10 Bit or 12 Bit

Each A/D Module can operate in 2 modes

 4-S/H channel 10-bit 1.1MSPS

 1-S/H channel 12-bit 500KSPS

 Change mode at any time

 While device is operating

 Selection with SFR bit in ADCON

Trang 34

10 bit or 12 bit operation

Trang 35

10 bit A/D configuration

Trang 36

12-bit A/D Block Diagram

Trang 37

A/D Options

Trang 38

So sánh dsPIC30F to

dsPIC33F

dsPIC33F is upward compatible

 dsPIC30F is a 2.5-5.5V part, dsPIC33F is a 3.3V part

dsPIC33F does not have Data EEPROM

 Program Flash can serve as Data Flash

 dsPIC33F initially is offered at Industrial Temp only

Trang 39

So sánh 3.3V, 5V

dsPIC33F operates from a single supply: 3.0-3.6V

 Core operates at 2.5v

 On-chip Voltage regulator generates 2.5V

Pin Output drives 3.3V

Pin Input is 5V tolerant

Analog input range: 0 - 3.6V

 Migrating a dsPIC30F system to dsPIC33F

Trang 40

Compatibility: Pin-out

Trang 41

Tools

Trang 42

Library

Trang 43

Key support documents

Ngày đăng: 30/12/2015, 18:04

TỪ KHÓA LIÊN QUAN

w