Skip to main content
alexander
Visitor II
March 13, 2014
Question

STM32F207 SPI communication is not working

  • March 13, 2014
  • 2 replies
  • 797 views
Posted on March 13, 2014 at 16:28

Hi,

I am trying to send data via SPI to a Sensor and receive data from the Sensor. Therefore I tried to establish SPI communication, but it does not work. There is no clock Signal on the CLK pin(PA5). I attached a part of my code. Maybe there is something wrong in my configuration?

Regards,

Alex
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    March 13, 2014
    Posted on March 13, 2014 at 16:32

    Don't know, but you'd want to qualify TXE before jamming data out with the SendData()

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    waclawek.jan
    Super User
    March 13, 2014
    Posted on March 13, 2014 at 16:38

    Don't know either, but are you aware of the fact that PA5 is NOT 5V tolerant?

    JW