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.

MSP430F5659: UART Enable bit remains at 0 when set to 1

Part Number: MSP430F5659

The code below is used to  enable the UART port.

But from the register view in the tools it doesn’t get set to 1. It stays at 0 all the time.

Also cleartRs485TxIfg() is not able to to clear the Tx interrupts.

We are using IAR tools

The same code works for our MSP430F5458 and 5638 designs.

Any suggestions?

 

  clearRs485RxIfg();

  clearRs485TxIfg();

  USCI_A_UART_enable(USCI_A2_BASE);

  return rwVarInfo->u8RspBufPtr;

Thank you.

**Attention** This is a public forum