IRDA for Datatransfer in both directions

ThomasK
Posts: 25
Joined: Wed Mar 20, 2019 2:33 am

IRDA for Datatransfer in both directions

Postby ThomasK » Thu Jan 20, 2022 2:17 am

Hello guys, I am interested in "IrDA for Datatransfer in both directions"
Which register settings do I have to make there? Sending OR receiving is not a problem...
only sending works with this:
WRITE_PERI_REG( 0x3FF6E020 , READ_PERI_REG(0x3FF6E020) | (1<<16 ) | (1<<10 ) ); //UART_IRDA_EN + UART_IRDA_TX_EN
only receive works with this:
WRITE_PERI_REG( 0x3FF6E020 , READ_PERI_REG(0x3FF6E020) | (1<<16 ) | (1<<9 ) ); //UART_IRDA_EN + UART_IRDA_DPLX
(I don't really understand why the UART_IRDA_DPLX is activated here, but it works.)

I use an infrared transceiver and want both sides to be able to send and receive, what do I have to do?
Thanks.

Who is online

Users browsing this forum: Bing [Bot] and 184 guests