Forum Discussion
Cyclone V CAN triple sampling
Does anyone know if the CAN controller on the Cyclone V implements the optional CAN feature of triple sampling?
There is no mention of it in the handbook or in the register definitions, so I am assuming that it just does the standard CAN functionality of single sampling.
But I wasn't sure if under the hood it was doing anything more complicated as some CAN controllers automatically do triple sampling at lower baud rates.
Hi prmartinuk
The Cyclone V do not have the CAN Triple sampling.
There is no option to change the sampling rate of the CAN in the HPS.
You could find other register setting for the CAN in the Cyclone V HPS Register Map in the link below:
Regards
tehjingy
4 Replies
- StefanG_Altera1
New Contributor
Hi,
I cannot presently point to a Cyclone V HPS register definition or document explicitly proving triple sampling is implemented/enabled in Cyclone V HPS CAN. I will further check internally.
Have you tried "$ ip -details link show can0"?
If the Linux driver exposes: triple-sampling on/off
then the underlying controller/driver combination should support it.
- prmartinuk
New Contributor
Thanks.
Unfortunately we aren't running Linux on our Cyclone V devices, so I can't quickly check via the driver.
I'll try to find the evaluation boards we got over 10 years ago and try to get Linux running on them.- tehjingy_Altera
Regular Contributor
Hi prmartinuk
The Cyclone V do not have the CAN Triple sampling.
There is no option to change the sampling rate of the CAN in the HPS.
You could find other register setting for the CAN in the Cyclone V HPS Register Map in the link below:
Regards
tehjingy
- prmartinuk
New Contributor
Many thanks for confirming. That is very helpful to know.