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.

WEBENCH® Tools/MSP430F67641: Need Help in using Uart 1 instead of Uart 0

Part Number: MSP430F67641
Other Parts Discussed in Thread: MSP430WARE

Tool/software: WEBENCH® Design Tools

Hi,

I am working on 3ph metering using msp430 f67641, I want to know how can i change the uart settings from Uart 0 to Uart 1. And also how to change rs232 given to rs485. Where should the changes be made, if i wer to change my hardware to rs485 in the program. 

  • Hello Kamal,

    Changing from UARTA0 to UARTA1 is rather simple. If you are using the same setting, most fo the registers are pre-fixed with UARTA0 (such as UARTA0CTL0). Just changing the prefix to UARTA1 will call the correct register. Make sure to change the ISR to A1 as well. Beyond the name change, you will have to setup the appropriate pinout for UARTA1 instead of UARTA0. You can easily do this change in our example code within MSP430Ware before changing your own project.

    I'm not sure of HW changes needed for RS232 versus RS485 as I'm not readily familiar with the differences between the two.
  • For the other question, you need to swap out whatever chip you are using for RS-232 and put in one for RS-485.
  • What about the other Control pis required for the IC operation
  • I am not exactly sure what "pis" you mean, but you need to dedicate some GPIO pins for those functions. The other half of the differential signal is handled by the IC. RS-232 has a bunch of control pins that are usually ignored.

  • Thanks for the reply.

    It was not meant to be offensive, its typing error "pis =pins".

**Attention** This is a public forum