# what are the possible RS232 baud rates on a SBC BL2100?

**URL:** <https://forums.digi.com/t/what-are-the-possible-rs232-baud-rates-on-a-sbc-bl2100/11642>\
**Category:** Rabbit Software\
**Tags:** baud, sbc, rs232\
**Created:** [June 24, 2013, 1:22pm UTC](https://forums.digi.com/t/what-are-the-possible-rs232-baud-rates-on-a-sbc-bl2100/11642 "2013-06-24T13:22:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![esterer](https://avatars.discourse-cdn.com/v4/letter/e/96bed5/32.png) [@esterer](https://forums.digi.com/u/esterer)\
**Post date:** [June 24, 2013, 1:22pm UTC](https://forums.digi.com/t/what-are-the-possible-rs232-baud-rates-on-a-sbc-bl2100/11642/1 "2013-06-24T13:22:25Z")

</div>



---

<div class="post-metadata">

**Author:** ![trooper2](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@trooper2](https://forums.digi.com/u/trooper2)\
**Post date:** [June 25, 2013, 12:21pm UTC](https://forums.digi.com/t/what-are-the-possible-rs232-baud-rates-on-a-sbc-bl2100/11642/2 "2013-06-25T12:21:31Z")

</div>

There is no set list of possible baud rates when opening a serial port. Instead you can check the return code when using serXopen (with X standing for the particular serial port).

For example, a return of 1 when using

rc = serDopen(115200);

means that you were able to open the serial port at 115200 baud.

A return of 0 means that it was not successfully opened at that baud rate. I believe this is within/without a 5% tolerance.

---

<div class="post-metadata">

**Author:** ![esterer](https://avatars.discourse-cdn.com/v4/letter/e/96bed5/32.png) [@esterer](https://forums.digi.com/u/esterer)\
**Post date:** [June 26, 2013, 9:41am UTC](https://forums.digi.com/t/what-are-the-possible-rs232-baud-rates-on-a-sbc-bl2100/11642/3 "2013-06-26T09:41:10Z")

</div>

The baud rate is set from 2 timers and the 2.21184 MHz clock. All possible baud rates would be 22118400 / x / y where x and y can range from 1 to 256. Only certain combinations end up as whole number baud rates. i.e dividing by 36 and 64 give s 9600 baud. So does 72 and 32.
