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.

MSP430FG6626: How to use UART 2ch

Part Number: MSP430FG6626

Hi, 

I have two questions about the MSP430FG6626.

1. UART & LCD

the MSP430FG6626 support 2ch UART, but these are shared with LCD port.

(Yellow is uart port, green is lcd port)

P8.3/UCA1RXD/UCA1SOMI/S12

P8.2/UCA1TXD/UCA1SIMO/S13

P2.4/P2MAP4/R03

P2.5/P2MAP5

My customer's product need to use both UART and LCD.

What is the pin mapping method that can use UART 2ch and LCD simultaneously?

2. DAC

My customer's product also need to use ADC and DAC.

ADC and DAC share a pin.

Can I use the pin shared with the PM for DAC use?

I am going to suggest using P5.1/A4/DAC0, P5.6/A5/DAC1 pins for ADC and P2.1/P2MAP1/DAC1, P2.0/P2MAP0/DAC0 for DAC.

Is there any problem?

And what do pm.y and pm.z mean in DAC?

  • Hi SY,

    For your two questions, my answer is as follows.

    1. U can't configure a specific pin to LCD output and URAT simultaneously.

    And the recommendation is that u select a free pin to configure as  LCD output. P8.3 and P8.2 should be reserved for URAT.

    2.Your suggestion is no problem  as long as U haven't map these two pins for other use.

    3.Each DAC can be output to two pins and u can choose Pm.y or Pn.z as u need. For example, DAC0 can be output to P5.1 and P2.0 and u can select one of these by configuring  resister DAC12OPS and DAC12AMP.

**Attention** This is a public forum