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.

RTOS/TM4C1294NCPDT: UART driver does not configure any board peripherals or pins...how to configure uart pins

Part Number: TM4C1294NCPDT

Tool/software: TI-RTOS

Hi, 
i am very new to Texas micro contoller i have designed one Data logger card in that ,used TM4C1294NCDPT MICROCONTOLLER .
3 UARTS i have used ---->one for GSM compunction --->second one user communication(PC)--->three'd  one for communication.
now i want to use TI RTOS how to configure this multiplex pins as uart pin please guide me.
i have verified some TI-RTOS Documents i found   this line UART driver does not configure any board peripherals or pins......
Usage
The UART driver does not configure any board peripherals or pins; this must be completed before any
calls to the UART driver. The examples call Board_initUART(), which is mapped to a specific initUART()
function for the board. The board-specific initUART() functions are provided in the board .c and .h files.
For example, a sample UART setup is provided in the TMDXDOCKH52C1_initUART() function in the
TMDXDOCKH52C1.c file. This function sets up the peripheral and pins used by UART0 for operation
through the JTAG emulation connection (no extra hardware needed). The examples that use the UART
driver call the Board_initUART() function from within main()
  • Have you tried the UART echo example? The initial pinmuxing is done in the EK_EK_TM4C1294XL.c file.
  • Please find the attachment i observed for uart0 texas used as output echo ,but in my design i have used FOR CAN protocol .,,,and one more question i have designed one board in that i am using TCK,TMS,TDI,TDO FOR programming apart that i am using uart2 pins same pins i connected to GSM module is their any problem..is their any specific team to verifi my design  pls help me 6567.DATALOGER(1)(1).pdf 

  • Hi Kota,

    Not sure if I fully understand your post. There is a pinmux tool you can use that automatically gives you the configuration of the various pins based on which peripherals (e.g. CAN, UART) you want in your system: http://dev.ti.com/pinmux. This tool should give you the pins configuration in a pinout.c file. You basically need to ensure all the settings in the PinoutSet() function in pinout.c is captured in the EK_TM4C1294XL.c file (ie. 'Board'.c file) in your project. The latter has a bunch of functions named 'Board'_init*() that initializes the pins for the various peripherals using calls to GPIOPinConfigure() etc.

    Also, if you are looking for help with your hardware design, you may wish to post on the TM4C hardware forum instead:

    Best regards,

    Vincent

  • Thanks you for replay ....as per my design i have done pinmux configuration has been done using http://dev.ti.com/pinmux. ...

    from that we  down loaded pinout.c and pinout.h file after that how to add this files to project and where to add

  • Hi Kota,

    You'd need to inspect pinout.c and ensure all the pin settings in the PinoutSet() function in pinout.c are captured in the EK_TM4C1294XL.c file (ie. 'Board'.c file) in your project. The latter has a bunch of functions named 'Board'_init*() (for example EK_TM4C1294XL_initUART) that initialize the pins for the various peripherals using calls to GPIOPinConfigure() etc. In your program you would then call these 'Board'_init*() functions in main() to configure the pins.

    Best regards,
    Vincent
  • There was a suggested answer and since there has been no active on this thread for more than a week, the suggested answer was marked as verify. Please feel free to select the "Reject Answer" button and reply with more details.