MICRF610_0608 MICREL [Micrel Semiconductor], MICRF610_0608 Datasheet - Page 9

no-image

MICRF610_0608

Manufacturer Part Number
MICRF610_0608
Description
868-870MHz ISM Band Transceiver Module
Manufacturer
MICREL [Micrel Semiconductor]
Datasheet
How to write:
Refer to the figure in the next section, “Writing to n
registers having incremental addresses”.
Writing to n Registers Having Incremental Addresses
In addition to entering all bytes, it is also possible to enter
a set of n bytes, starting from address i = “A6, A5, … A0”.
Typical example: Clock in a new set of frequency dividers
(i.e. change the RF frequency). “Incremental addresses”.
Registers to be written are located in i, i+1, i+2.
What to write:
In addition, n octets with programming bits are entered.
Totally. 1 +n octets are clocked into the MICRF610.
How to write:
In Figure 1, IO is changed at positive edges of SCLK. The
MICRF610 samples the IO line at negative edges. The
value of the R/W bits is always “0” for writing.
Micrel, Inc.
CS
July 2006
SCLK
IO
Field
Address:
R/W bit:
Values:
Table 5. “Address” and “R/W bit” together make 1 octet.
Figure 2. How to write to many Control Registers
Bring CS high
Use SCLK and IO to clock in the 23 octets
Bring CS low
Bring CS high
Use SCLK and IO to clock in the 1 + n octets
Bring CS low
Comments
7 bit = A6, A5, …A0 (A6 = msb. A0 = lsb) (address of first byte to
write to)
“0” for writing
n* 8 bits =
D7, D6, …D0 (D7 = msb, D0 = lsb) (written to control reg. with
address ”i”)
D7, D6, …D0 (D7 = msb, D0 = lsb) (written to control reg. with
address ”i+1”)
D7, D6, …D0 (D7 = msb, D0 = lsb) (written to control reg. with
address ”i+n-1”)
A6
register to write to,
Address of first
A5
register i
A0
RW
RW
D7
Data to write
into register i
Internal load pulse made here
D6
D2
Data to write
into register i+1
D1
D0
9
Reading from the Control Registers in MICRF610
The “read-sequence” is:
It is possible to read all, 1 or n registers. The address to
read from (or the first address to read from) can be any
valid address (0-22). Reading is not destructive, i.e. values
are not changed. The IO line is output from the MICRF610
(input to user) for a part of the read-sequence. Refer to
procedure description below.
A read-sequence is described for reading n registers,
where n is number 1-23.
Reading n Registers from MICRF610
In Figure 3, 1 register is read. The address is A6, A5, …
A0. A6 = msb. The data read out is D7, D6, …D0. The
value of the R/W bit is always “1” for reading.
SCLK and IO together form a serial interface. SCLK is
applied externally for reading as well as for writing.
IO Input
IO Output
Simple time
1. Enter address and R/W bit
2. Change direction of IO line
3. Read out a number of octets and change IO
Figure 3. How to read from many Control Registers
CS
SCLK
IO
direction back again.
Bring CS active
Enter address to read from (or the first address to
read from) (7 bits) and
The R/W bit = 1 to enable reading
Make the IO line an input to the user (set pin in
tristate)
Read n octets. The first rising edge of SCLK will
set the IO as an output from the MICRF610.
MICRF will change the IO line at positive edges.
The user should read the IO line at the negative
edges.
Make the IO line an output from the user again.
Address of register i
A6
A5
A0
RW D7
RWData read from reg. i
MICRF610/MICRF610Z
D6
M9999-120205
D0

Related parts for MICRF610_0608