Single write digital outputs with read-back

cancel
Showing results for 
Search instead for 
Did you mean: 

Single write digital outputs with read-back

Jump to solution
101 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
1 Solution
59 Views
JRoberto
NXP Employee
NXP Employee

 

@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
3 Replies
70 Views
JRoberto
NXP Employee
NXP Employee

@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
68 Views
smt87
Contributor II

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

0 Kudos
60 Views
JRoberto
NXP Employee
NXP Employee

 

@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