RE: Uart from Pic to Rabbit
"Jesus Manuel Conejo Sarabia" <[email protected]>
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <000f01ced729$653535a0$2f9fa0e0$@com> |
Hi Pete,
Hahahahahahaha, yes!, you are right, but now i have no time
to test many things. The real problem wasn't the compiler version or the
PIC. The problem was to about serDgetc versus serDread solution and the time
on watching them in the code. I'm now studying it.
Thanks
Jesus
De: [email protected] [mailto:[email protected]] En
nombre de Fournier, Peter
Enviado el: viernes, 01 de noviembre de 2013 14:09
Para: [email protected]
Asunto: RE: [rabbit-semi] Uart from Pic to Rabbit
Jesus,
That's fine, but I'd still check the setting on the PIC or you might find
yourself working or not working at the whim of the compiler version.
You really want to be more bullet-proof than you are.
If you can get the serial port to work correctly with DC8.01 then you can be
more sure that going to DC 10.x won't break it.
It's a no cost solution.
My boss always said. "If you use a belt AND suspenders you are sure your
pants will stay up if one breaks."
-Pete F
_____
From: <mailto:[email protected]> [email protected] [
<mailto:[email protected]> mailto:[email protected]] On
Behalf Of Jesus Manuel Conejo Sarabia
Sent: Friday, November 01, 2013 8:50 AM
To: <mailto:[email protected]> [email protected]
Subject: RE: [rabbit-semi] Uart from Pic to Rabbit
Hi Pete,
Thanks for answer. I have done a test on DC 9.62 and it works
ok, so I suppose that is a problem with DC8.01 that I was using
Thanks
Jesus
De: [email protected] [mailto:[email protected]] En
nombre de Fournier, Peter
Enviado el: viernes, 01 de noviembre de 2013 13:32
Para: [email protected]
Asunto: RE: [rabbit-semi] Uart from Pic to Rabbit
Jesus,
Option 1:
On the PIC, look for a setting called "idle state for transmit". Change it
to low.
As long as it is high the Rabbit serial port thinks it is getting a start
bit
Option 2:
On the rabbit you MIGHT be able to set the receiver to look for a rising
edge instead of a level.
-Pete F
_____
From: <mailto:[email protected]> [email protected] [
<mailto:[email protected]> mailto:[email protected]] On
Behalf Of Jesus Manuel Conejo Sarabia
Sent: Thursday, October 31, 2013 4:50 PM
To: <mailto:[email protected]> [email protected]
Subject: [rabbit-semi] Uart from Pic to Rabbit
Hi,
I'm trying to send some bytes from a Microchip Pic to a
Rabbit2000 via UART with TTL levels. What I get in Rabbit is that bytes but
also continuously I get the 0xFF byte. The TTL level from PIC's TX pin is OK
(5V in idle time), what's wrong? Any hint?
Thanks!
Jesus