LPC1768 UART Receive Enable

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

LPC1768 UART Receive Enable

878 Views
marysoniadurom
Contributor II

Hi,

Is there any options to enable/disable Reception in LPC1768 UART?.

In the User Manual UM10360, it is stated that TXEN in UxTER register can be used to enable/disable Transmission.  But could not able to find anything similar for Reception.

My application code requires to stop receiving unwanted data some times and to stop receiving while transmitting. How this can be possible?

Thank you.

Labels (1)
2 Replies

691 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Mary Durom,

I think you have two different options: 

  1. You can deactivate all the interrupts involved with Rx when you don't want to receive any information. 
  2. You can change the function of the UART Rx pin when you don't want to receive information, for example to the GPIO function. 

Hope it helps!

Victor.

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

691 Views
marysoniadurom
Contributor II

Thank you Victor for the reply.

I guess, the data will be received and stored into RX FIFO even though RX interrupts are deactivated. So I would try option 2.