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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,046 Views
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

Labels (2)
0 Kudos
Reply
1 Solution
775 Views
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.

View solution in original post

0 Kudos
Reply
2 Replies
773 Views
laufei
Contributor III

Forget add the uart3_iomux_config.c

0 Kudos
Reply
776 Views
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 Kudos
Reply