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.

AM62P-Q1: AM62P-Q1

Part Number: AM62P-Q1

Tool/software:

Hi TI,

We are using AM62P-Q1 component for our product and we have some questions regarding break detect function on UART for LIN interface. We noticed that on the datasheet and the Reference Manual there is no mentions about this function.

  1. Is this function supported by the AM62P-Q1 family?
  2. If yes could you please share with us the documentation how is implemented (SW or HW), if SW we need the documentation about the driver development.
  • Hello Alexandru,

    Are you planning on using Linux OS or RTOS for your application?

    -Daolin

  • Hello Daolin,

    At the moment is planned to be used on Linux OS. However, there is an HW predisposition for the RTOS side, in order to compare the resposnse in terms of speed.

    A.I.

  • Hi Alexandru,

    I am not familiar with LIN protocol, but the AM62Px UART is compatible with 16C750, and supports line break generation and detection as defined in 16C750.

  • Hi Bin Liu, thank you for the quick response. I just saw the datasheet of the 16C750 and the applications illustrated are differenf from my application. The 16C750 comunicate with the CPU with a data bus and the UART comunication is with another component, so the break control is managed by 16C750. In my case i have the AM62P-Q1 tha comunicate directly with LIN transceiver, so in my case the break function as is not implemente by the LIN transceiver need to be implemented by AM62P-Q1.

    A.I.

  • Hi Alexandru,

    From the functional perspective, the UART modules on AM62P-Q1 are basically the 16C750 devices embedded into AM62P-Q1. So the AM62P-Q1 UART modules manage break in the similar way as what 16C750 device does.

  • Hi Bin Liu,

    Thank you again for the quick response.

    Let me explain better maybe i was not very clear.

    In the LIN protocol, the break condition is a special signal used to wake up or synchronize all nodes on the network.

    BREAK: at least 13 bit-times held low (dominant)

    A standard UART frame is 10 bits: 1 start + 8 data + 1 stop.

    The break has no stop bit, so it is often interpreted as a framing error. Some microcontrollers (e.g., STM32, NXP, Microchip) have LIN-supporting UART peripherals. These can automatically detect a break condition and raise a flag or interrupt (e.g., LIN Break Detected).

     So what we are asking if the AM62P-Q1 has these function or is needed to be implemented on SW, for example interpreting the break function as a framing error detection (due to the missing stop bit).

    We are doing this questions in such way to understand if it is need to be implementend on SW what is the impact on the CPU.

    A.I.

  • Hi Alexandru,

    Thanks for the details.

    Here is the description in AM62Px TRM about detecting break condition. Basically UART register LSR bit4 will tell if a break condition is detected.

    Here is the description of register LSR bit4: