Hi,
I wrote spi code for msp430g2553 which communicates with ads1298r. I believe that everything i do is correct. I also observed that it works when i run the code step by step in debug mode. The interesting part is that when i run the code without stopping until the end of it, it always read zero. To solve the problem, i put delay between every line, and i get different values, yet it still incorrect.
What am i missing?
Best regards,
Alican