Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I found NUCLEO-F401RE has problem on OS-5 SPI API. When I created SPI by using the constructor with 4 parameters:
SPI spi(SPI_MOSI, SPI_MISO, SPI_SCK, SPI_CS);
the program could not run correctly. The LD2 LED is blinking (even the LD2 is not defined in the program) and the program hangs. The SPI constructor with 3 parameters has no problem.