Author |
Message |
Topic: SOLVED: problem with INT_RDA not being fired |
fabien.casas
Replies: 6
Views: 8538
|
Forum: General CCS C Discussion Posted: Fri Jan 12, 2007 7:54 am Subject: SOLVED: problem with INT_RDA not being fired |
That's it Ttelmah !
If the code is checking the input bit, then a software UART is being used.
I tried with just adding "bits=8" to the use_rs232 statement, but that was not enough ... |
Topic: SOLVED: problem with INT_RDA not being fired |
fabien.casas
Replies: 6
Views: 8538
|
Forum: General CCS C Discussion Posted: Fri Jan 12, 2007 3:37 am Subject: SOLVED: problem with INT_RDA not being fired |
Thanks for your answer.
I've added the "errors" option, and flushed the buffer and the flag before enabling interrupts, as you suggested, but there's still no interrupt.
Yes, on 18F4 ... |
Topic: SOLVED: problem with INT_RDA not being fired |
fabien.casas
Replies: 6
Views: 8538
|
Forum: General CCS C Discussion Posted: Thu Jan 11, 2007 12:15 pm Subject: SOLVED: problem with INT_RDA not being fired |
Hi all,
I'm developing software for a 18F4550 with CCS v. 3.249, and I have a strange problem with the UART receive interrupt.
The built-in serial functions (putchar, getch, kbhit...) work fine, b ... |
Topic: advice needed for rs232 baudrate with #use rs232 |
fabien.casas
Replies: 3
Views: 4633
|
Forum: General CCS C Discussion Posted: Wed Nov 29, 2006 11:11 am Subject: advice needed for rs232 baudrate with #use rs232 |
Ok, thanks John and Ttelmah,
I've taken a closer look at the CPU clock chain.
My external oscillator provides a 24MHz frequency, so I configured
#fuses with:
- HSPLL and USBDIV: because I pl ... |
Topic: advice needed for rs232 baudrate with #use rs232 |
fabien.casas
Replies: 3
Views: 4633
|
Forum: General CCS C Discussion Posted: Wed Nov 29, 2006 7:51 am Subject: advice needed for rs232 baudrate with #use rs232 |
Hi all,
I'm working on a 18F4550-based custom board, using CCS C Compiler v3.249, and I wanted to have some explanations on the #use rs232 directive, concerning the baudrate.
My "problem&qu ... |
|