1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

High baud rate using win32

Discussion in 'Win32' started by ljungsan, Apr 7, 2006.

  1. ljungsan

    ljungsan New Member

    Hi,

    I'm trying to set up a serial connection at 250000 baud rate (optimal baud rate for other side) with win32. SetCommState returns error 87 (bad parameter). The doc says "Baud rate at which the communications device operates. This member can be an actual baud rate value, or one of the following indexes." Highest index 256000. Is there limitations with HW? Anyone got tips/hints?

    Regards, Ljung
     
  2. shabbir

    shabbir Administrator Staff Member

    Why not try with other values like CBR_128000 or CBR_115200 ...
     
  3. ljungsan

    ljungsan New Member

    The communication is with a microcontroller running on a crystal (8MHz) not good for baudrates. The only baudrate with 0% error is 250k.
     

Share This Page