cancel
Showing results for 
Search instead for 
Did you mean: 

SPI NSSPMode in F3Cube

lfrodrigues
Associate
Posted on July 31, 2014 at 14:11

I'm using hardware controlled NSS in STM32F3. To have it enabled I need to set

  hspi3.Init.NSSPMode = SPI_NSS_PULSE_ENABLED;

in the initialization routine. Since there is  no option in Cube to set this the line get overwritten every time I generate code.

Please consider adding an option in Cube to set this bit

#stm32f3 #cubemx
2 REPLIES 2
talbi.amel
Associate II
Posted on August 04, 2014 at 16:02

Hello Rodrigues,

Thanks for your feedback.

A new request was submitted on the STM32CubeMX to be fixed in the next release.

Best regards,

Amel. 

From: rodrigues.luis

Posted: Thursday, July 31, 2014 2:11 PM

Subject: SPI NSSPMode in F3Cube

I'm using hardware controlled NSS in STM32F3. To have it enabled I need to set

  hspi3.Init.NSSPMode = SPI_NSS_PULSE_ENABLED;

in the initialization routine. Since there is  no option in Cube to set this the line get overwritten every time I generate code.

Please consider adding an option in Cube to set this bit
stm32cube-t
Senior III
Posted on September 10, 2014 at 09:44

Hello,

Note this change has been implemented and will be released as part of STM32CubeMX 4.4.

Best regards