This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

uart2 rx not working on AM3715 based design

Other Parts Discussed in Thread: AM3715, TL16C550C

Hello,

I am working on AM3715 based custom designed board with Android Froyo 2.2. I have setup the Android 2.2 devkit and board bring up is done.

But I am facing issue while trying to read from uart2_rx port using TL16C550C chip. I have changed the required gpios (evm.h), enabled the clock (clock.c) and set the base address properly in omap3_evm.h for the UBOOT code. After this I can see the uart2_tx output on the hyperterminal or the teraterm. But when I press any key on my desktop keyboard to stop the auoboot, it does not respond. I checked the uart2_rx signal with the probe and I could see the spike on CRO once I press any key on the desktop side to stop autoboot. Further I found that the LSR bit0 is not getting updated even if I press any key, means RX FIFO is still empty.

Could someone please help me to find the rootcause? Whether it could be a hardware design issue or software setting issue? Am I missing something?

PS. The uart1 port on AM/DM37x EVM works fine for rx and tx. 

Thanks,

-Ninad.

  • In the datasheet I could see that M_IRQ_72 is being used for UART1_IRQ and since the UART1 port works fine for both TX and RX on AM/DM37x Mistral EVM board, I wonder where is this setting in the code base? For UART2_RX what all settings needs to be done other than the ones I mentioned in my last comment?

  • problem is solved !

    On my custom board the UART2 lines are different than the EVM which I was programming correctly and thus was able to see the debug output on the hyperterminal or the teraterm. But some how the UART2 settings for EVM and the board on which I am working are conflicting and thus was not able to receive the UART2_RX interrupt. I simply removed non-required settings and it worked.

  • Hello, I have this problem too, on my AM3715 board, the UART2 can not receive the RX interrupt. UART1 and UART3 work fine.

    Would you please tell me which part of the code must remove? I have stuck on this for 3 days. Thank you very much!