So I am trying to do something I have not done before and hoping someone has some ideas to do this somewhat simply. I have a Zygo ZMI-1000A interferometer board, it is VME based but I am hoping not to deal with VME if I can get away with it. The Zygo board can be ran standalone where it outputs the position data on the unused puns of the P2 VME connector. Zygo calls this the P2 bus.
The P2 bus is 32bits with a clock and complement, default is a 2MHz update rate. There are some extra IO pins for counter reset, output enable, and errors but thats easy. When the clock goes low the data is available on the bus in 2's Complement format.
So what would be a good way to read these boards, I dont need anywhere the 2mhz rate, sampling the bus at 10Hz would probably cover most applications. To be able to dump the data to a PC over serial/usb would be great.
So I was thinking maybe something like the teensy 3.5 since it has a ton of 5v compliant IO, I dont think I need DMA access to do this. If I do I could go to the 3.6 which has 32 bits of DMA and just use some voltage translators.
Copy of the manual for the board is here:
https://drive.google.com/file/d/1BdC5PO9Ez9nzBIuFvZiN9O6MMSnOlnyf/view?usp=sharingThe info needed starts at page 3-5
Any ideas?
-Jerry