How to connect STM32 Nucleo (NUCLEOF030R8) To a raspberry

Hello guys,
I’m new about using the ARMs. I was wondering how to connect the ARM to the raspberry.
I want the raspberry send signals to the ARM to fully control it. I have establshed a web server for the raspberry that i have and did some codes (using python) with my raspebrry.

so i want to send these codes to the ARM to do the same function the raspberry is doing.

i will appreciate that if someone can help me with at least give me some links that i can learn from it on how to do that!

thanks

That depends on your requirements. How fast do you want to communicate? Do you need deterministic behaviour for realtime issues? The easiest way is RS232 over UART or USB. Or you can use SPI. Both shoult be available on a raspberry.