Single write digital outputs with read-back

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Single write digital outputs with read-back

Jump to solution
1,223 Views
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 Kudos
Reply
1 Solution
1,181 Views
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!

 

 

 

View solution in original post

0 Kudos
Reply
3 Replies
1,192 Views
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 Kudos
Reply
1,190 Views
smt87
Contributor II

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

0 Kudos
Reply
1,182 Views
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 Kudos
Reply