10 years ago.

trasfering data between ST Nucleo F401RE

is there another way to transfer data between several stms, if the slave mode is not supported? they cant all be masters when they have to share the same clocks, I am stuck and i don't even know where to go if i2c and spi slave modes aren't supported

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F401RET6 microcontroller.

2 Answers

10 years ago.

The nucleo devices are recent additions to mbed and the libs are still under development. There are several options to tackle your requirements: wait for STM or someone else to add slave functionalities to the lib, add these features yourself or use serial port functions and rs485 drivers. The serial ports can read and write, transmission speed is similar to regular I2C. You dont get hardware support for addressing out of the box, but this can also be implemented in your software.

Accepted Answer

thanks, I wish i could but i'm having a hard time finding a guide on how to do it.

posted by Jedidiah oyeyemi 13 Apr 2014

thanks, I wish i could but i'm having a hard time finding a guide on how to do it.

posted by Jedidiah oyeyemi 13 Apr 2014

You will find several examples on this site when you do a search for rs485. Such as this example. You need to connect the TX and RX pins to a RS485 driver chip such as the MAX485, The datasheets for the drivers provide information and schematics.

posted by Wim Huiskamp 14 Apr 2014
10 years ago.

Hello, The SPI slave and I2C slave are still in development/test. We want to be sure that all is ok before publishing them on GitHub. It should be ready in the next couple of weeks. Regards