Shop OBEX P1 Docs P2 Docs Learn Events
BS2px at 115200 baud — Parallax Forums

BS2px at 115200 baud

Technic-R-CTechnic-R-C Posts: 117
edited 2008-04-07 22:57 in BASIC Stamp
Hi

I am trying to make the Vex Pic micocontroller to communicate with the BS2px using the Vex TX and RX ports, but I have run into a problem.

The Vex Tx and Rx ports (USART) are configured for 115200 Baud, 8-Data Bits and 1-Stop Bit, whereas the Parallax·BS2px can only handle a maximum of 19200 Baud.

Is there any way to increase the baud rate on the BS2px to come close to the Vex PIC speed?· This might be a stupid question, but I really don't know.

Technic-R-C

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-04-07 22:55
    Not really. You can probably increase the transmit speed. 38.4KBaud is not unreasonable. Higher receive speeds won't work since the BS2px serial I/O isn't buffered and it's just not fast enough to handle the speed.

    You really have to move to a faster microcontroller like the SX or the Propeller for speeds like 115KBaud. You could use an external UART, but the small buffers would still leave you with problems handling the data rate.
  • Technic-R-CTechnic-R-C Posts: 117
    edited 2008-04-07 22:57
    Thank you for the quick reply

    Technic-R-C
Sign In or Register to comment.