Dear TI Community:
I am new to the MSP430 and have recently started using the MSP430FG418/F2013 experimenter's board for learning purposes. I am trying to understand how the capacitive touchpad works. I looked at the "Hands-On Capacitive Touch" slide-show pdf, but did not find it very helpful for my purposes. I want to better understand how the capacitive touchpad works - the relationship between direction of finger trace and the number displayed on the LCD.
Specifically, I want to get the lcd to increment as I trace a "4" clockwise and to get it to decrement as I trace counter-clockwise.
I want to step through the demo code F2013 touchpad.c (contained in the Capacitive Touchpad folder as part of slac129a.zip) to try to understand how the touchpad works. However, I am hindered by the number of hardware breakpoints I can use. The debug window generated the message "Virtual breakpoints can be enabled in Options dialog under Debugger->FET Debugger->Breakpoints.
I was able to set virtual breakpoints under project -> options -> fet debugger. Then I rebuilt and downloaded my project. However, the cursor does not point to ‘void main()’ as before. The target seems to continue to run and am still not able to step through code as I would like.
Could you please tell me how to set up the debugger such that I can step through the code as I would like? Alternatively, could someone explain how this code is working - the relationship between direction of finger trace and the number displayed on the LCD? I think that once I understand this, making the needed modifications for incrementing/decrementing should be fairly straightforward.
·