Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
I am in the early stages of a project implementing CAN controller on an F28377S. I just want to make sure I'm using maintained libraries within the latest version C200Ware (1.00.03.00). The example for the CAN bus (can_loopback.c) seems to use functions and libraries with-in the "deprecated" folder which doesn't leave me much confidence for their maintainability.
in the example code the call is to:
CANBitRateSet(uint32_t ui32Base, uint32_t ui32SourceClock, uint32_t ui32BitRate);
which I can only locate in: \C2000Ware_1_00_03_00\device_support\f2837xs\common\deprecated\driverlib\can.h
in some searching I stumbled upon the \C2000Ware_1_00_03_00\driverlib\f2837xs\driverlib\can.h with the function:
CAN_setBitRate(uint32_t base, uint32_t clock, uint32_t bitRate, uint16_t bitTime);
I am wondering which of these I should be using moving forward? The rest of my project includes libraries within the "device_support" directory, but I would rather not use something that will disappear soon.
Thanks,
Galen