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.

MSP430F5172: Limitation to using both IR and UART on USCI A0

Part Number: MSP430F5172

HI Guys

Is there’s any limitation to using both IR and UART on USCI A0, on the MSP430F5172, since they both use the same interrupt vector(USCI_A0_VECTOR).?

Thanks

Regards

Rodney

  • Hi Rodney,

    No limitations.  You will obviously have to manage the usage in software if using at the same time.  Curious about the application.   Is there a reason you chose the F5172 with only 1 USCI_A vs. other MSP430 MCUs that have 2?

  • HI Dennis 

    Its an existing old design.

    If they use both at the same time it means the software will have to manage both incoming comms from IR and UART. Since the incoming comms may happen at any time from either peripheral, there’s no effective way they can actually manage both in software since both share the same Rx register. So if both comms get received at exactly the same time, they will overwrite each other. Or is there another way to manage it besides ensuring that the comms come in at predefined intervals?

    Thanks

    Rodney

  • Hi Rodney,

    I assume the UART is a UART from another MCU or device and the IR is a decoder, so electrically, how do you bring the outputs together into one MSP UART RX, and how do you control which device to send data to when it goes out the MSP UART TX?

  • Hi Rodney,

    I haven’t heard from you for a couple of days now, so I’m assuming you were able to resolve your issue.
    If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

**Attention** This is a public forum