SPI debug on ST

Comments

1 comment

  • Avatar
    Ron Black

    I'm not sure what you mean.  If you mean that the debugger is reading the SR on it's own,  I don't know why that would happen.  Perhaps you could elaborate on the whole event from before to after the SR being read.

    If you have the SR set as a watch variable, it will probably get read at unpredictable times.  Otherwise, only your code would read that register.

     

    Which debugger are you using?  Do you have a code snippet?

    0
    Comment actions Permalink

Please sign in to leave a comment.