i.MX6 serial - irda

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

i.MX6 serial - irda

Jump to solution
1,157 Views
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?

Labels (2)
Tags (2)
0 Kudos
1 Solution
609 Views
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!

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

View solution in original post

0 Kudos
1 Reply
610 Views
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 Kudos