View Single Post
  #10   Spotlight this post!  
Unread 30-04-2008, 13:09
DanielR. DanielR. is offline
Registered User
no team
 
Join Date: Apr 2008
Location: SELU
Posts: 6
DanielR. is an unknown quantity at this point
Re: using mplab with vex

I do not mean to thread-jack, but I have a related question regarding Vex and mplab.

I have been trying to get serial communication working on the vex using Kevin's code. Everything seems to be fine, I can send stuff to a terminal application like hyperterminal just fine, and the oscilliscope also shows output in the expected range. But, when I am trying to read in the data from a separate serially connected microcontroller I am not getting consistant output.

I have a Vex controller connected to an ABB (Atom bot-board) with an Atom28 on board. I can capture the signal sent from the Vex, but it seems to be flipping bits (sometimes it reads as 90 sometimes as B0, neither are correct). I do not know why.

I am trying to read it as I8N1_115200, but I have tried other serial modes with no success.
The Atom does not expect a "\r" and it expects 8-bit words. I have written a simple output function to reflect this, but it still does not work. (Again, communication to a terminal program is fine.) As far as I have been able to determine, everything on the Atom side is working as it should be expected.

Does anyone have a suggestion for this? Has anyone successfully gotten the Vex to communicate with other microcontrollers?
Reply With Quote