- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am developing CAN Communication with TJA1145 AND CYT2B9CAE classic CAN Example.
But If you request the CAN transmission in the current example, there is a problem that transmission is not possible after Pending.
The attached file is a CAN communication code using SPI0 and CAN0_2(CAN2).
What is Problem(Occured Send Pending)?
Solved! Go to Solution.
- Labels:
-
Automotive Traveo_II
- Tags:
- Automotive Traveo_II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I solved this problem.
CAN Example defined 500kbs but I checked 250kbs with oscilloscope.
I changed value(10->5) of prescaler Because I used 8Mhz crystal.
Success CAN Communication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We would like to get some clarifications regarding the problem statement. Could you please answer the below questions?
1) Could you please clarify what is the expected behavior of the code here with SPI involved to trigger CAN communication? What are the purposes of SetTrcvMode() and GetTrcvMode() functions?
2) Are you using boards from cypress for your testing or is it a custom board?
3) You have stated, "If you request the CAN transmission in the current example, there is a problem that transmission is not possible after Pending." Can you please elaborate on this? Are you seeing proper reception of CAN messages with configured IDs at CYT2B9CAE and are you facing problem while transmitting the CAN messages? I request you to explain in detail and provide us some logs and screenshots if possible to debug on this.
Thanks,
Kavya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I solved this problem.
CAN Example defined 500kbs but I checked 250kbs with oscilloscope.
I changed value(10->5) of prescaler Because I used 8Mhz crystal.
Success CAN Communication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good to know that the issue is resolved.
Regards,
Kavya