Other Parts Discussed in Thread: MSP430G2553
Tool/software: Code Composer Studio
I am using RF430-TMPSNS-EVM connected to TRF7970ABP+MSP430G2553
I would like to output the ADC0 value received from the RF430-TMPSNS-EVM via CCS.
But I certainly don't know which example code to use.
www.ti.com/.../SLAC691
Once I downloaded the above firmware, I added all the files in the RF430FRL15xH NFC Projects folder to the CCS.
Then I changed the code in main.c.
The following code has been added at the bottom of the example code:
#pragma vector=ADC12_VECTOR
__interrupt void ADC12_ISR (void)
{
adc12_data = ADC12MEM0; // Move results, IFG is cleared
adc12_int_flg = 1; // a/d data flag on
}
printf("ad_data : %x\r\n",adc12_data);
But nothing happened when we did the debug.
Is the example code I chose wrong? Or should other conditions be met for this code to be executed?