Hi,
System: we are using MSP430F5308.
According to our test after reset the digital IO ports are at '1'.
When compered to TRXEB board (different host in trxeb msp430f5438a) the we made the same test but io after reset are '0'.
What could caused this in our design? the test code was based on "MSP430F530x Demo - Software Toggle P1.0"
We added (Port6 bit 6 is our led.. we added it as well for the test) port2 1+7 when port 7 is for the 'test group' we can see that P2.7 goes to '0' only after P2.1 goes from '0' to '1' => it was in '1' from start..
Does the the TRXEB has pull down? What are we missing? please advice.
#include <msp430.h> int main(void) { volatile unsigned int i; P2DIR |= BIT1|BIT7; P2OUT &= ~BIT1; P2OUT = BIT1; P6DIR |= BIT6; P6OUT |= BIT6; WDTCTL = WDTPW|WDTHOLD; // Stop WDT P1DIR |= BIT0; // P1.0 set as output while(1) // continuous loop { P1OUT ^= BIT0; // XOR P1.0 for(i=50000;i>0;i--); // Delay } }