What is the PCIe i.MX6 max payload size ?

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

What is the PCIe i.MX6 max payload size ?

跳至解决方案
3,139 次查看
NicolasP
Contributor IV

Hi,

In the reference manual, it is said at chapter 48.4.4.1.1.2 : "Program your PCI Express system with a larger value of Max_Payload_Size without exceeding CX_MAX_MTU (128)."

I can't find any definition for CX_MAX_MTU but the number in parenthesis sugests that it's value is 128. Right ?

Does this means that the max payload size of PCIe packets is 128 bytes ? If true, this means that one can't trim the max payload size which min value is 128 bytes.

Nicolas

标签 (1)
1 解答
2,355 次查看
Yuri
NXP Employee
NXP Employee

From Mark Middleton :

   There are several parameters which sound like they can be set by the user through registers,

but are actually parameters that the core design engineer sets when designing the core into silicon.

Unfortunately, that means that these parameters cannot be changed.

  Three parameters in particular are:

CX_MAX_MTU = 128

CC_SLV_MTU = 128

CC_MSTR_BURST_LEN = 16

   If these values are exceeded in the application software, then the core starts to decompose messages,

which will affect throughput. The reason the core will not work with larger values is because the buffers and

memory space needed to support the larger values are not built into the core.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,356 次查看
Yuri
NXP Employee
NXP Employee

From Mark Middleton :

   There are several parameters which sound like they can be set by the user through registers,

but are actually parameters that the core design engineer sets when designing the core into silicon.

Unfortunately, that means that these parameters cannot be changed.

  Three parameters in particular are:

CX_MAX_MTU = 128

CC_SLV_MTU = 128

CC_MSTR_BURST_LEN = 16

   If these values are exceeded in the application software, then the core starts to decompose messages,

which will affect throughput. The reason the core will not work with larger values is because the buffers and

memory space needed to support the larger values are not built into the core.

0 项奖励
回复
2,355 次查看
NicolasP
Contributor IV

Hi Yuri,

Thanks for your answer.

That's what I thought. One can not change max payload size. It is fixed to 128 bytes.

Regards,

Nicolas

0 项奖励
回复