C8051F302 Silicon Laboratories Inc, C8051F302 Datasheet - Page 118

IC 8051 MCU 8K FLASH 11MLP

C8051F302

Manufacturer Part Number
C8051F302
Description
IC 8051 MCU 8K FLASH 11MLP
Manufacturer
Silicon Laboratories Inc
Series
C8051F30xr
Datasheets

Specifications of C8051F302

Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
SMBus (2-Wire/I²C), UART/USART
Peripherals
POR, PWM, Temp Sensor, WDT
Number Of I /o
8
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 8x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
11-VQFN
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C, SMBus, UART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
8
Number Of Timers
16 bit
Operating Supply Voltage
2.7 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Lead Free Status / Rohs Status
No

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F302-GMR
Manufacturer:
SiliconL
Quantity:
3 000
Part Number:
C8051F302-GMR
Manufacturer:
SILICON
Quantity:
5 000
Part Number:
C8051F302-GMR
Manufacturer:
SILICONLABS/芯科
Quantity:
20 000
C8051F300/1/2/3/4/5
13.5.4. Slave Transmitter Mode
Serial data is transmitted on SDA and the clock is received on SCL. When slave events are enabled (INH = 0), the
interface enters Slave Receiver Mode (to receive the slave address) when a START followed by a slave address and
direction bit (READ in this case) is received. Software responds to the received slave address with an ACK, or
ignores the received slave address with a NACK. If the received address is ignored, slave interrupts will be inhibited
until the next START is detected. If the received slave address is acknowledged, software should write data to
SMB0DAT to force the SMBus into Slave Transmitter Mode. The switch from Slave Receiver to Slave Transmitter
requires software management. Software should perform the steps outlined below only when a valid slave address is
received (indicated by the label “RX-to-TX Steps” in Figure 13.11).
The interface enters Slave Transmitter Mode and transmits one or more bytes of data (the above steps are only
required before the first byte of the transfer). After each byte is transmitted, the master sends an acknowledge bit; if
the acknowledge bit is an ACK, SMB0DAT should be written with the next data byte. If the acknowledge bit is a
NACK, SMB0DAT should not be written to before SI is cleared (Note: an error condition may be generated if
SMB0DAT is written following a received NACK while in Slave Transmitter Mode). The interface exits Slave Trans-
mitter Mode after receiving a STOP. Note that the interface will switch to Slave Receiver Mode if SMB0DAT is not
written following a Slave Transmitter interrupt. Figure 13.11 shows a typical Slave Transmitter sequence. Two trans-
mitted data bytes are shown, though any number of bytes may be transmitted. Notice that the ‘data byte transferred’
interrupts occur after the ACK cycle in this mode.
118
Step 1. Set ACK to ‘1’.
Step 2. Write outgoing data to SMB0DAT.
Step 3. Check SMB0DAT.7; if ‘1’, do not perform steps 4, 6 or 7.
Step 4. Set STO to ‘1’.
Step 5. Clear SI to ‘0’.
Step 6. Poll for TXMODE => ‘1’.
Step 7. Clear STO to ‘0’ (must be done before the next ACK cycle).
S
Received by SMBus
Interface
Transmitted by
SMBus Interface
SLA
Figure 13.11. Typical Slave Transmitter Sequence
Interrupt
Perform RX-to-TX
Steps Here
R
A
Data Byte
Rev. 2.3
Interrupt
A
S = START
P = STOP
N = NACK
W = WRITE
SLA = Slave Address
Data Byte
Interrupt
N
Interrupt
P

Related parts for C8051F302