In my application I use UART0 and the CAN interface.
UART0 RxD = P3.0 (Alternate Input 1) UART0 TxD = P3.4 (Alternate Output 3) CAN RxD = P5.0 (Alternate Input 1) CAN TxD = P5.1 (Alternate Output 2) When I init the CAN interface I am unable to receive characters from the serial port. The problem is solved when I disconnect the InputPin from port 5.1. Following functions are used to init UART0 and CAN.
When the input of UART Tx is connected, the CAN interface does not transmit in normal mode. In loopbackmode (Non Silent), it works OK. Same thing for the UART. When CAN is assigned on P5 and UART on P3, and IP is connected, the UART cannot receive. I don't know if this problem occures when using other pins on other ports. The workaround is to disconnect the inputs at Tx. I searched days to find this out ... so maybe this can be interresting for others ... Here is the initialisation code :