DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

CYRF69103(2007) Ver la hoja de datos (PDF) - Cypress Semiconductor

Número de pieza
componentes Descripción
Fabricante
CYRF69103
(Rev.:2007)
Cypress
Cypress Semiconductor Cypress
CYRF69103 Datasheet PDF : 73 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
CYRF69103
Figure 7. 4-Wire SPI Mode
MCU Function
P1.6/MISO
P1.5/MOSI
P1.4/SCK
P1.3/nSS
Radio Function
MOSI
SCK
MISO
nSS
This connection is external to the PRoC LP Chip
SPI Communication and Transactions
The SPI transactions can be single byte or multi-byte. The
MCU function initiates a data transfer through a
Command/Address byte. The following bytes are data bytes.
The SPI transaction format is shown in Figure 8.
The DIR bit specifies the direction of data transfer. 0 = Master
reads from slave. 1 = Master writes to slave.
The INC bit helps to read or write consecutive bytes from
contiguous memory locations in a single burst mode
operation.
If Slave Select is asserted and INC = 1, then the master MCU
function reads a byte from the radio, the address is incre-
mented by a byte location, and then the byte at that location is
read, and so on.
If Slave Select is asserted and INC = 0, then the MCU function
reads/writes the bytes in the same register in burst mode, but
if it is a register file then it reads/writes the bytes in that register
file.
The SPI interface between the radio function and the MCU is
not dependent on the internal 12-MHz oscillator of the radio.
Therefore, radio function registers can be read from or written
into while the radio is in sleep mode.
SPI IO Voltage References
The SPI interfaces between MCU function and the radio and
the IRQ and RST have a separate voltage reference VIO. For
CYRF69103 VIO is normally set to VCC.
SPI Connects to External Devices
The three SPI wires, MOSI, SCK, and SS are also drawn out
of the package as external pins to allow the user to interface
their own external devices (such as optical sensors and
others) through SPI. The radio function also has its own SPI
wires MISO and IRQ, which can be used to send data back to
the MCU function or send an interrupt request to the MCU
function. They can also be configured as GPIO pins.
Bit #
7
6
Bit Name
DIR
INC
Figure 8. SPI Transaction Format
Byte 1
[5:0]
Address
Byte 1+N
[7:0]
Data
CPU Architecture
This family of microcontrollers is based on a high-perfor-
mance, 8-bit, Harvard architecture microprocessor. Five
registers control the primary operation of the CPU core. These
registers are affected by various instructions, but are not
directly accessible through the register space by the user.
Table 2. CPU Registers and Register Name
Register
Flags
Program Counter
Accumulator
Register Name
CPU_F
CPU_PC
CPU_A
Stack Pointer
Index
CPU_SP
CPU_X
The 16-bit Program Counter Register (CPU_PC) allows for
direct addressing of the full eight Kbytes of program memory
space.
The Accumulator Register (CPU_A) is the general-purpose
register that holds the results of instructions that specify any
of the source addressing modes.
The Index Register (CPU_X) holds an offset value that is used
in the indexed addressing modes. Typically, this is used to
address a block of data within the data memory space.
The Stack Pointer Register (CPU_SP) holds the address of the
current top-of-stack in the data memory space. It is affected by
the PUSH, POP, LCALL, CALL, RETI, and RET instructions,
which manage the software stack. It can also be affected by
the SWAP and ADD instructions.
The Flag Register (CPU_F) has three status bits: Zero Flag bit
[1]; Carry Flag bit [2]; Supervisory State bit [3]. The Global
Interrupt Enable bit [0] is used to globally enable or disable
interrupts. The user cannot manipulate the Supervisory State
status bit [3]. The flags are affected by arithmetic, logic, and
shift operations. The manner in which each flag is changed is
dependent upon the instruction being executed (for example,
AND, OR, XOR). See Table 19.
Document #: 001-07611 Rev *B
Page 9 of 73
[+] Feedback

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]