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,456件の閲覧回数
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,185件の閲覧回数
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,183件の閲覧回数
laufei
Contributor III

Forget add the uart3_iomux_config.c

0 件の賞賛
返信
1,186件の閲覧回数
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 件の賞賛
返信