Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22466

msp430g example- msp430g2xx1_ta_17

$
0
0

Your example programs are a great help in setting up MSP430 processors. However the example msp430g2xx1_ta_17 from MSPWare has me confused. The Port setup lines are:

P1DIR |= 0x0C; // P1.2 and P1.3 output
P1SEL |= 0x0C; // P1.2 and P1.3 TA1/2 options

P1.3 is not used for any TA function that I have been able find in any of the MSP430G2211 documentation. Should the setup be:

P1DIR |= 0x04; // P1.2  output
P1SEL |= 0x04; // P1.2 TA1 options

I was forced to shuffle port assignments and leave P1.3  open on my PCB just in case it is really necessary.

Thanks,

ErnieB


Viewing all articles
Browse latest Browse all 22466

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>