参数资料
型号: AC164335
厂商: Microchip Technology
文件页数: 38/285页
文件大小: 0K
描述: MODULE SKT FOR 10X10 PM3 44TQFP
标准包装: 1
模块/板类型: TQFP 插座模块
适用于相关产品: MPLAB? PM3
产品目录页面: 658 (CN2011-ZH PDF)
相关产品: PIC24FJ64GA004-E/PT-ND - IC PIC MCU FLASH 64K 44-TQFP
PIC24FJ48GA004-E/PT-ND - IC PIC MCU FLASH 48K 44-TQFP
PIC24FJ32GA004-E/PT-ND - IC PIC MCU FLASH 32K 44-TQFP
PIC24FJ16GA004-E/PT-ND - IC PIC MCU FLASH 16K 44-TQFP
DSPIC33FJ16MC304-I/ML-ND - IC DSPIC MCU/DSP 16K 44QFN
DSPIC33FJ16MC304-E/ML-ND - IC DSPIC MCU/DSP 16K 44QFN
DSPIC33FJ64MC204-I/PT-ND - IC DSPIC MCU/DSP 64K 44-TQFP
DSPIC33FJ64MC204-E/PT-ND - IC DSPIC MCU/DSP 64K 44-TQFP
DSPIC33FJ64MC204T-I/PTTR-ND - IC DSPIC MCU/DSP 64K 44TQFP
DSPIC33FJ16MC304T-I/MLTR-ND - IC DSPIC MCU/DSP 16K 44QFN
更多...
第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描述
AC164328 MODULE SKT FOR 80TQFP
AC164322 MODULE SOCKET MPLAB PM3 28/44QFN
V24C5C50B CONVERTER MOD DC/DC 5V 50W
MAX6441KAFIWD3+T IC BATTERY MON DUAL SOT23-8
RP30-4812DF/N-HC CONV DC/DC 30W 36-75VIN +/-12VOU
相关代理商/技术参数
参数描述
AC164336 功能描述:插座和适配器 PM3 28/44L SOCKET MODULE RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC164337 功能描述:插座和适配器 PM3 40L SOCKET MODULE RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC164338 功能描述:插座和适配器 PM3 Socket Module RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC164339 功能描述:插座和适配器 MPLAB PM3 Socket Module RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
AC164340 功能描述:插座和适配器 MPLAB PM3 Socket Mod for 8LDFN or 20LQFN RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x