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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,245 次查看
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,219 次查看
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 项奖励
回复