Skip to main content
Bastien1
Associate II
March 18, 2021
Solved

RX interrupt with Runtime-IO

  • March 18, 2021
  • 1 reply
  • 997 views

Hello,

I would like to know if it possible to make RX interrupt with the serial driver initialize thanks to Runtime-IO Component RLA ?

In reality, I want to use scanf() with interrupt to make it non-blocking.

Thank you by advance

Respectfully

Bastien

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello bastien ,

    Did you asynchronous mode in Runtime -IO ?

    In this particular case , often, in some big projects , i am using some multi-threads with real time os (FreeRTOS, chibios ..) in order not to block during scanf process.

    Best Regards

    Erwan

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Technical Moderator
    June 3, 2021

    Hello bastien ,

    Did you asynchronous mode in Runtime -IO ?

    In this particular case , often, in some big projects , i am using some multi-threads with real time os (FreeRTOS, chibios ..) in order not to block during scanf process.

    Best Regards

    Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.