Tool/software: Code Composer Studio
Good morning,
I got the Evaluation Board Tiva C Series TM4C1294XL, I´m using the BIOS operating system (without any Task) to run a sample code
that send periodically a CAN message on the Can1 peripheral. I set the external clock at 120MHz for the microcontroller.
The Can bus communication works properly up to 250KHz, but runs crazy oscillating without control if the CAN speed is set to 500KHz.
I tried to set-up also the Bit time using the following parameter:
psClkParms.ui32Phase2Seg = 4;
psClkParms.ui32QuantumPrescaler = 20;
psClkParms.ui32SJW = 2;
psClkParms.ui32SyncPropPhase1Seg = 7;
CANBitTimingSet(_baseAddress,&psClkParms);
but still nothing.
Could someone be so gentle to find the issue? Or if already experienced by someone.