Hello,
I'm using the eZ430-Chronos watch and the EM430F6137RF900 board. I took the example code from the board and modified it. First I tried to get the acceleration data from the watch and after that sending a message to the board. This seems to work. But now I'd like to be able to recognize button presses. So if a button1 is pressed the message to be send would be modified before sending. And when the button2 is pressed I'd like to show a number on the display. The problem is when I press a button the watch freezes and I can't to anything. First I had a for-loop (for debouncing the buttonpress) in the ISR and at that point the watch stopped working after the second or third button press. When I replaced the for-loop with my wait-function the watch stopped working when I pushed the button for the Linkto-function (freeze after first press). I found something similar to my problem http://e2e.ti.com/support/low_power_rf/f/156/t/16924.aspx but looking at the code and the schematics I realized that the RF stuff does not use the port2 on my hw. So my best guess is that my ISR or the wait/delay function is really bad. I'm not that experienced in µC programming so any help/hint is welcomed.
here is the code http://pastebin.com/PEBszddd