MPC8548 RapidIO traffic generation

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

MPC8548 RapidIO traffic generation

跳至解决方案
2,988 次查看
raj_bang
Contributor I
Hi All,
Can anybody here advise about generating RapidIO traffic from MPC8548? Or is there any document where I can get this info from. Please write me if you know any.
Or is there any driver file from which I can try and find out?

thanks,
Rajendra
0 项奖励
回复
1 解答
2,000 次查看
raj_bang
Contributor I
Hi,
I have found ways to do that.Thought to reply in case anybody else needs the info.

1. Program ROWAR, ROWBAR and ROWTAR registers of MPC8548 for attributes and the address locations along with the size of the ATMU window. Then try to read or write into the window locations. This will generate the outbound packets on the rapidio interface.
This also needs the LAWAR and LAWBAR window setting to route the traffic to RAPIDIO interface. The code for Rapidio window setting being the "1100"

2. Other way is to program the DMA controller registers and set MR[cs] bit to 1. This happens only if the other SAR, DAR, SATR and DATR plus BAR registers are correctly programmed. The details can be found in the MPC8548 family reference manual.

thanks,
Rajendra

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,001 次查看
raj_bang
Contributor I
Hi,
I have found ways to do that.Thought to reply in case anybody else needs the info.

1. Program ROWAR, ROWBAR and ROWTAR registers of MPC8548 for attributes and the address locations along with the size of the ATMU window. Then try to read or write into the window locations. This will generate the outbound packets on the rapidio interface.
This also needs the LAWAR and LAWBAR window setting to route the traffic to RAPIDIO interface. The code for Rapidio window setting being the "1100"

2. Other way is to program the DMA controller registers and set MR[cs] bit to 1. This happens only if the other SAR, DAR, SATR and DATR plus BAR registers are correctly programmed. The details can be found in the MPC8548 family reference manual.

thanks,
Rajendra
0 项奖励
回复