Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Output Ports do not work

$
0
0

Dear forum users,

I face a problem that I cannot understand. In my project I use the MSP430F6635 and a part of it is the control of the output pins P5.3, P5.4 and P5.5.

// Init Code

P5DIR |= BIT3; P5OUT |= BIT3;

P5DIR |= BIT4; P5OUT |= BIT4;

P5DIR |= BIT5; P5OUT |= BIT5;

I follow my program in debug (Code Composer Studio), and even though it properly sets  the registers P5OUT3, P5OUT4 and P5OUT5, I'm getting an output signal only at pin P5.3. The Pins P5.4 and P5.5 do not respond, they are always in LOW condition.

Additionally, I have looked at the Table 60. Port P5 (P5.2 to P5.7) Pin Functions of the datasheet SLAS566C.pdf and I confirmed during debugging that the LCDS40..42 are always LOW.

Please could you share with me your ideas about this?

Thanks in advance,

Stratos

P.S. I have read the following post which led me to search for the secondary pin function values LCDS40..S42. 

       http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/186495.aspx


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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