This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CMSIS DRIVER USART - rx_timeout

Hello,

is thare any way to configure a time delay or a number of unreceived bits that will generate ARM_USART_EVENT_RX_TIMEOUT event through CMSIS DRIVER USART interface?

I would like to use this for a 3.5 characters detection of frame end in Modbus protocol. Can I use CMSIS for this or I need to somehow bypass this interface?

Many thanks

Parents
  • No, this cannot be configured from the API.

    The rationale behind:
    - support for this feature is not always available in hardware
    - timeout is hardware dependent (NXP LPC: 3.5 to 4.5 character times)

    Therefore the API defines support for this timeout as optional (reported through ARM_USART_CAPABILITIES) and does not support configuring the actual timeout.

Reply
  • No, this cannot be configured from the API.

    The rationale behind:
    - support for this feature is not always available in hardware
    - timeout is hardware dependent (NXP LPC: 3.5 to 4.5 character times)

    Therefore the API defines support for this timeout as optional (reported through ARM_USART_CAPABILITIES) and does not support configuring the actual timeout.

Children
No data