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

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

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

1,555 次查看
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
标签 (1)
0 项奖励
回复
3 回复数

489 次查看
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 项奖励
回复

489 次查看
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 项奖励
回复

489 次查看
kef
Specialist I
Of course you can use ECT. Please look in manual for input capture.
 
0 项奖励
回复