Results 1 to 5 of 5

Thread: XMUS16 Framing errors

  1. #1
    Join Date
    Jul 2007
    Location
    Central Coast, Australia
    Posts
    68

    Default XMUS16 Framing errors

    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

  2. #2
    Join Date
    Jul 2007
    Location
    Central Coast, Australia
    Posts
    68

    Default

    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
    Australian Web Design - If you need any Web Design or Development done then please do not hesitate to contact me. We service anywhere and have many international clients.

  3. #3
    Join Date
    May 2007
    Posts
    4,182

    Default

    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

  4. #4
    Join Date
    Jul 2007
    Location
    Central Coast, Australia
    Posts
    68

    Default

    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
    Australian Web Design - If you need any Web Design or Development done then please do not hesitate to contact me. We service anywhere and have many international clients.

  5. #5
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    861

    Default

    Quote Originally Posted by DeanCollins
    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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •