FlexRay : FR_MBIDXRn[MBIDX] register value changes after frame reception

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FlexRay : FR_MBIDXRn[MBIDX] register value changes after frame reception

1,414件の閲覧回数
Deepak1
Contributor IV

Hi,

I am using DEVKIT MPC5748G development Board for FlexRay driver development and IDE is S32 DS for power architecture V2.1.

I am stuck in a problem and need your suggestions to come out from this.

Node 1 : Transmitter

Node 2 : Receiver.

Problem :

After receiption of frames to node 2 the message buffer indexes configured in register FR_MBIDXRn[MBIDX] for RX frames are getting changed. Because of this received data is written to different message buffer indexes.

Implementation :

I have configured Tx and Rx message buffers when the POC is in CONFIG state and allocated message buffer indexes to each Tx and Rx frames. Refer below image.

pastedImage_3.png

But after frame reception the message buffer indexes of Rx frames are getting changed and due to this received frame data is written to different message buffer indexes. Here I have attached images for your reference which shows data is written to different indexes and FR_MBIDXRn[MBIDX] register values are changed.

Let me know your suggestions to overcome from changing message buffer index or how to handle such scenarios.

ラベル(1)
0 件の賞賛
返信
1 返信

1,388件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

The MB receive the data based on the slot number. The changing the MB index is normal functionality of the FlexRay module – see chapter 5 Receiving Frame in the FlexRay document you aleary got.

 

BR, Petr

0 件の賞賛
返信