Input CLK for CAN on LPC5536

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

Input CLK for CAN on LPC5536

745 次查看
ja_lpc
Contributor III

Currently working on LPC5536uC for one product.

Through the Zephyr LPC5536 was getting configured to internal 96MHZ FRO.

But with the help of clock and pin tool on MCUXpress IDE I made changes to use the external clk via PLL and drive the main clock to 150MHz.

I see in the config tool that by default the CANCLKDIV value is 1 and hence CAN will endup getting fed with 150MHz in my case.

But for a 1Mbps on CAN, how much should be the CAN clock so that I can set the divider accordingly?

0 项奖励
回复
5 回复数

661 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @ja_lpc 

You can choose clock source for CAN, then use CANCLKDIV to get Baud rate. About detail recommend refer to CAN demo under SDK, and

config tool.

 

BR

Alice

0 项奖励
回复

731 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @ja_lpc 

You can directly config baud rate on configuration tool as below:

 

Alice_Yang_0-1698046164242.png

 

BR

Alice

 

0 项奖励
回复

725 次查看
ja_lpc
Contributor III

Would this mean, we don't have to adjust the input frequency?

0 项奖励
回复

704 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @ja_lpc 

" adjust the input frequency?"

->> Please describe it more detail.

 

BR

Alice

0 项奖励
回复

687 次查看
ja_lpc
Contributor III

The input frequency to the CAN

0 项奖励
回复