Author |
Message |
Topic: dspic30f4011 set_timer2() does't work |
juandres
Replies: 4
Views: 7826
|
Forum: General CCS C Discussion Posted: Wed Apr 10, 2013 3:04 am Subject: dspic30f4011 set_timer2() does't work |
What I can't see is 'why' you'd want to do this. Just reduce the reset count point by 1000, and let the counter run.....
However, what makes you think it isn't working?. TMR2 is at address 0x106, and ... |
Topic: dspic30f4011 set_timer2() does't work |
juandres
Replies: 4
Views: 7826
|
Forum: General CCS C Discussion Posted: Wed Apr 10, 2013 2:30 am Subject: dspic30f4011 set_timer2() does't work |
I want to program a fastest embedded application, this is the reason that I need to reprogrammed the timer2 each interrupt. I cannot post all the code but this has the same result for the purpose.
... |
Topic: dspic30f4011 set_timer2() does't work |
juandres
Replies: 4
Views: 7826
|
Forum: General CCS C Discussion Posted: Tue Apr 09, 2013 6:36 pm Subject: dspic30f4011 set_timer2() does't work |
I still programing dspic (tmr2) with this function and doesn't work!!! I think it is a bug because I treat tmr1 with set_timer1() and work perfectly. |
Topic: How to setup oscillator in dsPIC30f2011 |
juandres
Replies: 9
Views: 18919
|
Forum: General CCS C Discussion Posted: Mon Apr 08, 2013 8:19 am Subject: How to setup oscillator in dsPIC30f2011 |
I configure my application like this:
#include <30F4011.h>
#device adc=10
#FUSES NOWDT //No Watch Dog Timer
#FUSES FRC_PLL16 //Internal Fast RC oscillat ... |
Topic: 18f2550,crystal=4mhz,usb=48mhz,cpu=4mhz |
juandres
Replies: 1
Views: 5496
|
Forum: General CCS C Discussion Posted: Thu Jun 23, 2011 11:47 pm Subject: 18f2550,crystal=4mhz,usb=48mhz,cpu=4mhz |
The title exposes my problem, I need to work with these characteristics because of my application...
I test a program with these fuses:
#include <18F2550.h>
#device adc=8
#fuses PLL1,CPU ... |
|