Part Number: TMS320F28P650DH
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Hi team,
I am facing an issue on SysConfig with configuring CAN peripheral of F28P65 MCU at 500khz with clock source set to AUXCLK.
I'm testing on an F28P65 LaunchPad, supplying AUXCLK of 20MHz with a function generator, and observing the CAN bus with a bus analyzer.
Running the 'can_ex1_loopback' example from the SDK works well and frames are being received correctly on the bus analyzer.
However, when I change the clock source from Peripheral SYSCLK to AUXCLK in the clock tree of sysconfig, the bitrate (as observed on an oscilloscope) is not 500khz.
Changing the value of SysConfig>CAN>'Bit Rate Parameters'>'Device SYSCLK MHz' to 20 (to match AUXCLK) yields 250khz CAN bit clk (as observed on oscilloscope).
Setting this parameter to 10 yields 500khz CAN bit clk. However, the bus analyzer is not receiving the frames likely due to differences in sampling point.
Furthermore, I observed that changing the value of AUXCLK in clocktree does not change anything in the generatde code!
Please help me configure CAN at 500kHz bitrate with clock source set to AUXCLK.
Thanks.

