Author |
Message |
Topic: Handling Interrupt while ISR of other Interrupt running |
Prashant Patel
Replies: 4
Views: 10741
|
Forum: General CCS C Discussion Posted: Sat Jan 01, 2005 9:59 pm Subject: Handling Interrupt while ISR of other Interrupt running |
Hi...ckielstra
In my previous thread, you said to use inbuilt PWM to generate the
frequency of 1Hz to 2KHz using 16KHz Oscillator.
You said:
Let's just assume you bring down the clock frequ ... |
Topic: Handling Interrupt while ISR of other Interrupt running |
Prashant Patel
Replies: 4
Views: 10741
|
Forum: General CCS C Discussion Posted: Thu Dec 30, 2004 4:03 pm Subject: Handling Interrupt while ISR of other Interrupt running |
Hi..Anybody want to take closer look !!
I am using 18F4525 using 40Mhz. We have following three interrupts.
Interrupt Timer0---->Every 6.5 mSec
Interrupt Timer1---->Every 6.5 mSec
Interr ... |
Topic: fast interrupt |
Prashant Patel
Replies: 9
Views: 30851
|
Forum: General CCS C Discussion Posted: Sun Dec 26, 2004 12:15 am Subject: fast interrupt |
Dear ckielstra,
You asked....
what is the reason, you can't use the inbuilt hardware PWM circuit?
I want to generate frequency from 1Hz to 2KHz(In future may be 3KHz).
Which is, I think n ... |
Topic: fast interrupt |
Prashant Patel
Replies: 9
Views: 30851
|
Forum: General CCS C Discussion Posted: Thu Dec 23, 2004 4:05 pm Subject: fast interrupt |
Hi...
I must use the fast interrupt but having big trouble.
I tried to save and restore the registers 0 to 3 like this
unsigned char R0;
#locate R0 = 0x1
but compiler is throughin ... |
Topic: fast interrupt |
Prashant Patel
Replies: 9
Views: 30851
|
Forum: General CCS C Discussion Posted: Wed Dec 22, 2004 6:07 pm Subject: fast interrupt |
Excellent ckielstra......
Can you please do me favour?
Can you indicate which are the registers used and I need to save and
restore them at the end of the interrupt. I check it but having trouble ... |
Topic: fast interrupt |
Prashant Patel
Replies: 9
Views: 30851
|
Forum: General CCS C Discussion Posted: Tue Dec 21, 2004 9:12 pm Subject: fast interrupt |
Hi..
We are using 18F4525 using PCH compiler and 10 Mhz*4=40MHz.
There are three interrupts now i.e RTCC, CCP2 and Timer3. And we are
going to add two more interrupt CCP1 and Timer1.
Right ... |
Topic: 10Bit DAC TC1321 |
Prashant Patel
Replies: 3
Views: 8529
|
Forum: General CCS C Discussion Posted: Wed Dec 15, 2004 1:43 pm Subject: 10Bit DAC TC1321 |
Hi..
Thanks for reply.
I checked the datasheet for DAC TC1321. Max clock frequency
is 100KHz.
I have tried the following way to make clock input to DAC slow
but it does not work?
Please tel ... |
Topic: 10Bit DAC TC1321 |
Prashant Patel
Replies: 3
Views: 8529
|
Forum: General CCS C Discussion Posted: Tue Dec 14, 2004 6:20 pm Subject: 10Bit DAC TC1321 |
Hi..
we are using 16F877 and DAC TC1321.
I have written following simple program to generate saw tooth waveform.
4.7K pullups are connected to both SDA and SCL line.
Reference volgate at pin V ... |
Topic: 18F4680 not found |
Prashant Patel
Replies: 5
Views: 10299
|
Forum: General CCS C Discussion Posted: Thu Dec 02, 2004 7:45 pm Subject: 18F4680 not found |
Hi..
PCM 3.202 was already installed in my computer PICC
directory. And I just bought PCH compiler and installed
it under PICC directory.
As we are going to use 18F4680 processor, I need to inc ... |
Topic: Port PINs handling |
Prashant Patel
Replies: 4
Views: 8654
|
Forum: General CCS C Discussion Posted: Tue Nov 30, 2004 2:38 pm Subject: Port PINs handling |
Hi..
We are using PIC18F4585 .
(1)
How can we set the direction of some of the Port PINs and
leave the other PINs as it is? As we are using some of the
port PINs for different functionalities. ... |
Topic: DAC converter Program |
Prashant Patel
Replies: 4
Views: 10628
|
Forum: General CCS C Discussion Posted: Sun Nov 21, 2004 5:58 pm Subject: DAC converter Program |
Hi..
I have removed the floating lines. And also used
pullups of 4.7K on data and clock line. But still
not getting anything on the output.
Let me ask you one question, if we use the following ... |
Topic: DAC converter Program |
Prashant Patel
Replies: 4
Views: 10628
|
Forum: General CCS C Discussion Posted: Sun Nov 21, 2004 2:40 pm Subject: DAC converter Program |
Thanx Mark,
You have tought me good points. But I am new to
DAC or slave mode or I2C. Still it is not giving
any output. Following is the program that I have
modified. I can't figure out what ca ... |
Topic: DAC converter Program |
Prashant Patel
Replies: 4
Views: 10628
|
Forum: General CCS C Discussion Posted: Thu Nov 18, 2004 9:19 pm Subject: DAC converter Program |
Hi..we are using 16F877 and DAC TC1320 .
We are using CCS C compiler 3.202 . I have
tried to test the following program of Sawtooth
generator to test DAC functionality. But it doesn't
give anyt ... |
Topic: DAC TC1320 |
Prashant Patel
Replies: 5
Views: 10320
|
Forum: General CCS C Discussion Posted: Thu Nov 04, 2004 2:50 pm Subject: DAC TC1320 |
Hi..
I have the little experience in programming PIC.
If the data could be sent parallelly then would be
easy. But it is serial connection. So I need your
guidence about How to send the data acc ... |
Topic: DAC TC1320 |
Prashant Patel
Replies: 5
Views: 10320
|
Forum: General CCS C Discussion Posted: Thu Nov 04, 2004 2:15 pm Subject: DAC TC1320 |
Thanks..
I have that Datasheet for TC1320. But I am new for this.
Can you please write a simple code for me and explain a bit?
Regards
Prashant |
|