TOOLSTICK560DC Silicon Laboratories Inc, TOOLSTICK560DC Datasheet - Page 244
![DAUGHTER CARD TOOLSTICK F560](/photos/9/25/92542/toolstick560dc_sml.jpg)
TOOLSTICK560DC
Manufacturer Part Number
TOOLSTICK560DC
Description
DAUGHTER CARD TOOLSTICK F560
Manufacturer
Silicon Laboratories Inc
Series
ToolStickr
Type
MCUr
Specifications of TOOLSTICK560DC
Contents
Daughter Card
Processor To Be Evaluated
C8051F55x, C8051F56x, C8051F57x
Interface Type
USB
Operating Supply Voltage
2.7 V to 3.6 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
C8051F55x, C8051F56x, C8051F57x
For Use With
336-1345 - TOOLSTICK BASE ADAPTER336-1182 - ADAPTER USB DEBUG FOR C8051FXXX
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1719
- Current page: 244 of 302
- Download datasheet (3Mb)
C8051F55x/56x/57x
24.2. SPI0 Master Mode Operation
A SPI master device initiates all data transfers on a SPI bus. SPI0 is placed in master mode by setting the
Master Enable flag (MSTEN, SPI0CN.6). Writing a byte of data to the SPI0 data register (SPI0DAT) when
in master mode writes to the transmit buffer. If the SPI shift register is empty, the byte in the transmit buffer
is moved to the shift register, and a data transfer begins. The SPI0 master immediately shifts out the data
serially on the MOSI line while providing the serial clock on SCK. The SPIF (SPI0CN.7) flag is set to logic
1 at the end of the transfer. If interrupts are enabled, an interrupt request is generated when the SPIF flag
is set. While the SPI0 master transfers data to a slave on the MOSI line, the addressed SPI slave device
simultaneously transfers the contents of its shift register to the SPI master on the MISO line in a full-duplex
operation. Therefore, the SPIF flag serves as both a transmit-complete and receive-data-ready flag. The
data byte received from the slave is transferred MSB-first into the master's shift register. When a byte is
fully shifted into the register, it is moved to the receive buffer where it can be read by the processor by
reading SPI0DAT.
When configured as a master, SPI0 can operate in one of three different modes: multi-master mode, 3-wire
single-master mode, and 4-wire single-master mode. The default, multi-master mode is active when
NSSMD1 (SPI0CN.3) = 0 and NSSMD0 (SPI0CN.2) = 1. In this mode, NSS is an input to the device, and
is used to disable the master SPI0 when another master is accessing the bus. When NSS is pulled low in
this mode, MSTEN (SPI0CN.6) and SPIEN (SPI0CN.0) are set to 0 to disable the SPI master device, and
a Mode Fault is generated (MODF, SPI0CN.5 = 1). Mode Fault will generate an interrupt if enabled. SPI0
must be manually re-enabled in software under these circumstances. In multi-master systems, devices will
typically default to being slave devices while they are not acting as the system master device. In multi-mas-
ter mode, slave devices can be addressed individually (if needed) using general-purpose I/O pins.
Figure 24.2 shows a connection diagram between two master devices in multiple-master mode.
3-wire single-master mode is active when NSSMD1 (SPI0CN.3) = 0 and NSSMD0 (SPI0CN.2) = 0. In this
mode, NSS is not used, and is not mapped to an external port pin through the crossbar. Any slave devices
that must be addressed in this mode should be selected using general-purpose I/O pins. Figure 24.3
shows a connection diagram between a master device in 3-wire master mode and a slave device.
4-wire single-master mode is active when NSSMD1 (SPI0CN.3) = 1. In this mode, NSS is configured as an
output pin, and can be used as a slave-select signal for a single SPI device. In this mode, the output value
of NSS is controlled (in software) with the bit NSSMD0 (SPI0CN.2). Additional slave devices can be
addressed using general-purpose I/O pins. Figure 24.4 shows a connection diagram for a master device in
4-wire master mode and two slave devices.
244
Rev. 1.1
Related parts for TOOLSTICK560DC
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TOOLSTICK-EK](/photos/9/25/92545/toolstick-ek_tmb.jpg)
Part Number:
Description:
KIT TOOL EVAL SYS IN A USB STICK
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICKDA](/photos/8/98/89807/toolstickda_tmb.jpg)
Part Number:
Description:
TOOLSTICK DEBUG ADAPTER
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICKBA](/photos/9/22/92293/toolstickba_tmb.jpg)
Part Number:
Description:
TOOLSTICK BASE ADAPTER
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICK411DC](/photos/28/94/289436/toolstick411dc_tmb.jpg)
Part Number:
Description:
TOOLSTICK DAUGHTER CARD
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICK300DC](/photos/28/94/289432/toolstick300dc_tmb.jpg)
Part Number:
Description:
TOOLSTICK DAUGHTER CARD
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICK311DC](/photos/28/95/289572/toolstick311dc_tmb.jpg)
Part Number:
Description:
TOOLSTICK DAUGHTER CARD
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICK704QPP](/photos/28/93/289323/toolstickpp_tmb.jpg)
Part Number:
Description:
TOOLSTICK PROGRAMMING ADAPTER
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICK381DC](/photos/27/77/277787/c805dk_tmb.jpg)
Part Number:
Description:
TOOLSTICK DAUGHTER CARD
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICKSK](/photos/9/22/92294/toolsticksk__tmb.jpg)
Part Number:
Description:
KIT STARTER TOOLSTICK
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICKUNISK](/photos/9/22/92295/toolstickunisk_tmb.jpg)
Part Number:
Description:
KIT UNIVERSITY TOOLSTICK STARTER
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICK330DC](/photos/9/25/92536/toolstick330dc_tmb.jpg)
Part Number:
Description:
DAUGHTER CARD TOOLSTICK F330
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICKUNIDC](/photos/8/98/89811/toolstickunidc_tmb.jpg)
Part Number:
Description:
CARD DAUGHTER UNIVRSTY TOOLSTICK
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICK582DC](/photos/9/0/90060/toolstick582dc_tmb.jpg)
Part Number:
Description:
DAUGHTER CARD TOOLSTICK F582
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICK502DC](/photos/9/25/92539/toolstick502dc_tmb.jpg)
Part Number:
Description:
DAUGHTER CARD TOOLSTICK F500
Manufacturer:
Silicon Laboratories Inc
Datasheet:
![TOOLSTICK540DC](/photos/9/25/92540/toolstick540dc_tmb.jpg)
Part Number:
Description:
DAUGHTER CARD TOOLSTICK F540
Manufacturer:
Silicon Laboratories Inc
Datasheet: