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.

How should i do to check FlexRay Message RAM Configuration

Hi 

I am using two TMS570LS20216  MCU Development kit for a FlexRay Evaluation Project . I use a example code from TI, The 5 nodes flexray demo source code for CCSv5.x may be downloaded here:Media:FlexRay_Communication_CCSv5.zip

I have some problems regarding FlexRay communication:

1.  How should i do to check FlexRay Message RAM Configuration by using CCS5 ? Such as Message RAM Configuration Example  in FlexRay Transfer Unit (FTU) Setup. I don't understand how to get this value from this Message RAM Configuration Example as left table in Figure 1.

 

2. If i want to check data transfer for the FlexRay communication, how to use CCS5 to check the data transfer is correct?

Best Regards 

Josen Hong

  • Hello Josen,

    I have forwarded your question to one our FlexRay experts. They should reply to your question soon.

  • Hi Chuck Davenport,

    Thank you for your help.

    I am waiting for your answer/reply.

    Best Regards 

    Josen Hong

  • Hello Josen,

    I apologize for the delay in response to your questions. The normal expert for the Flexray module is currently out of the office, but I will discuss your posts with another of our experts to see if they can have a look and answer your questions.

    Regards,

    Chuck Davenport

  • Hello Josen,

    as the FlexRay message RAM is not memory mapped, you can not directly watch it in CCS5 using a memory window. In order to make sure that a coniguration is written correctly to the message header, the header data has to be read back.

    This can either be done by: 

    • the CPU to request from the FlexRay controller to provide the according message header to the output register set of the FlexRay controller
    • using the FTU to read the according message header to the data RAM of the microcontroller. The handling of the FTU is described in an Application Report (SPNA145, FlexRay Transfer Unit (FTU) Setup). You can do it as described for the example in figure 1, but you need to change the transfer direction from SM2CC (System Memory to Communication Controller) to CC2SM (Communication Controller to System Memory). 

    Pls. note that the FTU setup is not part of the 5 nodes flexray demo source code.

    Best Regards,
    Peter Steffan

  • Hello Peter !

    May I know the reason why FTU is not setup in the demo code ?
  • Hello,

    I guess the reason is that FlexRay functionality itself can be demonstrated without the usage of FTU. In order to keep the demo code simple, the FTU was not setup.

    Best Regards,

    Peter