Author |
Message |
Topic: delay in a isr |
Lorenzo
Replies: 3
Views: 10859
|
Forum: General CCS C Discussion Posted: Tue Oct 12, 2004 3:59 am Subject: delay in a isr |
I use PCW 3.157 and I have a problem with interrupts:
these don't work if I add delay_ms() function in a isr.
This works:
#int_RDA
isr_RDA(){
....
}
This doesn't work: ... |
Topic: How to encode a RF signal ? |
Lorenzo
Replies: 3
Views: 10605
|
Forum: General CCS C Discussion Posted: Thu Aug 26, 2004 7:22 am Subject: How to encode a RF signal ? |
HT12D, ok.
My receiver is made of an AM receiver with its output directly connected to micro. |
Topic: How to encode a RF signal ? |
Lorenzo
Replies: 3
Views: 10605
|
Forum: General CCS C Discussion Posted: Thu Aug 26, 2004 6:28 am Subject: How to encode a RF signal ? |
I've to encode a RF signal with a 16F873A.
The other side decoder is a Samhop SM5028 or a Holtek HT12E.
Has anyone the right routines ?
Thank you |
Topic: RDA vs EXT |
Lorenzo
Replies: 6
Views: 17597
|
Forum: General CCS C Discussion Posted: Wed Jul 14, 2004 8:37 am Subject: RDA vs EXT |
There isn't noise and however the EXT interrupt is disabled. |
Topic: RDA vs EXT |
Lorenzo
Replies: 6
Views: 17597
|
Forum: General CCS C Discussion Posted: Wed Jul 14, 2004 1:47 am Subject: RDA vs EXT |
I use a 16F648A with PCW 3.157.
In my program there's a isr for USART rx and it works well.
If in the program I add isr for external interrupt than the isr_RDA doesn't work.
This is true also if I ... |
Topic: Unknown reset |
Lorenzo
Replies: 1
Views: 8229
|
Forum: General CCS C Discussion Posted: Thu Jul 01, 2004 6:46 am Subject: Unknown reset |
My 16LF648A resets and WDT is disabled, BOR is disabled and Vcc and MCLR are stable on my 100MHz oscilloscope.
Please Help |
Topic: strcpy question |
Lorenzo
Replies: 2
Views: 9578
|
Forum: General CCS C Discussion Posted: Tue Jun 29, 2004 4:01 am Subject: strcpy question |
Is strcpy function in string.h correct ?
It seems that it doesn't copy the '\0' too in destination string:
s2 is {'h','e','l','l','o','\0'} and s1 is {'1','1','1','1','1','1'}
after strcpy(s1,s2), ... |
Topic: RDA problem |
Lorenzo
Replies: 4
Views: 14228
|
Forum: General CCS C Discussion Posted: Tue Jun 22, 2004 2:34 am Subject: RDA problem |
My chipedit is different.
It doesn't have the UART option |
Topic: RDA problem |
Lorenzo
Replies: 4
Views: 14228
|
Forum: General CCS C Discussion Posted: Tue Jun 22, 2004 1:57 am Subject: RDA problem |
What can I do to fix this problem with device editor ? |
Topic: RDA problem |
Lorenzo
Replies: 4
Views: 14228
|
Forum: General CCS C Discussion Posted: Tue Jun 22, 2004 1:10 am Subject: RDA problem |
I'm using a 16LF648A with a PCW compiler ver 3.157.
The RDA interrupt doesn't work but the receive line works well.
I use the same program with a 16LF628 and there aren't problems.
I suppose that t ... |
Topic: ICD-U40 doesn't work |
Lorenzo
Replies: 1
Views: 28930
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Mon Jun 21, 2004 12:53 am Subject: ICD-U40 doesn't work |
I have to program a 16LF648A with 3V power supply but
ICD-U40 rarely works.
With a supply voltage higher it works well.
Please help
Lorenzo |
Topic: MCLR sinks much current |
Lorenzo
Replies: 2
Views: 9324
|
Forum: General CCS C Discussion Posted: Thu Jun 17, 2004 1:09 am Subject: MCLR sinks much current |
I connect a 47k resistor directly to MCLR pin of a 16LF648A.
The power supply is 3V but the voltage on MCLR pin is 1.8V.
With 10k the voltage is 2V.
Why? |
Topic: Conection pic-mobile phone |
Lorenzo
Replies: 4
Views: 14504
|
Forum: General CCS C Discussion Posted: Thu Jun 03, 2004 12:56 am Subject: Conection pic-mobile phone |
You must send:
printf("at\r");
Lorenzo |
Topic: ICD-U40 vs 3V |
Lorenzo
Replies: 1
Views: 30813
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri May 14, 2004 4:36 am Subject: ICD-U40 vs 3V |
How do I have to connect ICD-U40 to my board that is 3V powered ?
Thank you
Lorenzo |
|