AnsweredAssumed Answered

BlueNRG SPI1 to SPI3

Question asked by Rashedul Islam on Sep 18, 2017
Latest reply on Sep 19, 2017 by Rashedul Islam

Hi,

I am very new to STM32 and SPI interface. For my project I need to connect with Android apps using bluetooth from STM32. I have a STM32L476RG and X-NUCLEO-IDB05A1. I search and found a SensorDemo project. Where they used SPI1   for the BNRG_SPI_Init() function.

/***************************/

// SPI Instance
#define BNRG_SPI_INSTANCE SPI1
#define BNRG_SPI_CLK_ENABLE() __SPI1_CLK_ENABLE()

/****************************/

 

For my real project board, I have to connect it with SPI3 interface. I am using cubeMX for the starup generation. But I dont know how the sensorDemo project configured for SPI1.
Can anyone please inform me how to convert quick and efficiently for bluetooth connection from SPI1 to SPI3.

Or inshort can anyone suggest me what changes I need to SPI1 with SPI3 for the SensorDemo project?
Thanks in advance. 

Outcomes