Electronic Components Datasheet Search
  English  ▼

X  

AS3661 Datasheet(PDF) 69 Page - ams AG

Part # AS3661
Description  Programmable 9-channel LED Dr iver
PDF  87 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AMSCO [ams AG]
Direct Link  http://www.ams.com
Logo AMSCO - ams AG

AS3661 Datasheet(HTML) 69 Page - ams AG

Back Button AS3661 Datasheet HTML 65Page - ams AG AS3661 Datasheet HTML 66Page - ams AG AS3661 Datasheet HTML 67Page - ams AG AS3661 Datasheet HTML 68Page - ams AG AS3661 Datasheet HTML 69Page - ams AG AS3661 Datasheet HTML 70Page - ams AG AS3661 Datasheet HTML 71Page - ams AG AS3661 Datasheet HTML 72Page - ams AG AS3661 Datasheet HTML 73Page - ams AG Next Button
Zoom Inzoom in Zoom Outzoom out
 69 / 87 page
background image
www.austriamicrosystems.com
Revision 1.3
68 - 85
AS3661
Datasheet - D e t a i l e d D e s c r i p t i o n
Figure 29. RAMP Instruction Example
8.12.2 RAMP (Variables)
Programming ramps with variables is very similar to programming ramps with numerical operands. The only difference
is that step time and number of increments are captured from variable registers, when the instruction execution is
started. If the variables are updated after starting the instruction execution, it will have no effect on instruction
execution. Again, at each ramp step the output is incremented/decremented by one unless step time is 0 or increment
is 0. Time span for one step is defined with prescale and step time bits. Step time is defined with variable A, B, C or D.
Variables A, B and C are set with ld-instruction. Variable D is a global variable and can be set by writing the VARIABLE
register (address 0x3C). LED TEST ADC register (address 0x42) can be used as a source for the variable D, as well.
Note: Variable A is the only local variable which can be read throughout the serial bus. Of course, the variable stored in
3CH can be read (and written), too. Setting register 0x06, 0x07, or 0x08 bit LOG_EN high/low sets logarithmic (1) or
linear ramp (0). By using the logarithmic ramp setting the visual effect appears like a linear ramp, because the human
eye behaves in a logarithmic way.
COMPILER COMMAND SYNTAX: RWV, prescale[1], sign[1], step time[2], number of increments[2];
Table 76. RWV Parameter Description
Name
Value
Description
prescale
0
Divides master clock (32 768 Hz) by 16 = 2048 Hz -> 0.488 ms cycle time
1
Divides master clock (32 768 Hz) by 512 = 64 Hz -> 15.625 ms cycle time
sign
0
Increase PWM output
1
Decrease PWM output
step time
0-3
One ramp increment done in (step time) x (prescale).
Step time is loaded with the value (5 LSB bits) of the variable defined below.
1
local variable A
2
local variable B
3
local variable C
4
register address 3CH variable D value, or register address 42H
value.
The value of the variable should be from 00001b to 11111b (1d to 31d) for
correct operation.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com