Skip to main content
VR.3
Associate
August 4, 2021
Question

Spi in stm32f303k8

  • August 4, 2021
  • 4 replies
  • 1361 views

hi,

i am using stm32f3 nucleo board in that i am initilization the spi in polling mode but not able to receive and transmit data usin ll driver where as when using hal it working properly

This topic has been closed for replies.

4 replies

waclawek.jan
Super User
August 4, 2021

Then you are doing something wrong.

Read out and check/compare SPI and GPIO registers content. Single-step through the functions and find out what do they do differently.

JW

VR.3
VR.3Author
Associate
August 4, 2021

@Community member​ 

hi, I saw that example in stm32f334 nucleo but it an interrupt but i am using polling method so not able to transmit data below is my attached code i have done whatever is written in reference manual

waclawek.jan
Super User
August 4, 2021

Read out and check/post SPI and relevant GPIO registers content.

JW

TDK
August 4, 2021

I don't know what question was first, but it's generally poor form to post near duplicate questions without waiting for responses:

https://community.st.com/s/question/0D53W000010PGnoSAG/i-am-using-stm32f303k8t6-i-am-looking-for-spi-example-program-on-ll

"If you feel a post has answered your question, please click ""Accept as Solution""."