UART issue of OBDS based on i.MX6 Platform SDK 1.1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

UART issue of OBDS based on i.MX6 Platform SDK 1.1

跳至解决方案
1,454 次查看
laufei
Contributor III

Hello, Freescale

I am using the OBDS codes to test my hardware,(my hardware is based on SDB, only uart and sd card different with sdb, mostly the same)

My debug uart is the UART3, not the uart1. SO I added the "uart3_iomux_config.c" to config the usrt3, and change the "uint32_t g_debug_uart_port = HW_UART3;"

I can see the debug information from the serial software, but I can't input any characters into the uart.

I debug with my uboot(I porting my codes based on sdb uboot), uart's read/write is OK, SO the hardware for uart module is right. It's the codes issue.

I found that the uart3 port used for loopback test?

Can you help me locate this issue?

Best Regards

Fe La

标签 (2)
标记 (5)
0 项奖励
回复
1 解答
1,183 次查看
laufei
Contributor III

Hi,

I am fixed this issue: the following configure is correct.

HW_IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT_WR(

            BF_IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT_DAISY_V(EIM_DATA25_ALT2));

HW_IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT_WR(

            BF_IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT_DAISY_V(EIM_DATA25_ALT2));

Thanks.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,181 次查看
laufei
Contributor III

Forget add the uart3_iomux_config.c

0 项奖励
回复
1,184 次查看
laufei
Contributor III

Hi,

I am fixed this issue: the following configure is correct.

HW_IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT_WR(

            BF_IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT_DAISY_V(EIM_DATA25_ALT2));

HW_IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT_WR(

            BF_IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT_DAISY_V(EIM_DATA25_ALT2));

Thanks.

0 项奖励
回复