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: UART programming

Part Number: MSP430F5529
Other Parts Discussed in Thread: MSP430F5510

Hi,

I am trying to map the UART port at P4.4,5 with command as below.

P4SEL |= BIT4+BIT5; 
P4MAP5 = 11;
P4MAP4 = 12;

The other initialization bit of UART is set as per example code.

But the UART is not transmitting the data. Is this command is ok for port mapping?

Regards,

Rajesh

  • Here is assembler example for my MSP430F5510 UART mapping...

    mov.w #02D52h, PMAPPWD          ; Enable Write-access to modify port mapping
    mov.w #PMAPRECFG, PMAPCTL       ; Allow reconfiguration during runtime
    mov.b #PM_UCA0RXD, P4MAP4
    mov.b #PM_UCA0TXD, P4MAP5
    mov.b #PM_UCA1RXD, P4MAP6
    mov.b #PM_UCA1TXD, P4MAP7
    mov.w #0, PMAPPWD               ; Disable Write-Access to modify port mapping
    

**Attention** This is a public forum