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.
IRDA for Datatransfer in both directions
Who is online
Users browsing this forum: Bing [Bot], marcelounisb and 116 guests