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.

UART WHIT TIVA TM4C129

Other Parts Discussed in Thread: MAX232

Hello everyone
I thank you if I can explain that I set the Tiva 129 for a program that captures data from the keyboard and send the USART 7. The example of "echo" Default configures the USART 0 and I could not set up to the output is the USART 7 main.c configure the pins, the GPIOs, and everything related to the use 7, but not working. Touch configure some additional .h file ?, or otherwise should be performed.
I've also tried with the qs example that brings that same function "echo" but neither works.
I think the problem is that no catch keyboard is performed.
Thank you very much for your attention.
I thank you I work with ideas, or any other alternative or program that realize this function.

  • Hello Carlos,

    If I read your post correct, then UART-7 is configured correctly, so are it's GPIOs but nothing comes out of the UART-7?

    1. Suggest that you monitor the UART pins on a scope to see if it sends any data?
    2. What is the UART 7 connected to? If it is to a PC please specify the nature of interfacing hardware between TM4C129 and PC (MAX232 LS, UART to USB dongle)
    3. How are you sure that the keyboard scan is being read into the UART. is the key board scan detecting a key press. Might want to debug the same in the debugger by use of breakpoints.

    Regards
    Amit
  • HI.
    Thank you for paying attention to my problem, but like I could not fix it.
    What I need is that any UART (1-7) keyboard data capture.
    I'm testing the examples for this platform (tiva4c129) and work with the UART0 but a different UART not working.
    In the example I set qs for UART1.
    The program sends half of the first message "WELCOME TO conected...."  and hangs and does nothing more.
    any suggestions are thanked.

  • Hello Carlos,

    That is why I asked the question #2 above. Also when it stops printing can you check using the debugger where the CPU code execution is stuck?

    Regards
    Amit