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.

AM2634: maximum baud rate of UART in AM2634

Part Number: AM2634
Other Parts Discussed in Thread: SYSCONFIG

Dear Champs,

Could you please clarify what is maximum baud-rate of UART in AM2634?

Is it possible to achieve 12Mbps or 3.6Mbps baud-rate of UART in AM2634?

I found only 16x mode UART(<= 115.2kbaud/s) is supported in current MCU+SDK(v8.5.0) as below.

https://software-dl.ti.com/mcu-plus-sdk/esd/AM263X/08_06_00_34/exports/docs/api_guide_am263x/DRIVERS_UART_PAGE.html 

So, I would like to check if this is right and there is any way to implement over 115.2kbps baud-rate in UART.

And also, I would like to check if we have a plan to support RS485 and 10Mbps baud-rate of UART in AM2634 in future.

Thanks and Best Regards,

SI.

  • Hi SI,

    Let me check the datasheet and SDK API and I will get right back to you.

    -Randy

  • Hi SI, 

    The AM263x datasheet (see section 7.11.5.16 here) shows 12MHz maximum baud-rate supported as long as loading is kept to 15pF or less. 115.2Kbit/s is also the only available baud rate when running auto-baud mode.

    The AM263x TRM (https://www.ti.com/lit/ug/spruj17c/spruj17c.pdf) Section 13.1.4.1 has the UART peripheral details. I would recommend starting with the SDK UART device driver examples and modifying the include SYSCONFIG file. That should give you a good overview of the available baud rate and operational mode fields (as seen below). 

  • Hi Randy,

    Thanks for this info.

    But, when I checked TRM section 13.1.4.1.4, 12Mbps operation is not supported in UART as below.

    Could you please clarify this?

    Thanks and Best Regards,

    SI.

  • Hi SI, 

    Thanks for pointing that out. Datasheet is clear on max baud rate being 12Mbps. I will check with our SDK/TRM teams and get back to you. SYSCONFIG lets me put together a 12Mbps configuration as long as I am in 13x mode. 16x mode is more limited. 

    Have to tried to put together the configuration you want using SYSCONFIG?

    Thank you,

    -Randy

  • Hi SI, 

    I confirmed again that this is definitely not a hardware limitation. Datasheet is still correct. Our TRM does need an update on this to advertise the correct limits in the different clock modes. 

    The AM263x SDK 08.06.00.34 (18 Apr 2023) release (www.ti.com/.../08.06.00.34) API also addressed this issue.  

    Baud rates higher than 230400 are only valid in 16x mode if the UART clock source selected through SYSCONFIG is more than 48MHz. With 13X mode, all baud rates greater than 230400 are supported regardless of clock source. The choice of using 16X or 13X comes down to the baud rate error. SYSCONFIG displays the calculated error value and this helps to choose the one with lower error.

    Try and configure this in SYSCONFIG with SDK 8.6 and let me know if that helps. 

    -Randy

  • Hi Randy,

    Thanks for the confirm.

    When I checked AM263x SDK 08.06.00.34 (18 Apr 2023) UG, it looks like only 16x mode and 'under 115kbps' supported in MCU+ SDK.

    When I checked the release notes of AM263x SDK 08.06.00.34 (18 Apr 2023) release, I found below and I assumed you mentioned below.

    But, it is still confused for me because of above statements in UG. Could you please clarify and provide details on it?

    Thanks and Best Regards,

    SI.

  • I'll pass this along to our SDK team. 

    -Randy