Author |
Message |
Topic: 24FV32KA301 PWM freq. not works |
chinukis
Replies: 10
Views: 11782
|
Forum: General CCS C Discussion Posted: Tue Nov 06, 2012 5:28 pm Subject: 24FV32KA301 PWM freq. not works |
Hi,
Also i use #fuses HS and nothing
duty is not a problem, but you need to use more than 255,
i use it from 0 to 65535 to get 0 to 100 % duty cycle |
Topic: 24FV32KA301 PWM freq. not works |
chinukis
Replies: 10
Views: 11782
|
Forum: General CCS C Discussion Posted: Tue Nov 06, 2012 1:58 pm Subject: 24FV32KA301 PWM freq. not works |
Thanks for the tip
But dosent works
#include <24FV32KA301.h>
#device ICD=TRUE
//Primary Oscillator with PLL
#FUSES NOWDT
#FUSES CKSFSM //Clock Switching is ... |
Topic: 24FV32KA301 PWM freq. not works |
chinukis
Replies: 10
Views: 11782
|
Forum: General CCS C Discussion Posted: Tue Nov 06, 2012 10:52 am Subject: 24FV32KA301 PWM freq. not works |
Thanks for your help.
About frequency, I need 320 Hz,
I'm using 20MHz crystal,
Ver.4.134 CCS compiler
About 20Mhz and 32Mhz,
I use internal 32MHz because with 20 MHz I only get 150 Hz.
I fol ... |
Topic: 24FV32KA301 PWM freq. not works |
chinukis
Replies: 10
Views: 11782
|
Forum: General CCS C Discussion Posted: Mon Nov 05, 2012 8:19 pm Subject: 24FV32KA301 PWM freq. not works |
How can I get to 320Khz PWM with this chip? The most I can get is 243hz and I had try many combinations, I use a 20Mhz external crystal.
#include <24FV32KA301.h>
#device ICD=TRUE
#INC ... |
|