Other Parts Discussed in Thread: MSP430WARE,
Tool/software: Code Composer Studio
I'm using Code Composer Studio 8.1.0.00011 with MSP430Ware 3.80.04.05 installed. I am trying to use the TimerA examples to understand how the timers work. However, the code does not execute past enabling the GIE.
I loaded the "timer_a_ex2_continousModeOperationWithCCR0Interrupt" project. After changing the processor to MSP430FR2633 in the project properties, I tried to compile. GPIO_PORT_LED1 and GPIO_PIN_LED1 are not defined. It appears Board.h is missing a definition for the FR2633. So I added #defines for P1 and PIN7. (I have also tried with P1 and PIN0 to emulate the original example, but no difference.)
PIN7 (or PIN0) never toggles from the timer interrupt. I am watching them with an oscilloscope for activity. If I put in GPIO_setOutputLowOnPin() and GPIO_setOutputHighOnPin() statements after GPIO_setAsOutputPin(), I can see the pins toggle. I have also set a breakpoint in the ISR, but it never breaks.
If I pause the debugger, it drops me into "isr_trap.asm" on an instruction "JMP __TI_ISR_TRAP".
What do I have to do to make Timers work?
