Skip to main content
Yali Mobilities
Associate III
Jun 22, 2022 7:15 AM UTC
Solved

How to use eMIOS library for input capture

Hi,

   I'm using SPC58EC Disp board. I want to use ultrasonic sensors with it. For that I have to config eMIOS as input capture mode. So, is there any example to config the libraries. If any kindly give it with some instructions. Thank You

    This topic has been closed for replies.
    Erwan YVIN
    Erwan YVINBest answer
    ST Technical Moderator
    Jun 28, 2022 2:31 PM UTC

    Hello ,

    you can find in attachment the application SPC56D with HCSR04 Ultrasonic sensor.

    You should adapt it based of the datasheet of your sensor and the RM SPC58EC Disp Board.

    to use EMIOS as input capture mode is a good idea to have a good accurate measure.

    You can import it in SPC5Studio.

    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.

    5 replies

    Erwan YVIN
    ST Technical Moderator
    Jun 23, 2022 3:35 PM UTC

    Hello ,

    Which ultrasonic sensor do you use ?

    i recommend to configure the EMIOS

    There is an old example on emios configuration on HCSR04 (Mass Masket device) with emios configuration on SPC5Studio side.

    I can retrieve for you if you want ;)

    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.
    Yali Mobilities
    Associate III
    Jun 25, 2022 7:05 AM UTC

    Thanks for your reply kindly send that example, it will be usefull for us.

    Erwan YVIN
    ST Technical Moderator
    Jun 27, 2022 3:05 PM UTC

    Hello, Which Ultrasonic sensor do you use ?

    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.
    Yali Mobilities
    Associate III
    Jun 28, 2022 5:25 AM UTC

    I'm using JSN-SR04T ultrasonic sensor. Thank you.

    Erwan YVIN
    Erwan YVINBest answer
    ST Technical Moderator
    Jun 28, 2022 2:31 PM UTC

    Hello ,

    you can find in attachment the application SPC56D with HCSR04 Ultrasonic sensor.

    You should adapt it based of the datasheet of your sensor and the RM SPC58EC Disp Board.

    to use EMIOS as input capture mode is a good idea to have a good accurate measure.

    You can import it in SPC5Studio.

    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.