RE: Uart from Pic to Rabbit
"Fournier, Peter" <pfournier-P4RXiKWKZulWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] [mailto:[email protected]] On Behalf Of Jesus Manuel Conejo Sarabia Sent: Friday, November 01, 2013 8:50 AM To: [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: [email protected] [mailto:[email protected]] On Behalf Of Jesus Manuel Conejo Sarabia Sent: Thursday, October 31, 2013 4:50 PM To: [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