SPD demo BIST config question

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

SPD demo BIST config question

跳至解决方案
370 次查看
Pusoy
Contributor III

Hi,

Pre-Information:
In the "safety->STCU2" section of S32K3XXRM, there is a register related to PLL monitoring located at STCU2->RUNSW. According to the description, when our clock configuration uses PLL, we need to enable these two fields.

Pusoy_1-1703235115735.png

In the demo provided by S32K3 Safety Peripheral Drivers version 1.0.3 Design : Product Download : Files (flexnetoperations.com), PLL is enabled.

Pusoy_0-1703235078210.png

 

Based on the above information, these two bits should be set to 1 in the STCU2->RUNSW register in the demo.
And in the main.c file of the provided demo, the place where this register is set is in BIST_RUN()->Bist_Specific_Run()->Bist_SelfTestTrigger()->SAFETYBASE_REG_WRITE32(BIST_STCU_RUNSW_REG, BIST_STCU_RUNSW_RUN_BIT);

Pusoy_2-1703235253849.png

However, in the case where PLL is enabled in the clock configuration, the library driver provided by SPD does not set these two bits to 1.

1. Is this a design flaw or do users need to manually modify certain code?

 

 

标记 (4)
0 项奖励
回复
1 解答
324 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

1. Is this a design flaw or do users need to manually modify certain code?

Well, this would be the question to designers of the SW. But for sure if you want run the PLL for BIST, you need to set those bits.

If you like the feedback from SW owners, please submit a ticket at NXP.com so it will reach them.

Best regards,

Peter

在原帖中查看解决方案

0 项奖励
回复
1 回复
325 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

1. Is this a design flaw or do users need to manually modify certain code?

Well, this would be the question to designers of the SW. But for sure if you want run the PLL for BIST, you need to set those bits.

If you like the feedback from SW owners, please submit a ticket at NXP.com so it will reach them.

Best regards,

Peter

0 项奖励
回复