Hi,
I am using KM34Z128Cll5 for my project. I want to make use of IRDA using UART1 and cross-bar.
Tried doing the following:
PORT_Init (PORTD, PORT_MODULE_ALT4_MODE, PIN1); /*Enabling the Xbar output 3*/
PORT_Init (PORTD, PORT_MODULE_ALT0_MODE, PIN2); /*Comparator 0 input*/
SIM_MISC_CTL|=0x0200;
UART_Init (UART1, UART_MODULE_POLLMODE_CONFIG(2400,24e6));
XBAR_Init (XBAR_MODULE_NO_EDGE_DETECT_CONFIG, PRI_LVL2, NULL);
CMP_Init(CMP0,CMP_FILTER7_MODULE_EN_SAMPLE_PER_255_DAC_EN_CONFIG(21),IN1,IN7_DAC);
XBAR_Path (XBAR_CMP0OUT,XBAR_UARTRXINP);/*Comparator 0 output connected to the RX input of UART*/
XBAR_Path (XBAR_UARTMODTX,XBAR_OUT3);/*Uart output TX connected to the Xbar out3*/
UART_PutStr(UART1,"HELLO WORLD :-)");
Here: How do we know that UART1 RX is connected to the XBAR and UART1 Output is connected to the XBAR?
I am not able to get any data output.
Please Help me out in this.