TI中文支持网
TI专业的中文技术问题搜集分享网站

关于C6657的SRIO的NWRITE传输,NWRITE方式下一次最多可以发送多少字节,每次发送的字节数有什么要求?

如题,想请问一下C6657的DSP,NWRITE方式下一次最多可以发送多少字节,在不超过这个最大传输字节情况下,每次发送的字节数有什么要求,比如说8字节的整数倍等这样的要求?我现在每次发送的数据大小有1036字节,有4字节,62字节的,是否能使用NWRITE方式一次发送。

因为网上的一些说法不一样,想请TI的技术人员解答一下,谢谢!

Shine:

在SRIO手册上有说明 2.3.2.2.1 WRITE Transactions
There can be 16 payload packets with payload size up to 256B and 16 header packets without payload.

对字节数的要求在2.3.2.2.3 Packet Segmentation有说明
The LSU handles two types of segmentation of outbound requests. First, when the Byte_Count of Read/Write requests exceeds 256Bytes. Second, when Read/Write request RapidIO address is non-64b aligned. In both cases, the outgoing request must be broken up into multiple RapidIO request packets. For example, the CPU wants to perform a 1KB store operation to an external RapidIO device. After setting up the LSU registers, the CPU simply performs one write to the LSU_Reg5 command register. The peripheral hardware then segments the store operation into four RapidIO write packets of 256B each, and calculates the 64b-aligned RapidIO address, WRSIZE, and WDPTR as required for each packet. The LSU registers can not be released until all posted request packets are passed to the TX FIFOs. Alternatively, for non-posted operations, such as CPU loads, all packet responses must be received before the LSU registers are released.

赞(0)
未经允许不得转载:TI中文支持网 » 关于C6657的SRIO的NWRITE传输,NWRITE方式下一次最多可以发送多少字节,每次发送的字节数有什么要求?
分享到: 更多 (0)