Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 228410

Forum Post: RE: ISR Functionality on the MSP430

$
0
0

[quote user="Bruce McKenney47378"]1) Are you watching the STROBE1 pin with a scope or an LED?[/quote]

I'm watching the STROBE1 pin with a scope. With it, it is clear that the code is not going into the ISR properly.

[quote user="Bruce McKenney47378"]2) Are byte_count and Temp_SPI_Read declared "volatile"?[/quote]

Temp_SPI_Read is volatile, but byte_count is not.  I understand why the Temp_SPI_Read should be volatile (since it is holding the information to go into different states). I assumed that since byte_count is just a counter, there was no need.  I'll try changing it once I'm in front of my code again.


Viewing all articles
Browse latest Browse all 228410

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>