LPC1768 UART Receive Enable

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1768 UART Receive Enable

1,282 次查看
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.

标签 (1)
2 回复数

1,095 次查看
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!

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

1,095 次查看
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.