- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @nagwekar ,
Since there is no activity on the CAN bus it's clear that communication is not happening. It can be because of multiple reasons.
Are you using any working example for testing? If not it might a code related issue.
Can you check our CAN code examples and check if that is working at your end.
https://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Alakananda_BG ,
The CAN example works as the LED glows.
But when I switch off the loopback mode and assign CAN NODE 0 the Tx and Rx pin, there is no output on the oscilloscope.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @nagwekar ,
- To migrate from loopback mode to physical pins, it can be checked if all the pin configurations are properly configured for CAN TX, RX modes.
- You can also check if the pins are connected with a transceiver in between or without a transceiver.
- If they are connected with the transceiver connection would be as shown below
- If there is no transceiver involved. The connection would need to be as shown below
You can follow the below steps for testing
i) configure the pins properly as required for CAN,
ii) remove the loopback mode configuration.
Then do the following tests
a) Have a transceiver connected to the transmitting CAN node and check with a CAN analyzer.
b) Check the TX and RX lines of transmitting lines using Saleae and decode using inbuilt Saleae CAN analyzer and check if the CAN transmission is proper.
c) Connect the two CAN nodes via transceiver and check the behavior.
Regards,