Pike Technical Manual
V5.2.0
119
Camera interfaces
Pulse-width modulation
The 2 inputs and 4 outputs are independent. Each output has pulse-width mod-
ulation (PWM) capabilities, which can be used (with additional external elec-
tronics) for motorized speed control or autofocus control.
Period (in μs) and pulse width (in μs) are adjustable via the following registers
(see also examples in Chapter
To enable the PWM feature select output mode 0x09. Control the signal state via
the
PulseWidth
and
Period
fields (all times in microseconds (μs)).
Note
•
Note that
trigger delay
in fact delays the image capture
whereas the
IntEna_Delay
only delays the leading edge
of the IntEna output signal but does not delay the image
capture.
•
As mentioned before, it is possible to set the outputs by
software. Doing so, the achievable maximum frequency is
strongly dependent on individual software capabilities.
As a rule of thumb, the camera itself will limit the toggle
frequency to not more than 700 Hz.
Register
Name
Field
Bit
Description
0xF1000800
IO_OUTP_PWM1
Presence_Inq
[0]
Indicates presence of this fea-
ture (read only)
---
[1]
Reserved
---
[2..3]
Reserved
MinPeriod
[4..19]
Minimum PWM period in μs
(read only)
---
[20..27]
Reserved
---
[28..31]
Reserved
0xF1000804
PulseWidth
[0..15]
PWM pulse width in μs
Period
[16..31]
PWM period in μs
0xF1000808
IO_OUTP_PWM2
Same as IO_OUT-
P_PWM1
0xF100080C
0xF1000810
IO_OUTP_PWM3
Same as IO_OUT-
P_PWM1
0xF1000814
0xF1000818
IO_OUTP_PWM4
Same as IO_OUT-
P_PWM1
0xF100081C
Table 32: PWM configuration registers