ST7263BK4 STMicroelectronics, ST7263BK4 Datasheet - Page 104

no-image

ST7263BK4

Manufacturer Part Number
ST7263BK4
Description
LOW SPEED USB 8-BIT MCU FAMILY WITH UP TO 32K FLASH/ROM, DFU CAPABILITY, 8-BIT ADC, WDG, TIMER, SCI and I2C
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST7263BK4

4, 8, 16 Or 32 Kbytes Program Memory
high density Flash (HDFlash), FastROM or ROM with Read-Out and Write protection

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST7263BK4MG
Manufacturer:
ST
0
On-chip peripherals
Note:
104/186
Endpoint n register A (EPnRA)
These registers (EP0RA, EP1RA and EP2RA) are used for controlling data transmission.
They are also reset by the USB bus reset.
Endpoint 2 and the EP2RA register are not available on some devices (see device feature
list and register map).
Reset value: 0000 xxxx (0xh)
Table 34.
OUT
ST_
7
STAT_TX1
0
0
1
1
[5:4] STAT_TX[1:0] Status bits, for transmission transfers.
[3:0] TBC[3:0] Transmit byte count for Endpoint n.
STAT_TX bit definition
7 ST_OUT Status out.
6 DTOG_TX Data Toggle, for transmission transfers.
DTOG
_TX
This bit is set by software to indicate that a status out packet is expected: in this
case, all nonzero OUT data transfers on the endpoint are STALLed instead of being
ACKed. When ST_OUT is reset, OUT transactions can have any number of bytes,
as needed.
It contains the required value of the toggle bit (0=DATA0, 1=DATA1) for the next
transmitted data packet. This bit is set by hardware at the reception of a SETUP
PID. DTOG_TX toggles only when the transmitter has received the ACK signal from
the USB host. DTOG_TX and also DTOG_RX (see EPnRB) are normally updated
by hardware, at the receipt of a relevant PID. They can be also written by software.
These bits contain the information about the endpoint status, which are listed in
Table
These bits are written by software. Hardware sets the STAT_TX bits to NAK when a
correct transfer has occurred (CTR=1) related to a IN or SETUP transaction
addressed to this endpoint; this allows the software to prepare the next set of data
to be transmitted.
Before transmission, after filling the transmit buffer, software must write in the TBC
field the transmit packet size expressed in bytes (in the range 0-8).
Caution: Any value outside the range 0-8 willinduce undesired effects (such as
34.
STAT_TX0
continuous data transmission).
STAT
_TX1
0
1
0
1
Doc ID 7516 Rev 8
_TX0
STAT
DISABLED: transmission transfers cannot be
executed.
STALL: the endpoint is stalled and all transmission
requests result in a STALL handshake.
NAK: the endpoint is naked and all transmission
requests result in a NAK handshake.
VALID: this endpoint is enabled for transmission.
Read.write
TBC3
Meaning
TBC2
TBC1
ST7263Bxx
TBC0
0

Related parts for ST7263BK4