Single write digital outputs with read-back

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

Single write digital outputs with read-back

跳至解决方案
764 次查看
smt87
Contributor II

Hi,

I want to use GPOERB_SWTEST_CMP feature in safety manual to check if the read data equals the written data. Which register of s32k146 should I activate for this feature?

0 项奖励
1 解答
722 次查看
JRoberto
NXP TechSupport
NXP TechSupport

 

@smt87 

Well, I can't tell you the best way to implemented because it depends on your specific needs, but it could be as straight forward as reading back the pin after it has been written and compare this pin with the intended value you wanted to write in the first place.

 

Best Regards!

 

 

 

在原帖中查看解决方案

0 项奖励
3 回复数
733 次查看
JRoberto
NXP TechSupport
NXP TechSupport

@smt87 

The GPOERB_SWTEST_CMP is a safety function that should be implemented by software. There is no register called GPOERB_SWTEST_CMP to do it automatically 

Best Regards.

0 项奖励
731 次查看
smt87
Contributor II

How can I implement this feature? Is there any sample code for this?

0 项奖励
723 次查看
JRoberto
NXP TechSupport
NXP TechSupport

 

@smt87 

Well, I can't tell you the best way to implemented because it depends on your specific needs, but it could be as straight forward as reading back the pin after it has been written and compare this pin with the intended value you wanted to write in the first place.

 

Best Regards!

 

 

 

0 项奖励