Sony's Developer World forum

    • Search
    • Home
    • Forum guidelines

    Using theCamera.takePicture() function in ISR

    Spresense
    camera isr
    2
    2
    5498
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ralphjy last edited by

      I am trying to use an interrupt to capture images from the camera. If I try to use theCamera.takePicture() function within the interrupt service routine (ISR) -> I get a kernel panic. Is that expected? I am using the Arduino IDE, do I need to use the Spresense SDK?

      1 Reply Last reply Reply Quote
      • K
        KamilTomaszewski DeveloperWorld last edited by

        The current implementation of the Camera library does not support Camera.takePicture () function within the interrupt service routine (ISR). Kernel panic is expected. Unfortunately, but the same will be with the Spresense SDK.

        1 Reply Last reply Reply Quote
        • First post
          Last post
        Developer World
        Copyright © 2021 Sony Group Corporation. All rights reserved.
        • Contact us
        • Cookies
        • Legal