This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TCAN4550: Required TCAN4550 Drivers

Part Number: TCAN4550
Other Parts Discussed in Thread: CC2642R,

Tool/software: Code Composer Studio

Hi,

TI Experts,

I want to use TCAN4550 transceiver for CC2642r.

I have gone through Demo Project ( TCAN455x Driver Library Demo (Rev. A) ) in the link http://www.ti.com/product/TCAN4550/toolssoftware  .

I tried to use these drivers and build in our project( with target as CC2642) but this demo project is creating dependency issues on msp430FR5xx_6xx.

Can you help us in getting  drivers of  TCAN4550 exclusively without any controller dependencies so that I can use them in my project?

Regards,

Madhar khan.

  • Hi Madhar,

    Thank you for your interest in the TCAN4550.  The example firmware was developed in a fairly generic format so that it could be ported to different MCUs, but there is always a dependency on the lowest level of the code that will need to be customized for the specific MCU and application.  The MSP430 was used as an example MCU for this code due to it's popularity, and the SPI and hardware configuration does rely on the MSP430 library.  Changing the SPI and hardware configuration portions of the code to match the CC2642r should be all that is required. 

    I will need to look into the firmware and also familiarize myself with the CC2642r MCU before I get back to you with a more detailed response.

    Regards,

    Jonathan

  • Hi Mr.Jonathan,

    Thank you for the information on TCAN4550 . In demo project we have observed " the MSP430 Specific Initializations ." 

    Are you refering to this section which is the first code in " main function "  of TCAN_main.c file ?

    Looking forward for your quick reply on TCAN4550 driver compatible to CC2642r MCU.


    With Regards
    Madhar

  • Hi Madhar,

    The majority of the code is as generic as possible and you will need to adjust the code you have just identified to initialize the MCU which are approximately the first 10 lines of code in the main(void) function in the main.c file.

    The only other dependencies on the MSP430 that you will need to modify for the CC2642r MCU are in the TCAN4x5x_SPI.c and TCAN4x5x_SPI.h files because these are the actual SPI driver code to cause the MCU to communicate with the TCAN4550.  It is not possible to create a generic set of code with SPI functions, because this is the portion of code that controls the MCU hardware.  Since different MCU's have different architectures and SPI configurations, you will need to adjust these functions to remove the MSP430 SPI functions and replace them with the CC2642r functions.  If you keep the function names the same and just replace the MSP430 functions with the CC2642r functions, all the dependencies should be removed and the rest of the TCAN4550 code will function the same.

    Regards,

    Jonathan