- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I am trying to develop my module using CAN Communication Protocol, Here I am using CY8C4147AZI-S465 and for CAN Communication MCP2551. But it shows warning message and communication is not happen
I have attached my code and clock setting image belove.
Any Help will be highly appreciated
Regards,
LP
Solved! Go to Solution.
- Labels:
-
PSoC Creator & Designer Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @shilpasonone04
The CAN component requires an accuracy of 1.58% to achieve a baud rate of 125kbps (or slower bit rates). An accuracy of 0.5% or better would be required for bit-rates faster than 125kbps. It is not possible to achieve this accuracy with IMO (which is +/-2%) or any other internal clock.
The CAN Component is connected to the SYSCLK (PSoC 4) clock signal. It would be required to use the EXTCLK, ECO or use WCO to trim IMO and use it as a source of Sysclk as can be seen in the image below.
You can refer to this KBA: Control-Area-Network-CAN-Protocol-Troubleshooting-Guide-for-PSoC for more information on this.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @shilpasonone04
The CAN component requires an accuracy of 1.58% to achieve a baud rate of 125kbps (or slower bit rates). An accuracy of 0.5% or better would be required for bit-rates faster than 125kbps. It is not possible to achieve this accuracy with IMO (which is +/-2%) or any other internal clock.
The CAN Component is connected to the SYSCLK (PSoC 4) clock signal. It would be required to use the EXTCLK, ECO or use WCO to trim IMO and use it as a source of Sysclk as can be seen in the image below.
You can refer to this KBA: Control-Area-Network-CAN-Protocol-Troubleshooting-Guide-for-PSoC for more information on this.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your support, I tried this in my project. I am using CY8C4147AZI-S465 IC for CAN Communication and I want a baud rate of 500kbps for that I need to connect the External Crystal Oscillator (WCO) of 32.768KHz. But how can I connect this crystal to my IC as an external clock?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry I missed replying to your last response.
You can use a 32.768-kHz watch crystal oscillator(WCO) along with PSoC. In case you want to interface ECO you can interface 4-MHz to 33.33-MHz ECO.
PSoC 4100S Architecture TRM and Hardware design consideration guide contains more details regarding interfacing the WCO or ECO.
You can also refer to the schematic of the CY8CKIT-149 (which contains the 4100s device) to see how the WCO and WCO has been interfaced with it.
Best Regards
Ekta