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.

MSPM0C1104: MSPM0C1104 configuration for 1-wire UART with UART1_RX / UART1_TX on single pin

Part Number: MSPM0C1104

Hi!

This is Dirk and I am currently using the STM8S003 MCU in some old models and would like to replace it by MSPS003 / MSPM0C MCU.

According to datasheet the MSPS003 series is drop-in compatible to STM8S003 (TSSOP-20) MCU. 

Can UART1_RX and UART1_TX also be configured in the same way as on STM8S003, that UART1_TX can be used for 1-wire RX/TX function?

I could not find any information about this.

Many thanks in advance!

 

  • Hello!

    In fact, MSPM0 can only work in UART duplex mode, but there is another method can help you implement the 1-wire Rx/Tx function.

    1). Physically combine Tx and Rx.

    2). Let Tx of receiver work in High-Z logic. You can implement this by setting the Z1 bit in the corresponding PINCMx register. You can find the information in the "IOMUX" section of "MSPM0 C-Series Technical Reference Manual".

    BR,

    Janz Bai