Dear Sir,
I am using kea128z using codewarrior Processor expert. When l configure the CAN bus bit rate to 250kbps, it automatically configured to 241.633kbps. But i want to run the CAN bus with 250kbps.
It might be happening due to Clock section, Please review the clock section also.
Please find the attachment of Processor expert generated code. This code is in running state with Tx_interrupt.
解決済! 解決策の投稿を見る。
Hi rohit_rawat,
Sorry for my last reply.
I forgot to configure 250 kbit/s with 8MHz crystal oscillator as an example.
You can use CAN timing calculator to achieve it.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi rohit_rawat,
Please select MSCANExtCLK(8MHz crystal) as clock source of MSCAN instead of MSCANBusClk(37.5kHz IRC).
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi rohit_rawat,
Sorry for my last reply.
I forgot to configure 250 kbit/s with 8MHz crystal oscillator as an example.
You can use CAN timing calculator to achieve it.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------