参数资料
型号: DSPIC30F2020T-30I/SO
厂商: Microchip Technology
文件页数: 38/285页
文件大小: 0K
描述: IC DSPIC MCU/DSP 12K 28SOIC
产品培训模块: Asynchronous Stimulus
标准包装: 1
系列: dsPIC™ 30F
核心处理器: dsPIC
芯体尺寸: 16-位
速度: 30 MIP
连通性: I²C,IrDA,LIN,SPI,UART/USART
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 21
程序存储器容量: 12KB(4K x 24)
程序存储器类型: 闪存
RAM 容量: 512 x 8
电压 - 电源 (Vcc/Vdd): 3 V ~ 5.5 V
数据转换器: A/D 8x10b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 28-SOIC(0.295",7.50mm 宽)
包装: 标准包装
配用: DM300023-ND - KIT DEMO DSPICDEM SMPS BUCK
DV164005-ND - KIT ICD2 SIMPLE SUIT W/USB CABLE
其它名称: DSPIC30F2020T-30I/SODKR
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页当前第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页第233页第234页第235页第236页第237页第238页第239页第240页第241页第242页第243页第244页第245页第246页第247页第248页第249页第250页第251页第252页第253页第254页第255页第256页第257页第258页第259页第260页第261页第262页第263页第264页第265页第266页第267页第268页第269页第270页第271页第272页第273页第274页第275页第276页第277页第278页第279页第280页第281页第282页第283页第284页第285页
dsPIC30F1010/202X
DS70178C-page 130
Preliminary
2006 Microchip Technology Inc.
EXAMPLE 12-1:
CODE EXAMPLE FOR CONFIGURING PWM CHANNEL 1
.
mov #0x0400, w0
; PWM Module is disabled, continue operation in
mov w0, PTCON
; idle mode, special event interrupt disabled,
; immediate period updates enabled, no external
; synchronization
; Set the PWM Period
mov #0x094D, w0
; Select period to be approximately 2.5usec
mov w0, PTPER
; PLL Frequency is ~480MHz. This equates to a
; clocke period of 2.1nsec. The PWM period and
; duty cycle registers are triggered on both +ve
; and -ve edges of the PLL clock. Therefore,
; one count of the PTPER and PDCx registers
; equals 1.05nsec.
; So, to achieve a PWM period of 2.5usec, we
; choose PTPER = 0x094D
mov #0x0000, w0
; no phase shift for this PWM Channel
mov w0, PHASE1
; This register is used for generating variable
; phase PWM
; Select individual Duty Cycle Control
mov #0x0001, w0
; Fault interrupt disabled, Current Limit
mov w0, PWMCON1
; interrupt disabled, trigger interrupt,
; disabled, Primary time base provides timing,
; DC1 provides duty cycle information, positive
; dead time applied, no external PWM reset,
; Enable immediate duty cycle updates
; Code for PWM Current Limit and Fault Inputs
mov #0x0003, w0
mov w0, FCLCON1
; Disable current limit and fault inputs
; Code for PWM Output Control
mov #0xC000, w0
; PWM1H and PWM1L is controlled by PWM module
mov w0, IOCON1
; Output polarities are active high, override
; disabled
; Duty Cycle Setting
mov #0x04A6, w0
; To achieve a duty cycle of 50%, we choose
mov w0, PDC1
; the PDC1 value = 0.5*(PWM Period)
; The ON time for the PWM = 1.25usec
; The Duty Cycle Register will provide
; positive duty cycle to the PWMxH outputs
; when output polarities are active high
; (see IOCON1 register)
; Dead Time Setting
mov #0x0040, w0
; Dead time ~ 67nsec
mov w0, DTR1
; Hex(40) = decimal(64)
; So, Dead time = 64*1.05nsec = 67.2nsec
; Note that the last 2 bits are unimplemented,
; therefore the dead time register can achieve a
; a resolution of about 4nsec.
mov w0, ALTDTR1
; Load the same value in ALTDTR1 register
bset PTCON, #15
; turn ON PWM module
Note:
This code example does not illustrate configuration of various fault modes for the PWM module.
It is intended as a quick start guide for setting up the PWM Module.
相关PDF资料
PDF描述
VE-B64-IY CONVERTER MOD DC/DC 48V 50W
VE-B61-IY CONVERTER MOD DC/DC 12V 50W
VE-26R-IY CONVERTER MOD DC/DC 7.5V 50W
VE-26M-IY CONVERTER MOD DC/DC 10V 50W
VE-B60-IY CONVERTER MOD DC/DC 5V 50W
相关代理商/技术参数
参数描述
dsPIC30F2023-20E/ML 功能描述:数字信号处理器和控制器 - DSP, DSC 12KB 512bytes-RAM 30MIPS 35I/O RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
dsPIC30F2023-20E/PT 功能描述:数字信号处理器和控制器 - DSP, DSC 12KB 512bytes RAM 30MIPS 35I/O RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
dsPIC30F2023-30I/ML 功能描述:数字信号处理器和控制器 - DSP, DSC 12KB 512bytes-RAM 30MIPS 35I/O RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
dsPIC30F2023-30I/PT 功能描述:数字信号处理器和控制器 - DSP, DSC 12KB 512bytes-RAM 30MIPS 35I/O RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSPIC30F2023-30I/PTD32 功能描述:IC DSPIC MCU/DSP 12K 44-TQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:dsPIC™ 30F 产品培训模块:The Ultra-Low Power MSP430 MSP430 Overview MSP430 Design Tools MSP430 Peripherals MSP430 for Utility Metering Solutions MSP430: How to JTAG MSP430, How To Use the Clock System Grace Software Graphical User Interface MCU Overview Driver Library MSP430Ware Overview 标准包装:60 系列:MSP430F2xx 核心处理器:RISC 芯体尺寸:16-位 速度:12MHz 连通性:SPI,UART/USART 外围设备:欠压检测/复位,PWM,WDT 输入/输出数:11 程序存储器容量:4KB(4K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:256 x 8 电压 - 电源 (Vcc/Vdd):1.8 V ~ 3.6 V 数据转换器:A/D 3x24b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:24-TSSOP(0.173",4.40mm 宽) 包装:管件