6 years, 10 months ago.

How to interface the SPI with Two microcontroller one act as master another one act as Slave

I am interfacing two microcontrollers one NUCLEO-F429ZI development board & Arduino uno. I am using your Mbed IDE example code for SPI. But I can't receive any outputs.

Question relating to:

STM32 Nucleo-144 development board with STM32F429ZIT6 MCU, supports Arduino, ST Zio and morpho connectivity

On your mbed errors - most likely due to improper setup for the code example. Recommend for you to start with importing the LED Blinky code example for your target board -> compile and test to confirm you are able to get this LED blinker code working. If yes, proceed to highlight the entire blinky code and delete from the editor and then cut & paste the code referenced by Andrea -> save and compile again. Should be error free. If you still face problems then open a new post and supply full details on the raised errors for others to review.

posted by Sanjiv Bhatia 19 May 2017

1 Answer

6 years, 10 months ago.

Hi Sudhakar,

There have been a couple of forum posts relating to this, these tend to be mbed to mbed, but it should be a problem, please look at:

https://developer.mbed.org/forum/helloworld/topic/2541/

Regards,

Andrea, team mbed

Accepted Answer

As per the above link https://developer.mbed.org/forum/helloworld/topic/2541/ I will copy the Master & code and paste into the mbed online compiler. It shows some no such file directory errors & #include "mbed.h" error. How can I overcome this error? I"m new to this mbed Complier. I have already searched above the error but I cant find a proper solution for that

posted by sudhakar thangavel 18 May 2017