DIMM-MX257 CAN Baudrate setting


The actual baudrate of the CAN interfaces are about 1% to high, how to change this?

Indeed the baud rate is a bit too high. Please find below the parameters for the exact baud rates.

The settings of the timing registers of the CAN interfaces are configured by some registry entries. The entries can be found in [HKEY_LOCAL_MACHINE\Drivers\BuiltIn?\HCAN_MX257_0] and  [HKEY_LOCAL_MACHINE\Drivers\BuiltIn?\HCAN_MX257_1].

The new values are:

 

"baudtable"=hex:\
0a,00,5f,07,07,07,00,\
14,00,2f,07,07,07,00,\
32,00,17,07,02,07,00,\
64,00,0b,07,02,07,00,\
7d,00,0b,07,01,04,00,\
fa,00,05,07,01,04,00,\
f4,01,02,07,01,04,00,\
20,03,02,02,02,02,00,\
e8,03,01,03,02,03,00,\
e8,03,01,03,02,03,00,

 

Don't forget to make the changes in the registry persistent. For example, with the application WriteReg.exe provided by emtrion in the Windows CE OSDesign.


Zurück