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.

How to disable UART hardware receive in AM335x?



In kernel code, to disable UART receive is just to discard the char received from RHR.

Disable RX interrupt is unavailabe because the data shall be put into FIFO through shift register.

Is there any method to disable UART receive in hardware mode?

Even there is any data on RX line, the UART controller doesn't receive it to shift register or FIFO?

  • Kun Zhang said:

    In kernel code, to disable UART receive is just to discard the char received from RHR.

    Disable RX interrupt is unavailabe because the data shall be put into FIFO through shift register.

    Is there any method to disable UART receive in hardware mode?

    Even there is any data on RX line, the UART controller doesn't receive it to shift register or FIFO?

    A quick thought might be to configure the pin of the AM335x to be in GPIO mode, rather than UART RX.

  • It's pretty cool! I'll try.