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.

SRIO initialization order

Hello,

Could you tell me the execution order of BOOT_COMPLETE and PEREN for SRIO initialization?

About PEREN, it's written as "This should be the last enable when bringing the device out of reset".
KeyStone SRIO User Guide (SPRUGW1B) : Table 3-18 Peripheral Control Register

In fact, it's written as following execution order at "2.3.15.3 Peripheral Initializations".

1) PER_SET_CNTL.BOOT_COMPLETE is set "1".
2) SPn_ERR_STAT.Port OK is checked whether it is "1".
3) PCR.PEREN is set "1".

But it's not the last execution in C6678 PDK. Would you check at line 353-356 in device_srio_loopback.c?

1) PCR.PEREN is set "1".
2) PER_SET_CNTL.BOOT_COMPLETE is set "1".
3) SPn_ERR_STAT.Port OK is checked whether it is "1".

Regards