Skip to main content
sascha
Visitor II
October 25, 2013
Question

Cortex M0 SPI Config

  • October 25, 2013
  • 1 reply
  • 971 views
Posted on October 25, 2013 at 16:06

Hello,

i'm trying to use the SPI Communication.

I have followed the instruction from the reference manual.

But there is still a problem to write the tx data.

When i use the debug mode the SPI1->DR will not be written by the value.

I use the STM32f0Discovery board and KEIL

Perhaps someone can help me.
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    October 25, 2013
    Posted on October 25, 2013 at 17:31

    The debugger cannot view the content you write to SPIx->DR, it's not a memory, and viewing it will also interfere with SPIx->SR

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..