Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: UART TI RTOS driver problem tm4c123gh6pm tiva c

$
0
0
Hi Marinkovic, The first argument to UART_open() is suppose to be an index into the UART's HWAttrs table. The HWAttrs table may list more than one UARTs and the index tells UART_open() which one you want to open. The UART's HWAttrs table is defined in the board.c file. I have shown a screenshot of this structure below: Since you are new to TI-RTOS, I would recommend starting with an existing UART example. TI-RTOS ships with 3 UART examples - UART Console, UART Echo and UART Logging. You can import one of these through TI Resource Explorer in CCS. Best, Ashish

Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>