Author |
Message |
Topic: Software vs Hardware UART on PIC16f877a |
ramans
Replies: 21
Views: 26160
|
Forum: General CCS C Discussion Posted: Mon Oct 17, 2005 10:59 am Subject: Software vs Hardware UART on PIC16f877a |
Bingo! That works. Cool thank you, and let me know if you hear of a fix for the initial bug! |
Topic: Software vs Hardware UART on PIC16f877a |
ramans
Replies: 21
Views: 26160
|
Forum: General CCS C Discussion Posted: Thu Oct 13, 2005 5:28 pm Subject: Software vs Hardware UART on PIC16f877a |
Thanks I'll give this a try! |
Topic: Software vs Hardware UART on PIC16f877a |
ramans
Replies: 21
Views: 26160
|
Forum: General CCS C Discussion Posted: Wed Oct 12, 2005 12:47 pm Subject: Software vs Hardware UART on PIC16f877a |
Isn't that what the gets/puts C program we tried earlier did? that did not work.
-R |
Topic: Software vs Hardware UART on PIC16f877a |
ramans
Replies: 21
Views: 26160
|
Forum: General CCS C Discussion Posted: Tue Oct 11, 2005 12:20 pm Subject: Software vs Hardware UART on PIC16f877a |
Here's some PBP code that works:
DEFINE OSC 20
INCLUDE "modedefs.bas"
DEFINE DEBUG_REG PORTD
DEFINE DEBUG_BIT 0
DEFINE DEBUG_BAUD 9600
DEFINE DEBUG_MODE 1
baud VAR WORD
ono ... |
Topic: Software vs Hardware UART on PIC16f877a |
ramans
Replies: 21
Views: 26160
|
Forum: General CCS C Discussion Posted: Tue Oct 11, 2005 11:02 am Subject: Software vs Hardware UART on PIC16f877a |
First let me say Wow, this is great, I've gotten almost no feedback from my questions for That other compiler having this level of response is definitely making this the one to be using.
Now on to ... |
Topic: Software vs Hardware UART on PIC16f877a |
ramans
Replies: 21
Views: 26160
|
Forum: General CCS C Discussion Posted: Tue Oct 11, 2005 9:40 am Subject: Software vs Hardware UART on PIC16f877a |
Definitely a good thought. As that's left over from when I moved the device from the pins I had been using to the hardware UART to test that. Changing the statement to "set_Tris_c" has no effect, I ge ... |
Topic: Software vs Hardware UART on PIC16f877a |
ramans
Replies: 21
Views: 26160
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2005 4:48 pm Subject: Software vs Hardware UART on PIC16f877a |
#FUSES LVP
The first thing to do is change that fuse to NOLVP.
No good, same result. I should mention that I'm using EPICWin to program, so I went and checked the fuse settin ... |
Topic: Software vs Hardware UART on PIC16f877a |
ramans
Replies: 21
Views: 26160
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2005 2:05 pm Subject: Software vs Hardware UART on PIC16f877a |
If you can post a small program in PicBasicPro that works, then do so.
Especially post the setup code for the serial ports, because I wonder
if PBP is really using a software USART.
Certainly her ... |
Topic: Software vs Hardware UART on PIC16f877a |
ramans
Replies: 21
Views: 26160
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2005 11:04 am Subject: Software vs Hardware UART on PIC16f877a |
Hi all I have some code below which I'm using to interface my PIC16f877a with a GPS module, I have stripped this down to illustrate my question.
#use delay (clock=20000000)
#use RS232( ... |
|