The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
2
RDA1846
15. TX and RX code..................................................................................................... 16
Change List ........................................................................................................................................................ 25
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
3
RDA1846
Document overview
This programming guide has been restructured from previous revisions for clarity. This contains two
documents for interface and programmer separately. Interface document contains I2C interface, 3 wire SPI
interface and 4 wire SPI interface .Programmer document contains a complete programming guide for using
any interface.
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
4
RDA1846
Doc. A: Interface
RDA1846 each register write is 24-bit long, including a r/wbit,7-bit register address , and 16-bit data (MSB is
the first bit).
R/W A
Note
If register address is more than 7FH, first write 0x0001 to 7FH, and then write value to the address
RDA1846 enable software programming through I2C interface. Software controls chip working states, such as
Txon or Rxon operation, and reads status register to get operation result through I2C interface.
It includes two pins: SCLK and SDIO.
A I2C interface transfer begins with START condition, a command byte and data bytes, each byte has a
followed ACK (or NACK) bit, and ends with STOP condition. The command byte includes a 7-bit chip
address and a r/
low.The ACK ( or NACK) is always sent out by receiver. When in write transfer, data bytes is written out
from MCU, and when in read transfer, data bytes is read out from RDA1846.
w bit. The 7-bit chip address is 7’b0101110 when SEN is high, or is 7’1110001 when SEN is
Figure 1. I2C Interface Write Timing Diagram
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
5
RDA1846
Figure 2. I2C Interface Read Timing Diagram
Figure 3 I2C Interface Write Combined Format
Figure 4 I2C Interface Read Combined Format
Table 2. I2C Timing Characteristics
PARAMETER SYMBOLTEST CONDITIONMIN TYP MAX UNIT
SCLK Frequency
SCLK High Time
SCLK Low Time
Setup Time for START Condition
Hold Time for START Condition
Setup Time for STOP Condition
SDIO Input to SCLK↑ Setup t
SDIO Input to SCLK↓ Hold t
STOP to START Time
SDIO Output Fall Time
SDIO Input, SCLK Rise/Fall Time
Input Spike Suppression
SCLK, SDIO Capacitive Loading
Digital Input Pin Capacitance
f
scl
t
high
t
low
t
su:sta
t
hd:sta
t
su:sto
su:dat
hd:dat
t
buf
t
f:out
t
r:in / tf:in
tsp
Cb
0 - 400 KHz
0.6 - -
1.3 - -
0.6 - -
0.6 - -
0.6 - -
100 - - ns
0 - 900 ns
1.3 - -
20+0.1C
20+0.1C
- - 50 ns
- - 50 pF
5 pF
- 250 ns
b
- 300 ns
b
s
s
s
s
s
s
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
6
RDA1846
2 Three- wire SPI interface
RDA1846 enable software programming through three-wire(SPI) interface. Software controls chip working
states, such as Txon or Rxon operation, and reads status register to get operation result through three-wire
interface.
Three-wire i
nterface is slave interface. It includes three pins:
SEN, SCLK and SDIO. SEN and SCLK are
input pins , SDIO are bi-direction pins.
RDA1846 samples command byte and data at posedge of SCLK.The turn around cycle between command byte
from MCU and data from RDA1846 is a half cycle. RDA1846 samples command byte at posedge of SCLK,
and output data also at posedge of SCLK.
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
7
T able 2. Three-wire Timing Characteristics
PARAMETER SYMBOLTEST CONDITIONMIN TYP MAX UNIT
SCLK Cycle Time
SCLK Rise Time
SCLK Fall Time
SCLK High Time
SCLK Low Time
SDIO Input, SEN to SCLK↑ Setup t
SDIO Input, to SCLK↑ Hold t
SCLK↑ to SDIO Output Valid t
SEN↑ to SDIO Output High Z t
Digital Input Pin Capacitance
t
tLO
CLK
tR
tF
tHI
s
h
cdv
sdz
RDA1846
35 ns
50 ns
50 ns
10 ns
10 ns
10 - - ns
10 - - ns
Read 2 - 10 ns
Read 2 - 10 ns
5 pF
3. Four- wire SPI interface
RDA1846 enable software programming through four-wire(SPI) interface. Software controls chip working
states, such as Txon or Rxon operation, and reads status register to get operation result through four-wire
interface.
Four-wire interface is slave interface. It includes four pins:
SDI are input pins , SDO are bi-direction pins.
SEN, SCLK , SDI and SDO. SEN ,SCLK and
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
The information contained herein is the exclusive property of RDA and shall not be distributed, reproduced, or disclosed in whole or in
part without prior written permission of RDA.
9
Loading...
+ 18 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.