Author |
Message |
Topic: dspic33fj256mc710 PLL works in reverse! |
AlPicCss73
Replies: 9
Views: 21248
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2016 11:37 pm Subject: dspic33fj256mc710 PLL works in reverse! |
It was all because a little tiny solder, connected the OSC1 to the vcc directly!
Thanks guys. |
Topic: dspic33fj256mc710 PLL works in reverse! |
AlPicCss73
Replies: 9
Views: 21248
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2016 2:33 pm Subject: dspic33fj256mc710 PLL works in reverse! |
I doubt it, but I'll give it a try.
Thanks a lot! |
Topic: dspic33fj256mc710 PLL works in reverse! |
AlPicCss73
Replies: 9
Views: 21248
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2016 9:24 am Subject: dspic33fj256mc710 PLL works in reverse! |
I don't understand what's going on!
I knew that it is listed as 'not suitable for new designs', but that was the only choice for me. I've searched the topics and found someone has done it before but ... |
Topic: dspic33fj256mc710 PLL works in reverse! |
AlPicCss73
Replies: 9
Views: 21248
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2016 7:59 am Subject: dspic33fj256mc710 PLL works in reverse! |
I've tested the #use delay(clock=80000000,crystal=8000000)
Actually this code is the real problem here, when I want to modify the clock. It reduces the speed reversely. I'm really confused b ... |
Topic: dspic33fj256mc710 PLL works in reverse! |
AlPicCss73
Replies: 9
Views: 21248
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2016 6:46 am Subject: dspic33fj256mc710 PLL works in reverse! |
Oops! I did a mistake in the text. I'm using an external crystal not an oscillator. Sorry about that. I've corrected it. |
Topic: dspic33fj256mc710 PLL works in reverse! |
AlPicCss73
Replies: 9
Views: 21248
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2016 4:44 am Subject: dspic33fj256mc710 PLL works in reverse! |
Hi Everyone!
It's simple. I've configured my dspic33fj256mc710 to run in higher clocks with external crystal which is 8MHz. But when I use the pll, it just works reversely! I mean, if I use it in 4 ... |
Topic: DAC Module does not work in dspic33fj128gp804 |
AlPicCss73
Replies: 12
Views: 20606
|
Forum: General CCS C Discussion Posted: Mon Jul 11, 2016 1:40 pm Subject: DAC Module does not work in dspic33fj128gp804 |
You're right! But that's because I just wanted to run it anyway. I used the basic settings, using external crystal without PLL which results in 4Mips and don't use any secondary oscillator. All config ... |
Topic: DAC Module does not work in dspic33fj128gp804 |
AlPicCss73
Replies: 12
Views: 20606
|
Forum: General CCS C Discussion Posted: Mon Jul 11, 2016 2:38 am Subject: DAC Module does not work in dspic33fj128gp804 |
Thanks guys! Really useful comments.
But I'm still confused, sort of! And that's because I've never changed the clock settings except those configuration registers. Would you help me in setting the r ... |
Topic: DAC Module does not work in dspic33fj128gp804 |
AlPicCss73
Replies: 12
Views: 20606
|
Forum: General CCS C Discussion Posted: Fri Jul 08, 2016 10:51 pm Subject: DAC Module does not work in dspic33fj128gp804 |
Thanks, but nope! that's not the case as I know the internal clock is about 1/256 of external clock, so with my 8MHz clock this won't be a problem. In spite of this fact, I used the slowest mode and n ... |
Topic: DAC Module does not work in dspic33fj128gp804 |
AlPicCss73
Replies: 12
Views: 20606
|
Forum: General CCS C Discussion Posted: Fri Jul 08, 2016 12:42 pm Subject: DAC Module does not work in dspic33fj128gp804 |
Thanks, But nothing changed!
As I understand, using an infinite loop do the same thing like your code. It's really confusing for me that why negative and positive outputs both have high values. it's ... |
Topic: DAC Module does not work in dspic33fj128gp804 |
AlPicCss73
Replies: 12
Views: 20606
|
Forum: General CCS C Discussion Posted: Fri Jul 08, 2016 10:51 am Subject: DAC Module does not work in dspic33fj128gp804 |
Hi guys!
I'm trying to use the internal dac modules in the 33fj128gp804. but they're not working and I have no idea about that. in the following topic the same chip is used and seems working at all ... |
Topic: General Fault When using ADC in dsPIC |
AlPicCss73
Replies: 11
Views: 19481
|
Forum: General CCS C Discussion Posted: Sun Jun 07, 2015 3:38 am Subject: General Fault When using ADC in dsPIC |
Now it works! Ttelmah was right. The problem was I thought that the channel() selects one of four built in channels in the chip but it selects the pin channels. My bad comprehension and maybe bad expl ... |
Topic: General Fault When using ADC in dsPIC |
AlPicCss73
Replies: 11
Views: 19481
|
Forum: General CCS C Discussion Posted: Sat Jun 06, 2015 2:58 am Subject: General Fault When using ADC in dsPIC |
Key thing (of course), is that he hasn't told us the actual PIC, or the compiler version.
Now ADC_CLOCK_INTERNAL, should not be used above 1Mhz unless you put the chip to sleep, on 90% of PIC's, bu ... |
Topic: General Fault When using ADC in dsPIC |
AlPicCss73
Replies: 11
Views: 19481
|
Forum: General CCS C Discussion Posted: Sat Jun 06, 2015 12:48 am Subject: General Fault When using ADC in dsPIC |
1) WHY do you want to change the resolution of the ADC when the program is running?
Normally you set it once, done. If set for say 10 bit and you only need 8, then simply shift right twice (10 bits ... |
Topic: General Fault When using ADC in dsPIC |
AlPicCss73
Replies: 11
Views: 19481
|
Forum: General CCS C Discussion Posted: Fri Jun 05, 2015 4:05 am Subject: General Fault When using ADC in dsPIC |
Hi All
As I'm new to the CCS 5, I've a little (big!) problem using the ADC. The problems are:
1. The help of ccs told me that by using #DEVICE ADC=x, I can change the resolution, but this code m ... |
|