Hi all,
I want to test PCIe eye diagram in Gen1 and Gen2 separately on AM5728.
May I know the test procedure to enable related registers?
Thanks in advance.
B.R.
OC
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
OC
For Gen 1,
{
int func_config_reg;
func_config_reg = *(unsigned int*)0x4A094400;
func_config_reg = func_config_reg & 0xFFFFE7FF;
func_config_reg = func_config_reg | 0x00000C00;
*(unsigned int*)0x4A094400 = (unsigned int)func_config_reg;
}
For Gen 2,
{
int func_config_reg;
func_config_reg = *(unsigned int*)0x4A094400;
func_config_reg = func_config_reg & 0xFFFFE7FF;
func_config_reg = func_config_reg | 0x00000400;
*(unsigned int*)0x4A094400 = (unsigned int)func_config_reg;
}
Thanks
David
Hi David,
Do you mean change the register value like below after AM5728 boot up? After this setting PCIe will start to output test pattern?
0x4A094400[12:11] =0x0C for Gen1
0x4A094400[12:11] =0x04 for Gen2
If my understanding is right, can I use "omapconf write" command to do this?
or I need to modify and rebuild SDK?
AC