LM3S6965 UART with IrDA for infrared?
Hi, I wonder if any one on this forum knows how to implement the IrDA SIR on a UART port. I have a problem to implement the infrared device (Sharp GP2W3270XP0F)connected to a UART + IrDA. I also talked with the support from Luminary, and they told me just add to enable the SIR, but I got no resolving regarding the UART +IrDA with no signaling output. Below is the initial config code. However, I got no signal output from the UART Port D on pin 2/3 (a oscilloscope probe used). Any help will be appreciated. ==================================================== SysCtlPeripheralEnable(SYSCTL_PERIPH_UART1); GPIOPinTypeUART(GPIO_PORTD_BASE, GPIO_PIN_2 | GPIO_PIN_3); UARTConfigSet( UART1_BASE, 115200, UART_CONFIG_WLEN_8 | UART_CONFIG_PAR_NONE | UART_CONFIG_STOP_ONE ); UARTEnable(UART1_BASE); UARTEnableSIR(UART1_BASE, (tBoolean) false); /* No FIFO */ HWREG( UART0_BASE + UART_O_LCR_H ) &= ~mainFIFO_SET; HWREG( UART1_BASE + UART_O_IM ) |= ( UART_INT_TX |UART_INT_RX ); IntEnable( INT_UART1 ); ===================================================== Thanks, Bill
login or register to reply
|