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

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

43 330 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

Nội dung

Hardware DsPIC TS Nguyễn Hồng Quang Objectives Categories DsPIC 16 bit microcontroller Sizes System Management Features Fuse enabled Watchdog Timer with its own RC oscillator Programmable Time out: 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 Memory  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 Target Operating Parameters · Target Op Speed: 40 MIPS * · Target Vdd: 3.0 to 3.6V · Target Temp: -40º C to 85º C * Op Speed over entire Vdd and Temp Range 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 Math error 10 dsPIC33F Peripherals Overview 29 PLL Range  Using a 4.0MHz Crystal and the PLL, the following operating MIPS rates can be obtained from 250KHz Granularity PLL Range 6.25 MIPS – 40 MIPS 30 UART  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  times faster than ÷16 mode 31 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 32 10 Bit or 12 Bit  Each A/D Module can operate in 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 33 10 bit or 12 bit operation 34 10 bit A/D configuration 35 12-bit A/D Block Diagram 36 A/D Options 37 So sánh dsPIC30F to dsPIC33F  dsPIC33F is upward compatible  NOT a drop in replacement  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 38 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: - 3.6V  Migrating a dsPIC30F system to dsPIC33F 39 Compatibility: Pin-out 40 Tools 41 Library 42 Key support documents 43 [...]... 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 31 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... Primary Xtal OSC PLL 4x, 8x, 16x or bypass Clock Divide By 1, 4, 16, 64 System Clock OSCO SOSCI SOSCO 32KHz Timer1 Xtal OSC Primary Oscillator for Crystals 32 kHz for Real Time Clock  Includes 2 Internal RC Oscillators Clock divide can optionally slow clock to conserve power PLL operation 26 PLL operation 27 PLL operation 28 dsPIC33F Peripherals Overview 29 PLL Range  Using a 4.0MHz Crystal and the... shift instruction  The DIVERR indicates an attempt to divide by 0 11 dsPIC33F DMA Controller  dsPIC33 includes Direct Memory Access (DMA) controller for efficient data movement The devices include eight DMA channels 12 Notes on DMA  A DMA channel can move words or 13 bytes I can mode blocks of up to 1024 data elements When the channel completes moving a block, it can generate an interrupt to signal... the DMA and CPU to access a portion of the total data RAM, simultaneously dsPIC33 devices typically contain a 2K byte dual port RAM buffer area DMA-Ready Peripherals 14 dsPIC33F Flash Memory 15 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... similar to those for factory programming 16 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” 17 Data EEPROM  The dsPIC30 has on board high endurance data EEPROM memory  The dsPIC33 devices do not However, the flash memory is useable as EEPROM memory Programming the flash... configurable as  10-bit or 12-bit A/D converter 32 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 33 10 bit or 12 bit operation 34 10 bit A/D configuration 35 12-bit A/D Block Diagram 36

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

TỪ KHÓA LIÊN QUAN

w