Author |
Message |
Topic: Download Hex data from PC |
thushi
Replies: 3
Views: 5245
|
Forum: General CCS C Discussion Posted: Mon Jul 24, 2006 5:21 am Subject: Download Hex data from PC |
Hi all,
I am using PIC16F877A, PIC C compiler to generate "Bell" sound. In order to do that I want to download data from PC to PIC16F877A flash memory. How can I do that? My data is store ... |
Topic: Bell Sound |
thushi
Replies: 2
Views: 4180
|
Forum: General CCS C Discussion Posted: Tue Jun 20, 2006 6:40 am Subject: Bell Sound |
Hi,
Can you please help me to generate Bell Sound using PIC and CCS C compiler. I need a polyphonic like sound.
Thank you |
Topic: Polyphonic sound |
thushi
Replies: 3
Views: 5420
|
Forum: General CCS C Discussion Posted: Tue Jun 20, 2006 6:39 am Subject: Bell sound |
Did you find the solution? I also wants to generate Bell sound using PIC.
Thank you |
Topic: Fast Interrupts for Timer0, Timer1 and Timer2 |
thushi
Replies: 10
Views: 20459
|
Forum: General CCS C Discussion Posted: Thu Mar 23, 2006 4:08 am Subject: Fast Interrupts for Timer0, Timer1 and Timer2 |
As an example of the 'int_global' approach, the following is some code I used for this. This was for a different 'set' of interrupts to you, but shows how to handle it.
#int_global
void myint( ... |
Topic: Fast Interrupts for Timer0, Timer1 and Timer2 |
thushi
Replies: 10
Views: 20459
|
Forum: General CCS C Discussion Posted: Wed Mar 22, 2006 8:14 am Subject: I require FAST Interrupts for T0, T1 and T2 |
Dear Ckielstra,
Thanks again..
I am doing motor control application so that time is more critical. Timer0 is used for set the frequency of the motor. Timer2 is used to generate PWM (Two channels ... |
Topic: Fast Interrupts for Timer0, Timer1 and Timer2 |
thushi
Replies: 10
Views: 20459
|
Forum: General CCS C Discussion Posted: Wed Mar 22, 2006 8:06 am Subject: Fast Interrupts for Timer0, Timer1 and Timer2 |
Dear Mr.Ttelmah
Thanks for your reply.
Can you please give me a sample code to do that. I coudnt understand what you wrote here. Is it some think like this?
#int_timer0 fast
void timer0_is ... |
Topic: Fast Interrupts for Timer0, Timer1 and Timer2 |
thushi
Replies: 10
Views: 20459
|
Forum: General CCS C Discussion Posted: Wed Mar 22, 2006 4:15 am Subject: Fast Keyword |
Dear Mr. Ckielstra,
Thank you for your help.
I coudnt use FAST keyword for all three interrupt service routines . (T0, T1 and T2). This is the problem I have. I want to service the interrupts as ... |
Topic: Fast Interrupts for Timer0, Timer1 and Timer2 |
thushi
Replies: 10
Views: 20459
|
Forum: General CCS C Discussion Posted: Wed Mar 22, 2006 12:29 am Subject: Fast Interrupts for Timer0, Timer1 and Timer2 |
Hi all,
I would like to implement similar application like Microchip AN843, for that I require Fast Interrupts for Timer0, Timer1 and Timer2 and Slow interrupts for RB and A to D converter.
Ple ... |
Topic: Microchip ICD-2 Support |
thushi
Replies: 1
Views: 4226
|
Forum: General CCS C Discussion Posted: Fri Mar 17, 2006 8:22 pm Subject: Microchip ICD-2 Support |
Hi all,
I would like to buy Microchip ICD-2 in nea future. Please let me know it is supported with CCS editor PCW.
Thank you |
Topic: Great Problem with Division.. |
thushi
Replies: 3
Views: 7636
|
Forum: General CCS C Discussion Posted: Tue Mar 14, 2006 8:56 pm Subject: Great Problem with Division.. |
Hi all,
I have great problem with integer division. If I divide two integer variables the program jumps to initial point of device .h file. for example 16f84a.h. Then my ISR routine become ineffect ... |
Topic: Division Problem. a/b over number division like 10/5 |
thushi
Replies: 1
Views: 6155
|
Forum: General CCS C Discussion Posted: Mon Mar 13, 2006 8:20 pm Subject: Division Problem. a/b over number division like 10/5 |
When I divide two numbers using integer variables, PICC assembly code jumps to start of the code.
int a;
int b;
int c;
a=10;
b=5;
c=a/c;
while when I am dividing by two numbers I dont ... |
Topic: Interrupt Priority Settings |
thushi
Replies: 7
Views: 13463
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 6:45 am Subject: Interrupt Priority Settings |
Hi All,
Please send me a sample CCS C coding to setup Interrupt Priority for timers.
for example:
Timer0... higher priority.
Timer1... lower prority.
best regards,
Thushi |
Topic: Three Phase Induction Motor Control / AN843 in C |
thushi
Replies: 3
Views: 6208
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 6:28 am Subject: Three Phase Induction Motor Control / AN843 in C |
Just use the assembler source as supplied...
Generally, to move over to C, to make the main code easier to modify, you will need to retain the assembler handlers for the interrupts, since the code is ... |
Topic: Three Phase Induction Motor Control / AN843 in C |
thushi
Replies: 3
Views: 6208
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 6:18 am Subject: Three Phase Induction Motor Control / AN843 in C |
ok i |
|