Author |
Message |
Topic: Trouble using 2 UART (rs232) |
EricLinderson
Replies: 14
Views: 16208
|
Forum: General CCS C Discussion Posted: Wed May 02, 2007 1:14 pm Subject: Trouble using 2 UART (rs232) |
I've tried every solution now, and after separately tested every component with a terminal I've come to the conclution that the PIC receives bad characters. It can send fine, on both UARTs, but if i e ... |
Topic: Trouble using 2 UART (rs232) |
EricLinderson
Replies: 14
Views: 16208
|
Forum: General CCS C Discussion Posted: Wed Apr 25, 2007 10:32 am Subject: Trouble using 2 UART (rs232) |
Thanks for the tip, I'll implement such program in a few days, am a bit busy now. |
Topic: Trouble using 2 UART (rs232) |
EricLinderson
Replies: 14
Views: 16208
|
Forum: General CCS C Discussion Posted: Wed Apr 25, 2007 6:35 am Subject: Trouble using 2 UART (rs232) |
if(bt!=null){
output_low(LED_BLUE);
if(bt==0x0D)
{
newBT=1;
for(i=B_IN;i<B_SIZE-1;B_SIZE)
B_IN=B ... |
Topic: Trouble using 2 UART (rs232) |
EricLinderson
Replies: 14
Views: 16208
|
Forum: General CCS C Discussion Posted: Wed Apr 25, 2007 5:18 am Subject: Trouble using 2 UART (rs232) |
Hi again. My compiler version is 3.242, and I have corrected the post now.
I hope that'll help... |
Topic: Trouble using 2 UART (rs232) |
EricLinderson
Replies: 14
Views: 16208
|
Forum: General CCS C Discussion Posted: Wed Apr 25, 2007 2:04 am Subject: Trouble using 2 UART (rs232) |
thank you, that solved the first problem. I used a driver to push the voltage up to 5v and now the interrupt occurs.
My next problem is that the buffer is just filled with, what seems like, random ... |
Topic: Trouble using 2 UART (rs232) |
EricLinderson
Replies: 14
Views: 16208
|
Forum: General CCS C Discussion Posted: Tue Apr 24, 2007 7:33 am Subject: Trouble using 2 UART (rs232) |
you've got a point.. :P but I'm sure I removed that line by accident recently, it didn't work before either... |
Topic: Trouble using 2 UART (rs232) |
EricLinderson
Replies: 14
Views: 16208
|
Forum: General CCS C Discussion Posted: Tue Apr 24, 2007 5:00 am Subject: Trouble using 2 UART (rs232) |
I'm trying to use 2 uart ports with a PIC18F6722, the first UART works fine and is connected with a bluetooth module that uses wireless spp. The problem is the 2nd UART (connected with a GPS module) , ... |
Topic: Receiving data with SPI |
EricLinderson
Replies: 1
Views: 3308
|
Forum: General CCS C Discussion Posted: Mon Mar 19, 2007 7:31 am Subject: Receiving data with SPI |
I'm trying to receive nmea sentences from a GPS module, and I'm trying to use SPI on my PIC18F4525. I can see the data coming from the GPS with an oscilloscope, and that pin is connected to pin 23 (SD ... |
|