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.

MCU-PLUS-SDK-AM243X: Uart_uniflash on half-duplex

Genius 3186 points

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: UNIFLASH, TMDS243EVM, THVD1520

Hi,

May I have question about UART_uniflash and AM243x Uart_boot_mode(XMODEM)?

Q1:

I think AM243x ROM code config 115200 baud (In TRM, write 115200 kbaud = 115.2Mbps??)

Could we change this speed by uart uniflash?

--

Q2:

If I use TMDS243EVM, and write program with uart_uniflash tool in AM243x uart boot mode.

In this situation, The uart is Full-duplex? or Half-duplex?

--

Q3:

If Q2 answer is Full-duplex, Is there any config to Half-duplex?

--

Q4

If Q3 answer is "AM243 config can not set Half-duplex".

Could you let me know any idea of use Half- Duplex?

I think we could use this:

AM243x<-----[UART]----->bridge IC<-----[half-duplex, RS422]----->bridge IC<-----[USB]----->PC(COM port)

If we could this, Is there any recommanded Bridge IC?

Thanks,

GR 

  • Hi,

    We want to check this connection will work on UART boot mode.

    AM243x<-----[UART]----->THVD1520<-----[half-duplex]----->RS485 to USB bridge IC<-----[USB]----->PC(COM port)

    Will this connection works?

    Thanks,

    GR

  • Hi GR,

    Could we change this speed by uart uniflash?

    No, the uart uniflash is a mixture of ROM UART boot as well as sbl_uart_uniflash in MCU+ SDK. In order to maintain compatibility from the ROM UART boot, SDK supports same boot configurations as ROM.

    In this situation, The uart is Full-duplex? or Half-duplex?

    What do you mean by half duplex here ? Do you intend to use single pad for both Tx and Rx ?

    If Q2 answer is Full-duplex, Is there any config to Half-duplex?

    Again define Half Duplex ? Do you intend to use single pad for both TX and RX pad ? 

    Best Regards,
    Aakash

  • Hi Aakash,

    Thanks for your supporting.

    And sorry for late reply.

    What do you mean by half duplex here ? Do you intend to use single pad for both Tx and Rx ?

    Yes,

    I mean Half-Duplex is useing same path for both TX and RX.

    I want to use half-duplex RS485 or RS422 tranceiver IC as THVD1520.

    Best regards,

    GR

  • Hello GR,

    So there would be multiple factors at play here.

    First is the matter of the protocol used. Something like Xmodem is a half-duplex protocol by nature and so the UART bus should operate in a half-duplex manner for that.

    But beyond that, you'd need to toggle the RX/TX mode for the THVD1520, and so that needs to be handled by some signaling.

    If you want to use some custom boot load protocol then you could address that but if using something like the ROM boot loader then the question that I do not have an answer to in this moment is if the CTS/RTS lines are actually logging when using the ROM BL. If so, that might offer a method to make it work.

    I will try and find out an answer for the CTS/RTS element.

    Best Regards,

    Ralph Jacobi

  • Hi Ralph,

    Thanks for your information.

    I understand. that XMODEM is half-duplex but need for swith mode TX/RX for THVD1520.

    I will try and find out an answer for the CTS/RTS element.

    Thanks for checking.

    I will wait for the answer.

    Best regards,

    GR

  • Hi GR,

    The ROM does not configure CTS/RTS so it wouldn't have any hooks to switch the TX/RX mode for THVD1520.

    Best Regards,

    Ralph Jacobi

  • Hi Ralph,

    Thanks for your supporting.

    I understand.

    Best regards,

    GR