# Using MicroPython and Arduino code

**URL:** <https://forum.arduino.cc/t/using-micropython-and-arduino-code/1233936>\
**Category:** GIGA R1 WiFi\
**Created:** [March 10, 2024, 9:17pm UTC](https://forum.arduino.cc/t/using-micropython-and-arduino-code/1233936 "2024-03-10T21:17:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [March 10, 2024, 9:17pm UTC](https://forum.arduino.cc/t/using-micropython-and-arduino-code/1233936/1 "2024-03-10T21:17:43Z")

</div>

Hello,  
On the Arduino website, they say that we can use Micropython in the M7 Core and Arduino code on the M4 Core at the same time with the Arduino GIGA and the Portenta H7. I got a few questions about that.

First, on the Getting Started page, it is said that we need to call `RPC.begin()` in order to be able to boot up the M4 Core. I suppose then that there is no other way to make it boot automatically by itself when we power the board?

Secondly, if we use MicroPython on the M7, how do I can run Arduino code on the M4? How do I make the M4 Core to boot so it can run the code?

And last but not least, when the two cores are coded with Arduino code, we can use RPC library to make them communicate. Is it still possible to use it when one is using MicroPython and the other Arduino code? Or is there another way to make them communicate (serial, SPI,...)?

Thanks for reading me 🙂

---

<div class="post-metadata">

**Author:** ![jorgetrujilloroman](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jorgetrujilloroman/32/1007828_2.png) [@jorgetrujilloroman](https://forum.arduino.cc/u/jorgetrujilloroman)\
**Post date:** [March 22, 2024, 11:22am UTC](https://forum.arduino.cc/t/using-micropython-and-arduino-code/1233936/2 "2024-03-22T11:22:01Z")

</div>

Hi @Anthony_P,

Thank you for reaching out with your questions. Regarding your first question, yes, currently, you need to call RPC.begin() to boot up the M4 Core manually.

For your second question, if you're using MicroPython on the M7 core, there won't be automatic activation of the M4 Core. However, we are actively working on preparing a function to facilitate this process and make it easier for you.

Lastly, when one core is using MicroPython and the other Arduino code, communication is still possible using the RPC library. However, you may need to check the Micropython website in the next weeks to see if version 1.23.0 has been released, which will facilitate this process. Additionally, we will provide step-by-step documentation explaining how this function works.

Thank you for your patience, and rest assured, we'll deploy this version as soon as possible.

Best regards,

---

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [March 22, 2024, 11:40am UTC](https://forum.arduino.cc/t/using-micropython-and-arduino-code/1233936/3 "2024-03-22T11:40:30Z")

</div>

Hello!!

Well that is a very good news you’re telling me here 🙂  
I can’t wait to be able to use MicroPython on M7 and Arduino on M4!!  
Do you have an idea of when it would be accessible to the public ?

However, I’m happy you’re working on it, it will be very convenient!

Have a nice day

---

<div class="post-metadata">

**Author:** ![Anthony\_P](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anthony_p/32/775266_2.png) [@Anthony\_P](https://forum.arduino.cc/u/Anthony_P)\
**Post date:** [November 8, 2024, 10:59pm UTC](https://forum.arduino.cc/t/using-micropython-and-arduino-code/1233936/4 "2024-11-08T22:59:01Z")

</div>

Hello everyone 🙂  
Everything is now explained here on Arduino Website!!

[Use Arduino GIGA with MicroPython AND Arduino code](https://docs.arduino.cc/tutorials/giga-r1-wifi/giga-dual-core)
