I'm using a TWR-K64F-120M Tower Module together with a TWR-SER module.
I've created a new project using PEX and KSDK 1.2 with Design Studio 3.0.
Using PEX I've added a UART component using UART5 on the TWR-SER. When I call UART_DRV_SendData() it returns success, but just constantly outputs the first character of the message on the terminal. If I use UART_DRV_SendDataBlocking it just times out. I've also tried changing to UART1 via OpenSDA virtual terminal with the same results.
Kind regards
Roger
Solved! Go to Solution.
Hi Jorge
I now have it working.
The problem was I had the Tx callback option ticked. Clearing this option has solved the issue.
Kind regards
Roger
Hello Roger Amstell:
Please find attached a KDS v3.0.0 + KSDK v1.2.0 UART example project with PEx using UART5 in TWR-K64F120M + TWR-SER.
There are some jumper configurations for TWR-K64 and TWR-SER which you need to consider:
TWR-SER:
J15: 1-2
J17: 1-2
J19: 1-2
TWR-K64F120M:
J30: Jumpers (5-6) and (7-8) removed
Let me know if this helps or if you still have issues.
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jorge
I now have it working.
The problem was I had the Tx callback option ticked. Clearing this option has solved the issue.
Kind regards
Roger