LPC11C14 CAN and UART Pins

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC11C14 CAN and UART Pins

714 次查看
satbir7
Contributor III

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

标记 (4)
0 项奖励
5 回复数

597 次查看
satbir7
Contributor III

Jeremy,

How can the CAN module be disabled ?

I know that the UART pins can be easily be set to input mode. 

Thanks,

Satbir

0 项奖励

597 次查看
jeremyzhou
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

597 次查看
satbir7
Contributor III

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

0 项奖励

597 次查看
jeremyzhou
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

597 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Satbir Sekhon,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.
I'm very curious about why you connect CAN TXD/RXD pins connected to UART TXD/RXD pins, whether you can introduce the purpose of this implementation.
Have a great day,

TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励