-2
\$\begingroup\$

Reading this application note about timing for enable RS485 transeiver, I read that I need to ensure a time called "bit time", which depends on the baud rate, for example the document shows an example:

enter image description here

using 230400 baud rate the bit rate is 4.34 µs, but the document doesn't specify how to calculate this value

How can I calculate it?

The application note is here: https://www.st.com/resource/en/application_note/cd00249778-managing-the-driver-enable-signal-for-rs485-and-iolink-communications-with-the-stm32s-usart-stmicroelectronics.pdf

\$\endgroup\$
2
  • \$\begingroup\$ Often called 'bit period'. \$\endgroup\$
    – TonyM
    Dec 17, 2021 at 17:48
  • 1
    \$\begingroup\$ 1/baud rate.... \$\endgroup\$ Dec 17, 2021 at 19:43

2 Answers 2

3
\$\begingroup\$

using 230400 baud rate the \$\color{red}{\text{bit rate}}\$ is 4.34 µs, but the document doesn't specify how to calculate this value. How can I calculate it?

I'm assuming that you don't actually mean \$\color{red}{\text{bit rate}}\$ - you mean the time duration for each bit.

So, take the reciprocal of the baud rate to get the time for each bit.

In other words, if you are receiving or transmitting 230400 bits per second then each bit must last 4.34027778 μs.

\$\endgroup\$
3
\$\begingroup\$

It is calculated as 1/230400 = 4.34 microseconds.

If there is X bits per 1 second, then 1 second is divided to X parts to get time of one bit.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.