Hi,  I need to detect changes in 16 inputs using S12XDP51...

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

Hi,  I need to detect changes in 16 inputs using S12XDP51...

1,345 Views
JaimeR
Contributor III
Hi,

I need to detect changes in 16 inputs using S12XDP512. This inputs are critical, therefore, I cannot read them using a timer interruption (I could miss data). I was thinking about using Enhanced Capture Timer but it only has 8 channels. Any suggestions?

Thanks in advanced,

Jaime
Labels (1)
0 Kudos
3 Replies

279 Views
kef
Specialist I
Port H, port J and port P are interrupt capable. You can detect rising or falling edge on every port H/J/P pin.
0 Kudos

279 Views
JaimeR
Contributor III
Thank you for your reply,
I only have 4 pins for port J since I am using the 112 package, and I am also using the 2 SPI from port H, thus I am missing 4 extra pins... What do you suggest? Could I use enhanced timer capture?
Thanks
0 Kudos

279 Views
kef
Specialist I
Of course you can use ECT. Please look in manual for input capture.
 
0 Kudos