ST5481
10/18
If Pin CFG1 is 1, when reset (PON,USB,PIN) is active the initial state is INACTIVE.
9 - ENDPOINTS CONFIGURATION AND DEDICATION
These endpoints are org anized as one interface
(interface 0), one configuration (configuration 1).
The interface being composed of four alternate
settings. Hereafter in the document RX data
direction is from S line to PC and is considered as
IN by USB protocol.
The endpoints are:
– 4 isochronous endpoints for B1 and B2 channels
(fifo 32 bytes in each direction)
• EP3 input endpoint for B1 channel IN(RX) on S
line
- associated to IN(RX) fifo 32 bytes
• EP2 output endpoint for B1 channel OUT(TX)
on S line
- associated to OUT(TX) fifo 32 bytes
• EP5 input endpoint for B2 channel IN(RX) on S
line
- associated to IN(RX) fifo 32 bytes
• EP4 output endpoint for B2 channel OUT(TX)
on S line
- associated to OUT(TX) fifo 32 bytes
– 2 isochronous endpoin ts for D channels (fifo 16
bytes in each direction)
• EP7 input endpoint for D channel IN(RX) on S
line
- associated to IN(RX) fifo 16 bytes
• EP6 output endpoint for D channel OUT(TX) on
S line
- associated to OUT(TX) fifo 16 bytes
– 1 control endpoint means managem ent of USB
standards, Communication Device Class (CDC)
standards (unused), and vendor reques ts (S interface application dedicated):
• EP0
- internal configuration and control registers
- D, B1, B2 channels transmit commands
- CI primitives to be transmitted
– 1 interrupt endpoin t used for vendor interrupts
• EP1
- channels reception or transmission indications
- CI primitives in receive direction
- D, B1, B2 channel reception indications
- S line status
- GPIO input changes
The alternate settings are:
• Alternate setting 0: EP0, EP1.
- initialisation configuration
•
Alternate setting 1: EP0, EP1, EP2, EP3, P6, EP7
- connection 64Kbits through B1 channel
•
Alternate se ttin g 2: EP0 , EP1 , EP 4, EP 5, EP 6, E P7
- connection 64Kbi ts through B2 chan nel
• Alternate setting 3: EP0, EP1, EP2, EP3, EP4,
EP5, EP6, EP 7
- connection 128Kbps (144Kbits/sec) through
B1 + B2 + (data into D) channels
Figure 7 : S Interface States - CFG1=1
OFF
PON RESET /
USB REQUEST/
PIN RESET
M3
M2
STT(5)=0
STT(5)=1
PDN or PDWN=1
PUP or NLSD=0
STT(5)=1
M1 OFF
S LINE ACTIVATION
NOT POSSIBLE
ACTIVE
INACTIVE S LINE ACTIVATION
POSSIBLE