i.MX6 serial - irda

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

i.MX6 serial - irda

跳至解决方案
1,276 次查看
JHY
Contributor IV

IRDA setting is as below in IMX6DQRM.pdf.

ir.jpg

IREN(UCR1[7]) is findable in imx.c (drivers/tty/serial/) but MDEN(UMCR[0]) is not.

How can I access UMCR regster in linux?

标签 (2)
标记 (2)
0 项奖励
回复
1 解答
728 次查看
igorpadykov
NXP Employee
NXP Employee

Hi JHY

UMCR uses default value (uart), for RS485 support

to the imx serial driver one can look at

http://marc.info/?l=linux-kernel&m=142366865609389&q=raw

http://www.spinics.net/lists/linux-serial/msg15795.html

for accessing registers one can use memtool

Reading IPU registers with memtool hangs.

Best regards

igor

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

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

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
729 次查看
igorpadykov
NXP Employee
NXP Employee

Hi JHY

UMCR uses default value (uart), for RS485 support

to the imx serial driver one can look at

http://marc.info/?l=linux-kernel&m=142366865609389&q=raw

http://www.spinics.net/lists/linux-serial/msg15795.html

for accessing registers one can use memtool

Reading IPU registers with memtool hangs.

Best regards

igor

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

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

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

0 项奖励
回复