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.

Two ways of using UART?

Other Parts Discussed in Thread: CCSTUDIO

1. C:\dvsdk_1_11_00_00\pspdrivers_1_10_03\packages\ti\sdo\pspdrivers\drivers\uart

     which pspdrivers provides a little more complicated way to use UART.

 

2. C:\CCStudio_v3.3\boards\evmdm6437_v2\include\evmdm6437_uart.h

     provides an easy way to use UART.

 

what are their difference? @@

 

  • The second one is simpler interface used to test the UART feature. While the the first link which is for 'pspdrivers' provides full 'Unix like' full functional interface to use the UART, including IOCTL to configure UART. Also it is BIOS compatible driver.

    The answer to your question really depends on your final use case. For a very simple functionality : "C:\CCStudio_v3.3\boards\evmdm6437_v2\include\evmdm6437_uart.h" should suffice.

    Hope this helps.