Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    Programming multi processor

    Spresense
    3
    4
    2083
    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.
    • S
      SPbeginner last edited by

      Hi

      I'm new to Spresense.
      Is there a way to use six processor at the same time?
      Is there any sample code to refer?

      Thank you,

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

        Hi @spbeginner

        Yes, it is possible to use 6 cores at the same time. Spresense uses ASMP for multicore.

        You can see this example to see how it works:
        https://github.com/sonydevworld/spresense/tree/master/examples/asmp

        You can also see this example which uses ASMP and 6 cores at the same time:
        https://github.com/sonydevworld/spresense/tree/master/examples/prime

        Additionally, you can see an example that uses MPCOMM which is built on top of ASMP:
        https://github.com/sonydevworld/spresense/tree/master/examples/mpcomm_prime

        Best Regards,
        Kamil Tomaszewski

        M 1 Reply Last reply Reply Quote
        • M
          mikhailZ @KamilTomaszewski last edited by

          Hi @kamiltomaszewski
          Does this mean that SMP is not supported?
          Example seem present: sdk_tutorials_en.html#_feature_smp,
          but it is unclear whether it works or not...
          Thanks

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

            Hi @mikhailz,

            SMP is also supported. In fact, you can use SMP and ASMP at the same time. You can test how it works using examples/smp_asmp configuration.

            Best Regards,
            Kamil Tomaszewski

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