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.

AMIC110: UART module reset

Part Number: AMIC110

Hello,

Is it compulsory to reset the UART module during initialisation ?

I checked UART driver code, the driver is not doing it , but when I checked bare metal examples they are resetting the UART module.

  • Raja

    A software reset can be performed to clear the UART registers, the procedure is in the TRM (SPRUH73Q - Section 19.4.1.1.1). This is always a good idea so you have a consistent baseline before applying an application specific configuration. 

    I'm not a s/w expert, but it is possible that the Linux(?) driver resets the UART elsewhere.

    The bare metal code UART developer may have wanted to start from a known baseline configuration and hence the s/w reset before configuring. 

    --Paul 

  • Hello ,

    The UART driver I referred to was from pdk_am335x_1_0_17 (TI-RTOS) and Bare metal example provided by Starterware. The example code or UART APIs provided in the TI-RTOS doesn't perform UART module reset.

    Since, application will be using TI-RTOS provided APIs, we need confirmation from the TI-RTOS team on whether it should be performed or it's already taken care [may be I'm missing something]. Could you notify the TI-RTOS team for the same ?

    Thanks & Regards,

    Raja

  • Raja

    I'll transfer the ticket to someone in the s/w team. 

    --Paul

  • Hello Raja,

    The engineer who owns this thread is unable to reply this week due to the winter storms in Texas. They will give a response next week.

    Regards,

    Nick

  • Hi Raja,

    The API UARTModuleReset in csl is doing the reset sequence required (similar to starterware).
    I am checking why driver doesn't do this or if it expects this operation to be done by some other component.

    Regards,
    Vishal