This is a design limitation imposed by the author of the CAN component.
Submit your idea for making the CAN component CAN-FD tolerant to Cypress. They may be interested.
A more complicated way is to import the CAN component into your design.
Next modify the code that requires it to be directly connected to a pin.
Modify the CAN_v3_0.cysch file to include the "AND" gate and a new input "FD_frame". This should get around the "must be attached to a pin" requirement.
Just some thoughts.
Thanks for your reply.
Adding "AND" in the component symbol didn't solve the problem.
The restriction comes from inside of the "cy_psoc3_can_v1_0" primitive.
Directly instantiating the primitive in the top schematic also gives the same result.
I couldn't find any related parameter in the primitive symbol/pin properties.
Thanks for the feedback.
I imported the cy_psoc3_can. There appears to be no control of this component primitive for the user. Sorry I couldn't be of more help.
2 of 2 people found this helpful
I have finished the design. It works in my case and everything looks like OK. Further improvements may be done but I will not be able to spend more time. Further tests should be done also. I'm uploading the design here as a workspace. Anyone can use it for any purpose with their own responsibility.
Any test result, bug report/fix, improvement is welcome.
Maybe Cypress guys add this to the CAN component as a checkbox like "Enable FD Tolerant Operation" with cleaner method.
If CAN IP have other IOs that we can't see, further improvements could be done. For example;
If it have bus idle, bit clock or stuff bit signals accesssible then these are reusable and some resurces can be saved.
And it would be good if Cypress adds to a "non - pin constrained" version for the CAN component or primitive.
I appreciate your hard work and for sharing your insights on how the CAN component might be updated for CAN-FD.
We really appreciate your commitment to post your solution to our community.
Since PSoC 5 is a old device, we might not be able to provide upgrades (hardware/ software) in the near future.
We highly recommend you to use our latest PSoC 6 device that supports CAN- FD in hardware. Please feel free to evaluate our PSoC 6 device for your application.
Thanks for your valuable contribution to our community.