Part Number: AM3358
The example of “uartEcho_edma” using uart0 in starterware worked properly.
When I use uart2 instead of uart0，it does work properly.
But when I use uart4 instead of uart0，it does not work properly.There seems no data received.
The changes of the code from uart0 to another uart:
UART0ModuleClkConfig to UART0_4ModuleClkConfig
the parameter of UARTPinMuxSetup
My English is terrible,I am sorry。
Where is the problem，can anybody help me?
Lei, Please take a look at this application note. Its not specific to the uartEcho_edma example, but will give an idea on what changes are needed in the code. Hope this helps. http://www.ti.com/lit/an/sprac32/sprac32.pdf Lali
In reply to Lalindra Jayatilleke:
Thank you for your response.
The example of “uartEcho” using uart4 in starterware also worked properly.
The changes of example “uartEcho” from uart0 to uart4:
SOC_UART_0_REGS to SOC_UART_4_REGS
That is to say,the two function UARTPinMuxSetup(4) and UART0_4ModuleClkConfig() worked well in example uartEcho.This two function seems correct.
But with addition changes of only some macro definitions metioned above,the example uartEcho_edma does not work.
In reply to lei lu:
The TI Starterware forum is now closed to new posts as Starterware is no longer a supported software offering. For more information about Starterware and migration, please see this FAQ. Since the functionality provided by Starterware is now included in TI's Software Development Kits (SDKs) for RTOS, the questions related to this functionality are now routed through the device forums (whose teams produce those SDKs).
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.