LM8322JGR8/NOPB National Semiconductor, LM8322JGR8/NOPB Datasheet - Page 23

IC MOBILE I/O COMPAN 36MICRARRAY

LM8322JGR8/NOPB

Manufacturer Part Number
LM8322JGR8/NOPB
Description
IC MOBILE I/O COMPAN 36MICRARRAY
Manufacturer
National Semiconductor
Datasheet

Specifications of LM8322JGR8/NOPB

Applications
*
Mounting Type
Surface Mount
Package / Case
36-Micro Array
For Use With
LM8322EVALKIT - BOARD EVALUATION LM8322
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
LM8322JGR8
LM8322JGR8TR

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM8322JGR8/NOPB
Manufacturer:
National Semiconductor
Quantity:
135
14.11 SELECTABLE SCRIPT EXAMPLE
Multiple scripts can be placed in a single buffer. The script
which is executed is selected by the address in the parameter
to the PWM_START command (0x96).
To set a fixed duty cycle on a PWM channel requires 3 steps
(see script 1 for duty cycles from 0% to 49% and script 2 for
duty cycles from 51% to 100%).
To keep a PWM channel active providing a fixed duty cycle
on its output, the script must terminate with the END com-
mand leaving the RESET bit clear. To switch this channel off,
the host must send another PWM_START command (0x96
followed by the parameter bytes) triggering the single com-
mand described in script 4. This END command will set the
RESET bit and the dedicated PWM output will be disabled.
Script 3 will automatically enter into this command when the
10 loops of ramping up and down are executed.
Command
Address
Script
0x0A
0x0B
0x0C
0x0D
0x0E
0x3B
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0F
0x10
0x11
0x12
0x13
0x14
0x15
.....
PWM_WRITE
and 75% duty
between 25%
Parameter 1
(Alternates
Script 1
Script 2
Script 3
Script 4
Script 5
Script 6
Script 7
cycle)
PWM_WRITE
Parameter 2
0x0D
0x1D
0x2D
0x3D
0x4D
0x01
0x05
0x09
0x11
0x15
0x19
0x21
0x25
0x29
0x31
0x35
0x39
0x41
0x45
0x49
0x51
PWM_WRITE
Parameter 3
0xC0
0xC0
0xC8
0xC0
0x40
0x0F
0x40
0x0F
0x40
0x07
0x07
0x07
0x07
0xA5
0x40
0x07
0x40
0x01
0x3F
0x3F
0xA0
23
Script 7 can be finished by two commands:
The script address is the physical address to be used from
BRANCH instructions inside the script file buffer. The param-
eter 1 byte contains the same address with the 2 channel bits
appended and will be associated with the PWM_START com-
mand.
Command
Script
PWM_STOP command with parameter 0x01
PWM_START command with parameter 0x31 (start
PWM_0 from address 0x0C to run script 4)
0xFF
0xD5
0x7E
0x7E
0xFE
0xFE
0x7E
0xFE
0x00
0x33
0x00
0x00
0x00
0x07
0x00
0x00
0x25
0x00
0x00
0x40
0x12
Set PWM_0 to 0% duty cycle
Ramp up 51 steps
Keep channel at 20% duty cycle
Set PWM_0 to 100% duty cycle
Ramp down 85 steps
Keep channel at 66.6% duty cycle
Set PWM_0 to 0% duty cycle
Ramp up 126 steps
Ramp up 126 steps
Ramp down 126 steps
Ramp down 126 steps
Loop ten times to script address 0x07
Switch PWM_0 off (script 3 automatically
enters here)
Set PWM_0 to 0% duty cycle
Ramp up 37 steps
Keep channel at 14.5% duty cycle
Set PWM_0 to 0% duty cycle
Ramp up 64 steps
Ramp up 126 steps
Ramp down 126 steps
Always branch to script address 0x12
Description
www.national.com

Related parts for LM8322JGR8/NOPB