Author |
Message |
Topic: Serial port doesn't work long enough |
vminin
Replies: 15
Views: 16073
|
Forum: General CCS C Discussion Posted: Thu Feb 12, 2009 1:53 pm Subject: Serial port doesn't work long enough |
Wayne_ : Never mind. It was my fault, I played with code and forgot uncomment CTS/RTS stuff:
// while(input(CTS))
// ;
// delay_us(2);
putc('1');
sorry about ... |
Topic: Serial port doesn't work long enough |
vminin
Replies: 15
Views: 16073
|
Forum: General CCS C Discussion Posted: Thu Feb 12, 2009 8:57 am Subject: Serial port doesn't work long enough |
sorry, I was log in as a guest above |
Topic: USB & PIC |
vminin
Replies: 2
Views: 4191
|
Forum: General CCS C Discussion Posted: Mon Feb 09, 2009 1:36 pm Subject: USB & PIC |
PIC xxxxx? |
Topic: Serial port doesn't work long enough |
vminin
Replies: 15
Views: 16073
|
Forum: General CCS C Discussion Posted: Mon Feb 09, 2009 10:46 am Subject: Serial port doesn't work long enough |
I changed to #FUSES NOLVP, replaced the crystal, now it is 24MHz, set BRGH = 1, SPBRG = 12 (error 0.16%).
By the way, real freq from original crystal 30MHz was 29.77. I checked with PicBaud, the erro ... |
Topic: Serial port doesn't work long enough |
vminin
Replies: 15
Views: 16073
|
Forum: General CCS C Discussion Posted: Fri Feb 06, 2009 2:24 pm Subject: Serial port doesn't work long enough |
Thanks PCM!
I will change and try, then post result. It would take awhile though:) |
Topic: Serial port doesn't work long enough |
vminin
Replies: 15
Views: 16073
|
Forum: General CCS C Discussion Posted: Fri Feb 06, 2009 2:03 pm Subject: Serial port doesn't work long enough |
It runs in hardware.
Here is fuses:
#include <18F252.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog Timer uses 1:1 ... |
Topic: Serial port doesn't work long enough |
vminin
Replies: 15
Views: 16073
|
Forum: General CCS C Discussion Posted: Fri Feb 06, 2009 1:39 pm Subject: Serial port doesn't work long enough |
Thanks for quick reaction!
CTS/RTS things are not important, they work as needed.
Yes, i have the error statement in my real program and it doesn't help to much. Any way I will add this in my s ... |
Topic: Serial port doesn't work long enough |
vminin
Replies: 15
Views: 16073
|
Forum: General CCS C Discussion Posted: Fri Feb 06, 2009 1:13 pm Subject: Serial port doesn't work long enough |
I have a situation here. I run the program which receives a few characters from PC and sends a pocket of data back to PC. It works perfect but from time to time it stops receiving command from PC. Tur ... |
|