Other Parts Discussed in Thread: MSP430F5529, MSP430G2412, MSP-TS430RGE24A
I got some MSP430FR2433 chips from mouser and some more from the TI e-store. Their wafer ids are 730053705 (mouser) and 730053700 (TI e-store). I've programmed the following program and it doesn't work. The same program works fine on the MSP430G2412 (if I change the target/header) and the MSP430F5529 (though I may have used different port numbers there, I don't recall). I've used both the msp430-gcc toolchain and the IAR toolchain with the same results. On the G2412 it works exactly as expected, P2.0 high, P2.1 toggles and P2.0 is low. On the FR2433 all outputs are low. Just as another wrinkle, if I use the JTAG shared pins instead (1.4-1.7) it works just fine. And yes, I've checked every single other pin on the chip (1.0-1.3, 2.0-2.7 and 3.0-3.2), they all exhibit the same behavior. Yes, I'm using proper anti-static procedure: anti-static wrist strap, anti-static mat and on the last test in the clamshell only grabbing the edges of the IC. Am I crazy, or are these parts defective?
#include <msp430fr2433.h> int main() { volatile int p2in, i; WDTCTL = WDTPW | WDTHOLD; P1OUT = 0xff; P2OUT = 0xff; P2DIR = 0x03; while(1) { p2in = P2IN; for(i=0; i<32767; ++i) { } P2OUT ^= 0x02; } return 0; }
P.S. I'm programming both on a custom board and with the MSP-TS430RGE24A. Some have not even touched my custom board, so that's not the problem.