Single write digital outputs with read-back

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Single write digital outputs with read-back

ソリューションへジャンプ
766件の閲覧回数
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 解決策
724件の閲覧回数
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 返答(返信)
735件の閲覧回数
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 件の賞賛
733件の閲覧回数
smt87
Contributor II

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

0 件の賞賛
725件の閲覧回数
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 件の賞賛