Author |
Message |
Topic: spi hardware considerations |
sander
Replies: 1
Views: 10615
|
Forum: General CCS C Discussion Posted: Wed Mar 08, 2006 3:45 pm Subject: spi hardware considerations |
Hi
I am doing a spi communication between 2 pics, the circuit is working with some errors and I think that is due to the hardware. anybody knows about some considerations in the hardware connectio ... |
Topic: 2 interrupts |
sander
Replies: 7
Views: 8656
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2005 2:33 pm Subject: 2 interrupts |
I can't believe it but now it is working better, but just arrive well 3 bytes but I think that I can solve that , thank you very much
sander |
Topic: 2 interrupts |
sander
Replies: 7
Views: 8656
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2005 2:12 pm Subject: 2 interrupts |
there isn't a uart overflow because I tested all the communication routines that I made one by one and they work well, in addition when I disable the rtcc interrupt the communication works well
... |
Topic: 2 interrupts |
sander
Replies: 7
Views: 8656
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2005 1:56 pm Subject: 2 interrupts |
the program is similar to this:
#include<16f877A.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP,PUT,BROWNOUT,NOCPD,NOWRT
#use delay(clock=20000000,RESTART_WDT)
#use RS232(BAUD=9600, BITS=8, PARITY=N, ... |
Topic: 2 interrupts |
sander
Replies: 7
Views: 8656
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2005 10:09 am Subject: 2 interrupts |
hi ,sorry for my english
I'm writing a program for the pic 16f877a and I want to use 2 interrupts(int rda and int rtcc) but the int rda doesn't work , How can I do? Does anyone have a suggestion ?
... |
|