Author |
Message |
Topic: INT_RDA never fires |
curry
Replies: 14
Views: 14583
|
Forum: General CCS C Discussion Posted: Wed Nov 10, 2010 1:49 am Subject: INT_RDA never fires |
Solved........the pic and USB-UART interface I am using, have flow control wires tied as well: I forgot to set CTS in order to get data........
Thanks all for your tips....good work guys |
Topic: INT_RDA never fires |
curry
Replies: 14
Views: 14583
|
Forum: General CCS C Discussion Posted: Tue Nov 09, 2010 9:18 am Subject: INT_RDA never fires |
If could be useful......I tryed to read the first character in the main, and store it in a dummy variable: suddenly the interrupt start firing with successives chars sent ...the problem now is that in ... |
Topic: INT_RDA never fires |
curry
Replies: 14
Views: 14583
|
Forum: General CCS C Discussion Posted: Tue Nov 09, 2010 8:46 am Subject: INT_RDA never fires |
Tryed....but it doesn't work |
Topic: INT_RDA never fires |
curry
Replies: 14
Views: 14583
|
Forum: General CCS C Discussion Posted: Tue Nov 09, 2010 8:06 am Subject: INT_RDA never fires |
getchar() used.....printing outside with a flag setted in the ISR... but nothing anymore :-(
I don't need to declare the ISR function since put it in under #INT_RDA: always seen like this in thousa ... |
Topic: INT_RDA never fires |
curry
Replies: 14
Views: 14583
|
Forum: General CCS C Discussion Posted: Tue Nov 09, 2010 6:46 am Subject: INT_RDA never fires |
Forgot a thing: no MAX, I use FT232RL, a USB to serial UART interface. |
Topic: INT_RDA never fires |
curry
Replies: 14
Views: 14583
|
Forum: General CCS C Discussion Posted: Tue Nov 09, 2010 6:43 am Subject: INT_RDA never fires |
It doesn't blink a LED....I just wanna try the UART interrupt in order to use it in a bigger code.
I tried to disable ICD: the problem still remains.
Yes you're right it's not disable_interrupts(GLO ... |
Topic: INT_RDA never fires |
curry
Replies: 14
Views: 14583
|
Forum: General CCS C Discussion Posted: Tue Nov 09, 2010 5:18 am Subject: INT_RDA never fires |
Doesn't work.....anyway my 18F2620.h file doesn't have BORV43, I used BORV42....I don't think this is a problem..... |
Topic: INT_RDA never fires |
curry
Replies: 14
Views: 14583
|
Forum: General CCS C Discussion Posted: Tue Nov 09, 2010 5:04 am Subject: INT_RDA never fires |
Hi everybody, here is my problem.
I'm using pic18F2620 PCWHD v.4.068.
I setted up a USART , but when I send a character via Hyperterminal nothing happens, the USART never starts its IRQ. I'm getting ... |
|