View Single Post
  #3   Spotlight this post!  
Unread 05-02-2016, 19:49
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: am-2899 Absolute Encoder

Quote:
Originally Posted by moomoomoo309 View Post
How does one write (java) code to use this encoder? There is only one PWM port.
The am-2899 (US Digital part number MA3-A10) has analog output, not PWM, and must be wired to an analog input.

The MA3-P10 (and -P12) have PWM output.

The FPGA, sampling at 40MHz, certainly is fast enough to detect and accurately time-stamp the edges of a PWM signal, but the FRC FPGA code does not support PWM decoding.



Reply With Quote