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
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.