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.

Example Demo Program For FlexRay TMS570MDK Kit not working

Dear All,

I am Using two TMS570LS20216  MCU Development kit for a FlexRay Evaluation Project . there is example from TI , FlexRay for TMS570 which is attached here 6114.FlexRay_Communication_CCSv4.zip .

When we compile and Flash the program into two different TMS570MDK kits over linear bus topology,  No communication seems to be happening . Moreover there is No visual Indication or Read me file describing what actually a program do and what's its functioning is the program performs the program halts at function.

 while ((Fray_PST->SIR_UN.SIR_UL & 0x4)== 0x0);    // wait for CYCS interrupt flag .

I have some doubts regarding the example  my questions are :-

1. Is this example a full complete example for testing the communication between two TMS570MDK kits or there are some other modules need  to be added . For Example  there is a internal  Unit named FTU (FlexRay Transfer Unit ) works same as DMA (Direct memory access)  in TMS570MDK kit.. but in the example program there is no Functions or files which depicts that FTU is used or not . Is it is possible we can perform FlexRay communication without FTU unit ?

2.. How the Example Works what functions we can check with the example of FlexRay there is no indication of working or not working of the program . 

3. How we can check that Two MCU kits are synchronised over linear bus of FlexRay Protocol .

Best Regards 

Arsh Sohal 


  • Hi Arsh,

    There are two CCS projects installed in the same folder:

    • FlexRay_example_node_a.pjt,
    • FlexRay_example_node_b.pjt. 

    Please use project a for 1 board, and project b for another board. Bother projects were tested on 2 MDKs. Two boards should be connected using twisted cables (BM to BM, BP to BP, and GND to GND). 

    1. It a simple example to show you how to configure flex ray register to make them work. It was tested on TMS570MDK. FTU and DMA are not used in the example.

    2. Please use the scope to probe BM, and BP.

    Regards,

    QJ

  • Dear Wang,

    Thanks for the reply i have already proceeded the same way as you have mentioned now .but i didn't used the  GND wire now i will try again using GND wire . if everything works will update soon.

    1.) Does this example successfully checks the message transmission of TX and Rx frames between the two MCU kits .

    2.) Other question of mine is i need to implement the FTU unit for the FlexRay .Is there any example program that i can find for the same Implementing FTU unit  for the  FlexRay configuration program . or there is possibility that a FlexRay cluster program can be  implement the same way (as in a example program) without having excess to FTU unit .

    Regards ,

    Arsh Sohal