Other Parts Discussed in Thread: AWR1443
Tool/software: Code Composer Studio
Hi,
I've connected an FMCW radar (AWR1443 BOOST) to an MSP430. The radar's is used for proximity sensing and sends a high signal (3.3V) to the msp430 to be read. The MSP430 turns off an LED when an object in 0.5m from the radar. The LED stays on otherwise. However, I was expecting the output of the GPIO pin of the MSP430 to be 3.3V when it's high. However, it's outputting a square wave with a max voltage of around 5V instead. I'm not sure why this is because without the radar connected, the GPIO outputs 3.3V as expected.
int main(void) { WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer P1DIR &=~ BIT1; // read from radar P1DIR |= BIT2; // output to LED circuit while(1){ if((P1IN && BIT1) == 0){ P1OUT |= BIT2; // turn on LED } else if((P1IN && BIT1) == 1) { P1OUT &=~ BIT2; // turn off LED } }
Any help would be appreciated