This results in larger values for TSEG. Programming of the Sample Point allows optimizing the Bit Timing: The value is currently not used in all calculations, please look at the values used below the bit timing table. The CAN bit time may be programed in the range of 4 to 81 time quanta. The Time Quanta is the smallest time unit for all configuration values.
|Date Added:||20 September 2017|
|File Size:||66.42 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Where ctype is the controller type. However, eCAN follows the same register bit-layout structure and bit functionality as that of x CAN for registers that exist in both devices i.
[meta-freescale] FlexCAN not working
An explanation is given after the table if calculation was called. Programming of the Sample Point allows optimizing the Bit Timing: Up to three CAN modules are on chip. CNF2 the propagation segment, phase segmant 1, SAM bit which controls the number of samples taken at the sample point.
If a value is entered, it is only copied to the appropriate register. Two 32bit registers are used for setting the arbitration and data bit rate. The table results in generic colums listing the values for number of tq, tseg1, tsegs, prescaler etc.
All Boards FlexCAN
If someone is interested in using the Timing calculator for flexxan CAN applications, feel free to implement it here or pay me to do it. The eCAN module features several enhancements such as increased number of mailboxes with individual acceptance masks, time stamping, etc.
But some chips exist to substitute it. By providing the input fresscale frequency feed into the CAN freescqle Pre-scaler, the desired Sample Point location and selecting the CAN familythis page calculates possible register values to program CAN controllers for typical bit rates.
For all of them the actual interpretation by the hardware of this values is such that one more than the value programmed here is used. The A20 manual Revision 1. A table can be requested by passing parameters on the http request line like http: The document “CAN Bus1.
FlexCAN – Wikipedia
The PIC32 family’s bit rate prescaler is only programmable between 1 to Select this type for calculation of the register values. Each time segment consists of a number of Time Quanta tq. This results in larger values for TSEG.
At the time this tool was first developed, this seems to be the best value. The value is currently not used in all calculations, please look at the values used below the bit timing table. Two different sources show two different results. The total number of Time Quanta has to be from 8 to Both with the same structure. There is currently an issue for the high speed controllers in generating low CAN bit rates.
The following is copied fom the manual chapter ” 1. Therefore, bit timing calculation is not yet implemented for it. To simplify programming the fast bit rate, the programm allows only the fast bit rate to be multiple of the arbitration bit rate.
Clock Rate in MHz, from 1 to If you find bugs in this service, please inform Me.
Yellow background rows are settings with an bittime consisting of 16 time quanta tq. Values are always zero, which means the Synchronization Jump Width is 1 tq.