 
					
				
		
Hello All,
Currently, on LPC11C14, I have the CAN TXD/RXD pins connected to the corresponding UART TXD/RXD pins, and have been using the UART without any issues. The idea was to be able use either the UART or CAN controller.
The datasheet says that the default state of the CAN TXD pin is HIGH, so how is my UART working?
Won't there be a short when the UART TX pin pulls the line down?
Would this setup be an issue if I had to program the chip in ISP mode ?
Thanks,
Satbir
 
					
				
		
Jeremy,
How can the CAN module be disabled ?
I know that the UART pins can be easily be set to input mode.
Thanks,
Satbir
 
					
				
		
 jeremyzhou
		
			jeremyzhou
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Satbir Sekhon,
To disabling the CAN block, you can reset the CAN block via asset the bit3 in the PRESETCTRL register, then dis-asset the bit 17 in the SYSAHBCLKCTRL register.
Hope this is clear.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
 
					
				
		
Hello Jeremy,
Thanks for the reply.
The idea behind connecting the CAN and UART pins together, is to be able use either UART or CAN using just one physical transceiver chip.
Satbir
 
					
				
		
 jeremyzhou
		
			jeremyzhou
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Satbir Sekhon,
Thanks for your reply.
My suggestion is disabling another module when one module is active, however you need to do some testing to evaluate the risk.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
 
					
				
		
 jeremyzhou
		
			jeremyzhou
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
