Skip to main content
eddie McS
Associate II
April 12, 2017
Solved

Issue with SPI example for the STM32L432

  • April 12, 2017
  • 7 replies
  • 1680 views
Posted on April 12, 2017 at 16:04

Hi,

I have an STM32Nucleo board with the STM32L432 chip.

I am currently trying to get the SPI example working without success.. 

STM32Cube_FW_L4_V1.7.0\Projects\STM32L432KC-Nucleo\Examples\SPI\SPI_FullDuplex_ComPolling

I am using the System workbench platform to compile and build the example however when i actually run the example i see nothing(one spike sometimes) on the SPI clock line PA5 and transmission fails..

Has anyone successfully ran this example code before? 

Thanks

Ed

#stm32l432
This topic has been closed for replies.
Best answer by Jan Waclawek
Posted on April 13, 2017 at 09:43

just looks like the SPI is not being configured correctly..

Then read out and post the content of SPI registers and the relevant GPIO registers.

JW

7 replies

ST Technical Moderator
April 12, 2017
Posted on April 12, 2017 at 16:49

Hi

edmcs

,

Have you proceeded asdescribed in the readme.txt fileand

make the Hardware configuration/connectioncorrectly following the readme file ?

Thanks

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
eddie McS
eddie McSAuthor
Associate II
April 13, 2017
Posted on April 13, 2017 at 09:28

Hi Imen, thanks for the reply.. Yes i have triple checked the readme file and ensured the connections are correct.. just looks like the SPI is not being configured correctly..

Jan Waclawek
Jan WaclawekBest answer
Visitor II
April 13, 2017
Posted on April 13, 2017 at 09:43

just looks like the SPI is not being configured correctly..

Then read out and post the content of SPI registers and the relevant GPIO registers.

JW

waclawek.jan
Super User
April 12, 2017
Posted on April 12, 2017 at 18:30

Blinkey works?

JW

eddie McS
eddie McSAuthor
Associate II
April 13, 2017
Posted on April 13, 2017 at 09:29

Hi JW,

yes i have had blinky working and read from ADC pins etc.. with no issues..