This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5529: PxSEL again ...

Part Number: MSP430F5529
Other Parts Discussed in Thread: MSP-EXP430F5529LP

Tool/software:

Hello,

I'm new with MSP430 MCUs and bought a Launchpad MSP-EXP430F5529LP. In datasheet of MSP430F5529 I see in table 3 (terminal functions) for example:

General-purpose digital I/O
Comparator_B input CB4
Analog input A4 – ADC (not available on F551x devices)

I understand, that register PxSEL switch between GPIO and another function. But how can I choose between comparator and ADC?  In tables 29 to 32 (port register) there is only a PxSEL. Not a PxSEL2 like some MCUs have.  The same in MSP430x5xx and MSP430x6xx Family User Guide. 

Bye, Jürgen

  • The item of interest here is datasheet (SLAS590P) Table 9-54.

    That shows that P6.4 is set to A4 by setting P6SEL.4=1.

    CB4 is selected by setting P6SEL.4=0 and CBCTL3:CBPD4 [Ref user guide (SLAU208Q) Table 32-5].

**Attention** This is a public forum