2015年12月18日 星期五

dsPIC 入門簡介 33F 系列 DSP

dsPIC33FJ06GS202

在官網找到此MCU型號


16 bit 的 數位信號微控制器支援 SMPS和其他 digtial power-converdsion功能,如 AC to DC 轉換、DC to DC 轉換,Power Factor Correction(PFC),Uninterruptible power supply (UPS) 不間斷電源供應、 Inverters 、 Embedded Power-Supply Controllers、Circuit Breakers 斷路器、Arc Fault Detection 電源弧故障檢測。

Features

    CPU

    • Up to 40 MIPS Operation (at 3.0-3.6V)
    • 16 x 16 Fractional/Integer Hardware Multiply, Single Cycle Execution
    • Single-Cycle Multiply and Accumulate
    • 32-bit by 16-bit Hardware Divider
    • C Compiler Optimized Instruction Set

    System

    • Internal oscillator and Phase-Locked Loop (PLL) with 120 MHz VCO
    • On-chip LDO Voltage Regulator
    • JTAG Boundary Scan and Flash Memory Program Support
    • Fail-Safe Clock Monitor – allows safe shutdown if clock fails
    • Watchdog Timer with separate RC oscillator

    Power Managed Modes

    • Run, Idle and Sleep modes
    • Multiple, Switchable Clock Modes for Optimum Performance and Power Management

    High-Speed PWM Module Features

    • Up to Four PWM Generators with Four to Eight Outputs
    • Dead Time for Rising and Falling Edges
    • Duty Cycle Resolution of 1.04 ns for Dead-Time, Phase Shift, and Frequency
    • Supported PWM modes: Standard Edge-Aligned, True Independent Output, Complementary, Center-Aligned, Push-Pull, Multi-Phase, Variable Phase, Fixed Off-Time, Current Reset, and Current-Limit
    • PWMxL, PWMxH Output Pin Swapping
    • PWM4H, PWM4L Pins Remappable
    • On-the-Fly PWM Frequency, Duty Cycle and Phase Shift Changes

    High-Speed Analog Comparator

    • Up to Four Analog Comparators
    • 20 ns response time
    • 10-bit DAC for each analog comparator
    • DACOUT pin to provide DAC output

    High-Speed 10-Bit ADC

    • 10-Bit Resolution
    • Up to 12 Input Channels Grouped into Six Conversion Pairs
    • 4 Msps or 2 Msps Conversion rate
    • Independent Trigger Source Section for each Analog Input Conversion Pair

    Peripherals

    • UART Module with LIN and IrDA® support
    • SPI Module with FIFO
    • I2C™ Modules with Master and Slave Modes
    • Up to 3 16-bit Timer Modules
    • Up to 2 Input Capture and 2 Output Compare / PWM

Block Diagram

可以看到有哪些的模組可以使用。



 比較基本的連接,在MCLR要接上拉電阻,在 VDD和VSS之間要加電容

封裝類型




 dsPIC33FJ06GS202 腳位圖


System Management:

dsPIC33F 初始化的系統設置 System

選擇 Fosc Oscillator Source,和有無PLL。
• Flexible Clock Options:
    - External, crystal, resonator, internal RC
    - Phase-Locked Loop (PLL) with 120 MHz VCO
    - Primary Crystal Oscillator (OSC) in the range of 3 MHz to 40 MHz
    - Internal Low-Power RC (LPRC) oscillator at a frequency of 32 kHz
    - Internal Fast RC (FRC) oscillator at a frequency of 7.37 MHz

是否致能其他功能,如 watchdog timer 或 其他重置功能。
• Power-on Reset (POR)
• Brown-out Reset (BOR)
• Power-up Timer (PWRT)
• Oscillator Start-up Timer (OST)
• Watchdog Timer with its RC Oscillator
• Fail-Safe Clock Monitor (FSCM)
• Reset by Multiple Sources

線上序列編程,如 ICD3 或 kit3
• In-Circuit Serial Programming™ (ICSP™)
• Reference Oscillator Output











沒有留言:

張貼留言