STEVAL-TCS003V1 STMicroelectronics, STEVAL-TCS003V1 Datasheet - Page 45

BOARD DEMO EXPANDER STMPE2403

STEVAL-TCS003V1

Manufacturer Part Number
STEVAL-TCS003V1
Description
BOARD DEMO EXPANDER STMPE2403
Manufacturer
STMicroelectronics
Datasheets

Specifications of STEVAL-TCS003V1

Main Purpose
Interface, GPIO Expander
Embedded
No
Utilized Ic / Part
STMPE2403
Primary Attributes
8/16/24-Bit 24-Port GPIO Expander over I2C
Secondary Attributes
3 8-Bit PWM Output for LEDs, Keyboard Matrix Scan, Special Key Support
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-8206

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STEVAL-TCS003V1
Manufacturer:
ST
0
STMPE2403
Table 44. Instruction bit
1. Don’t care
Instruction
BRANCH
reserved
RAMP
LOAD
TRIG
END
GTS
0
0
0
1
1
1
1
In order to enable a PWM channel, the programming sequence below should be observed.
15
The ENx of the PWMCS register should be kept in ‘0’. By default, it has a value of ‘0’.
Loads the instructions into the PWM channel x by writing the corresponding PWMICx.
The PWM channel x has a 64-word depth (16-bit width). Any instructions of size less
than or equal to 64 words can be loaded into the channel. Any attempt to load beyond
64 words will result in internal address pointer to roll-over (0x1f ◊ 0x00) and the excess
instructions to be over-written into the first address location of the channel and
onwards.
After the instructions are loaded in, then, the PWM channel x can be enabled by setting
a ‘1’ to the ENx bit.
Enables the corresponding interrupt mask bit to allow interruption to the host.
Prescale
1
0=16
1=512
0
01
10
11
00
14
Step Time
0 - 63
0 = immediate action
0
0
13
Loop Count 0-63
Interrupt
to host
Wait for Trigger
on channel 0 – 2 and external Trigger
Continues if all selected triggers present.
Each bit signifies wait for the corresponding
channel.
RESERVED
12
Reset
instructio
n counter
and
output
level to
zero
11
10
RESERVED
9
Bit
8
Sign
0=step-up
1=step-down
PWM Value 0-255
0
7
Increment
1 – 126
0
Addr
Send Trigger
on channel 0 – 2 and
external Trigger
Continues if no Wait for
Trigger in this
instruction.
6
Step Size
0 – 63*
5
4
PWM controller
3
2
1
45/63
x
(1)
0

Related parts for STEVAL-TCS003V1