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.

FlexRay Demo code query

Other Parts Discussed in Thread: TMS570LS20216

I use TMS570LS20216 MDK. I programmed the 5 node Flexray example code into it for node A. After giving Run in CCSv5, the program stays in the line

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


The file is FlexRay.c

On the CANoe trace I see only CAS message received. What is the error and how to solve this?


Thanks in Advance !

  • Sindhu,

    Your question has been forwarded to our Flexray expert.

    With the Holidays Season, the answer may be a delayed.

  • Sindhu,

    Are you trying this on a single FlexRay node or do you have a network around the TMS570LS20216 MDK?

    If you are looking at the MDK as a single node in isolation, I wouldn't be too surprised. But even in this case before you get to this point you should see some pin toggle on the FlexRay TX pin.

    For a FlexRay communication to occur there need to be at least 2 nodes connected so that they can communicate. If there is a single node (depending on how it is configured), it will attempt to 'wake' and 'handshake' with other nodes, but if it doesn't see any network activity, it will go into a listen state and wait for network activity.

    Regards,
    Abhishek Arora
  • Hello Abhishek

    In the setup, MDK is connected to Vector VN7600 to view the transmission of messages. The other 4 nodes(B,C,D,E) are simulated in CANoe.

    My inference from your answer is that Node A is not initialising any activity(like PDU transmission) on the network after handshake, and some other node does that. Am I right?

    Kindly post a 'readme' file of how exactly the code works. Please try to include informations like which node initiates the communication, which node transmits/receives to/from which node, what is the indication that tells the code is working fine.


    Thanks for your time !