8 years, 6 months ago.

Why this program don't run on STM32 Nucleo F411RE?

Why this program don't run on STM32 Nucleo F411RE? How can I do to make it work without HW modification? Help me!

Question relating to:

An example of creating and updating a simple GATT Service using the BLE_API

2 Answers

8 years, 6 months ago.

Hi Vincenzo I had the same problem yesterday :) With the Nucleo F411RE and the ST BLE module, is just about the SPI clock pin that is different, there is the ifdef (IDB0XA1_D13_PATCH) on the file x_nucleo_idb0xa1_targets.h, there you change the default pin D3 to the D13 (Just pay attention that this is the same pin of the LED)

After this you need to patch your BLE module board and exchange the resistor R10 with the R11.

I'm working on this now and I'm also doing a presentation about BLE to my course channel, (Not yet done) ttps:www.youtube.com/channel/UC1ptV25-NEHRIEnM1kXMCrQ/playlists /media/uploads/leonardoaraujosantos/bluetooth_low_energy.pdf

Hope it helps

Accepted Answer

Thanks Leonardo!!!

posted by VINCENZO DI MAJO 04 Nov 2015
8 years, 6 months ago.

Dear Vincenzo,

Please, keep in mind that the tested platforms for the X-NUCLEO-IDB04A1 are listed in the component homepage. You can even use the STM32 Nucleo F411RE provided that you compile for STM32 Nucleo F401RE.

Kind regards

If that works, wouldn't it make sense to just change your #ifdefs somewhere? At least if the F401 bin works on it, it should also be no problem to compile for the F411 directly.

posted by Erik - 04 Nov 2015

Thanks Andrea! Thanks Erik!

Kind regards.

posted by VINCENZO DI MAJO 04 Nov 2015