Skip to main content
Yali Mobilities
Associate III
June 22, 2022
Solved

How to use eMIOS library for input capture

  • June 22, 2022
  • 3 replies
  • 2430 views

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.
    Best answer by Erwan YVIN

    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

    3 replies

    Erwan YVIN
    ST Employee
    June 23, 2022

    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

    Yali Mobilities
    Associate III
    June 25, 2022

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

    Erwan YVIN
    ST Employee
    June 27, 2022

    Hello, Which Ultrasonic sensor do you use ?

    Best Regards

    Erwan

    Yali Mobilities
    Associate III
    June 28, 2022

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

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    June 28, 2022

    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