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
-
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,
-
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/asmpYou can also see this example which uses ASMP and 6 cores at the same time:
https://github.com/sonydevworld/spresense/tree/master/examples/primeAdditionally, you can see an example that uses MPCOMM which is built on top of ASMP:
https://github.com/sonydevworld/spresense/tree/master/examples/mpcomm_primeBest Regards,
Kamil Tomaszewski -
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 -
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