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.

DRA829V: [EP2000] How to use UART3 and UART8 as LIN ?

Part Number: DRA829V

Tool/software:

How to use UART3 and UART8 as LIN ? SDK version 10.1 we are using. (J721E soc)

How to configure Interrupt routins for UART as its not direct inturrupt but via router.

Shall we get any demo code which will be used as a reference.

  • Hi,

    Are you using Linux or RTOS SDK?

    How to use UART3 and UART8 as LIN ? SDK version 10.1 we are using. (J721E soc)

    We do not support using UART as LIN on our devices our within our SDK.

    How to configure Interrupt routins for UART as its not direct inturrupt but via router.

    Where do you want to route the interrupt to? I would recommend looking at the integration chapters from the TRM, for example, like the following snippet:

    Additionally, take a look at the UART_socConfigIntrPath() function at [PDK_INSTALL_PATH]/packages/ti/drv/uart/soc/j721e/UART_soc.c. This function will do all the interrupt route configuration that would be required.

    Thanks,

    Neehar

  • Hell,

    we are using RTOS SDK.

    we get to know how to configure interrupt router.

    but we need to register/configure interrupt also with OS also for that do we get any example ?

  • Hi,

    We do not support using UART as LIN on our devices our within our SDK.

    I was able to find a board diagnostic test for LIN over UART and have attached it below. However, the diagnostic test is more focused on hardware validation and it is not a complete LIN protocol implementation. You can refer to it as a reference.

    1033.LinDiag.zip

    but we need to register/configure interrupt also with OS also for that do we get any example ?

    Have you taken a look at the UART example within the SDK? There is interrupt configuration and generation done within the example.

    Thanks,

    Neehar