Skip to main content
Bastien1
Associate II
Mar 18, 2021 3:31 PM UTC
Solved

RX interrupt with Runtime-IO

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.
    Erwan YVIN
    Erwan YVINBest answer
    ST Technical Moderator
    Jun 3, 2021 9:46 AM UTC

    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.

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Technical Moderator
    Jun 3, 2021 9:46 AM UTC

    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.