PDA

View Full Version : XMUS16 Framing errors



DeanCollins
11-22-2007, 05:54 AM
Hey Guys,

I managed to get the board fired up and working, diag and ZC are correct and flashing but I cannot for the life of me get the comms to run. I can get it to give framing errors but thats about it. I have tried protocol v1 and 2 at 57600 baud.

I am using rs232, could this be the problem? Is there an easy way to get rs485? as I cannot find a convertor in any of the local shops.

Thanks,
-Dean

DeanCollins
11-22-2007, 06:31 AM
Also I have a rs485 adapter here (kind of) but it doesn't seem to help either, is there any way I can test the rs485 output?

Thanks,
-Dean

P. Short
11-22-2007, 10:49 AM
The most likely/common sources of framing errors are either polarity reversal or baud rate error (or, less likely, the crystal frequency is off).

--

Phil

DeanCollins
11-22-2007, 04:18 PM
Howdy all,
I managed to get it to work last night with the help of klanger and wjohn... Interestingly enough is you dont have the PIC in the board it just wont work...lol
Here is a tip for anyone else troubleshooting the xmus board:
** If you dont have PIC 1 in then PIC 2 will not receive any serial comms **

A tired and frustrating lesson learnt!

Thanks Guys,
-Dean

xmus
11-22-2007, 05:21 PM
Howdy all,
I managed to get it to work last night with the help of klanger and wjohn... Interestingly enough is you dont have the PIC in the board it just wont work...lol
Here is a tip for anyone else troubleshooting the xmus board:
** If you dont have PIC 1 in then PIC 2 will not receive any serial comms **

A tired and frustrating lesson learnt!

Thanks Guys,
-Dean

However it is perfectly acceptable to configure a REN16 for 8 channel operation. To you would just need to short PIC1 pin 5 and 6 together to pass the UART data on (where the first PIC would normally do this).

Glad you figured this out so quickly!