Shop OBEX P1 Docs P2 Docs Learn Events
RE: how to change a baud rate in data logger ? — Parallax Forums

RE: how to change a baud rate in data logger ?

MaheshMahesh Posts: 11
edited 2013-05-20 07:04 in BASIC Stamp
Dear sir,


I am Debugging to change the baud rate using terminal software with UART Configuration.
I can able to do communicate with data logger using UART of Micro controller (9600 baud rate).
but I do not now how to change the baud rate. but i was tried according to Vinculum data sheet as shown in following commands.

$0D
IPA
$0D
FBD
$1A
$00
$00
$0D


but I am getting command failed error.
Kindly, help me to solve this issue.

BR,
Mahesh

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2013-05-20 05:45
    You have to use the SBD command. The FBD command is used when you have an FTDI USB to serial adapter plugged into the USB port and you want to configure it.
  • MaheshMahesh Posts: 11
    edited 2013-05-20 05:57
    Dear sir,

    i was changed to SBD but now also i am unable to get different baudrate..

    BR,
    mahesh
  • Mike GreenMike Green Posts: 23,101
    edited 2013-05-20 06:24
    SBD is the correct command. Look at the description on page 24 of the attached firmware manual from Vinculum (FTDI).

    There is a space ($20) after the SBD command, before the parameter ($1A, $00, $00).
  • MaheshMahesh Posts: 11
    edited 2013-05-20 06:38
    Dear Sir,


    I have studied the page 24. I am sending the commands as per attached file.
    but It is showing Bad command error
    could you please send me the correct command for any baud rate.

    Thanks in Advance...

    Kindly Regards,
    mahesh
  • Mike GreenMike Green Posts: 23,101
    edited 2013-05-20 06:46
    From the manual (pages 22 and 24):

    "S", "B", "D", $20, $9C, $80, $00, $0D

    This should set the Baud to 19200 (after a 50ms delay).

    You mentioned that you're using some kind of terminal software. Remember that things like $20 or $80 are single bytes written here in hexadecimal notation, not the way you'd enter them in a terminal program.
  • MaheshMahesh Posts: 11
    edited 2013-05-20 07:04
    Thank you so much sir... i got it
Sign In or Register to comment.