12Bit Counter; Pulse Generators (20 Bit X 4) - IAI cm-140ge User Manual

Digital monochrome/color progressive scan gege vision camera
Table of Contents

Advertisement

CM-140GE / -RA/-UV / CB-140GE / -RA

6.4.2. 12bit counter

Addres
Internal Name
s
0xB000 Counter Clock Choice
0xB004 Counter Dividing Value

6.4.3. Pulse generators (20 bit x 4)

There are 4 pulse generators (designated 0 through 3) that can be used to create various timing
scenarios by programming start point, endpoint, length and repeats.
The following example shows the FVAL input to pulse generator. The pulse generator creates the
pulse using FVAL and the pulse is output through GPIO PORT 1.
Pulse Generator Setting Example
Pulse Generator 0
IN
(FVAL )
Clock IN
Clock Source=Pixel Clock ( 60MHz)
Clock Pre-scaler = 2399 ⇒ 25KHz
Start Point = 0
Pulse Generator 0
OUT
(GPIO Port 1 )
The created pulse rises up at the start point and falls down at the end point as shown above.
Accordingly, the High duration is (End point – Start point) clocks x (1/ Pulse gen. frequency).
In the above example, the original oscillation uses pixel clock (60 MHz) and the pixel clock is
divided by 2400. A pulse frequency of the generator is 25 KHz ( 60000000/2400). As the start point
is 0 and the end point is 99, the pulse having 100 x 1/25000 = 4ms width is created.
If the HIGH duration needs to be delayed against incoming trigger, the start point should be set at
"N". The delay value is N x (1/ 25000).
In the above example, N is "0" which is no delay.
The length, in this case, is 102 clocks.
GenIcam Name
ClockSource
ClockPreScaler
Start Point
Start Point
End Point
End Point
Length
Length
Pulse Generator Clear = 4: Rising Edge
0
1
2
3
1/25KHz = 40µs
1
Length = 102
Fig 9. Pulse generator setting example
- 14 -
Acces
Size
s
0x00: 25MHz
R/W
4
0x01: Pixel Clock
0x000: Bypass
0x001: 1/2 Dividing
R/W
4
0x002: 1/3 Dividing
|
0xFFF: 1/4096 Dividing
99 100 101 102 103
End Point = 99
2
Repeat counter: 0 to 255
=0: Continuously repeated
Value (Range)
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cm-140ge-raCb-140ge-raCb-140geCm-140ge-uv

Table of Contents