A7130 Data Sheet, 2.4GHz FSK/GFSK Transceiver with 4Mbps data rate
Revision History
Rev. No.HistoryIssue DateRemark
0.0Initial issue.Dec, 2009Objective
0.1Update ch8 and the application circuit.July, 2011Preliminary,
0.2Modify the tape reel information and the add Shenzhen office
address.
0.3Add Ch20 WOR and Ch21 AES128.Aug., 2011Preliminary,
0.4Add section 16.4.3 FIFO extension and Ch21 AES128.
Update sleep cur rent, Xtal start up time and PDL formula, TMOE
timing, WTR Timing, and Ch14.
0.5Remove 3Mbps data rate
Add descriptions for HECF, FECF and CRCF clear method in 9.2.1
July, 2011Preliminary,
Apr., 2012Preliminary,,
Aug.,2012Preliminary
LBA7130
0.6Add suggestion in WOR functionOct. 2012Preliminary
Important Notice:
AMICCOM reserves t he right t o make changes t o its produ cts or to discontinue any integrated circuit product or se rvice
without notice. AMICCOM integrated circuit products are not designed, intended, authorized, or warranted to be suitable for
use in life-support a pplications, de vices o r sys tems or ot her critical ap plications. Use of AM ICCOM products in such
applications is understood to be fully at the risk of the customer.
Oct., 2012, Version 0.6 (PRELIMINARY) 1AMICCOM Electronics Corporation
Page 2
LBA7130
Table of Contents
1. General Description....................................................................................................................................................... 5
7. Absolute Maximum Ratings............................................................................................................................................ 9
9. Control Register ...........................................................................................................................................................12
9.1 Control register table............................................................................................................................................12
9.2 Control register description ..................................................................................................................................15
9.2.2 Mode Control Register (Address: 01h)......................................................................................................15
9.2.3 Calibration Control Register (Address: 02h)..............................................................................................16
9.2.4 FIFO Register I (Address: 03h).................................................................................................................16
9.2.5 FIFO Register II (Address: 04h)................................................................................................................16
9.2.6 FIFO DATA Register (Address: 05h) .........................................................................................................16
9.2.7 ID DATA Register (Address: 06h)................................................................................................................16
9.2.8 RC OSC Register I (Address: 07h) .............................................................................................................17
9.2.9 RC OSC Register II (Address: 08h).............................................................................................................17
9.2.10 RC OSC Register III (Address: 09h)..........................................................................................................17
9.2.11 CKO Pin Control Register (Address: 0Ah) .................................................................................................17
9.2.12 GIO1 Pin Control Register I (Address: 0Bh)...............................................................................................18
9.2.13 GIO2 Pin Control Register II (Address: 0Ch) .............................................................................................20
10.6 ID Accessing Command.....................................................................................................................................46
10.6.1 ID Write Command...................................................................................................................................46
10.6.2 ID Read Command ..................................................................................................................................47
11. State machine.............................................................................................................................................................49
11.3 Direct mode .......................................................................................................................................................51
12.1 Use External Crystal ..........................................................................................................................................54
Oct., 2012, Version 0.6 (PRELIMINARY) 3AMICCOM Electronics Corporation
Page 4
LBA7130
12.2 Use External Clock ............................................................................................................................................54
13. System Clock.............................................................................................................................................................55
13.2 Data Rate Setting ..............................................................................................................................................55
14. Transceiver LO Frequency..........................................................................................................................................56
14.1 LO Frequency Setting........................................................................................................................................56
14.2 IF Side Band Select ...........................................................................................................................................57
14.2.1 Auto IF Exchange.....................................................................................................................................58
14.2.2 Fast Exchange.........................................................................................................................................59
14.3 Auto Frequency Compensation...........................................................................................................................60
16. FIFO (First In First Out)...............................................................................................................................................61
16.1 TX Packet Format in FIFO mode........................................................................................................................61
16.2 Bit Stream Process in FIFO mode.......................................................................................................................62
16.4 Usage of TX and RX FIFO .................................................................................................................................63
17. ADC (Analog to Digital Converter)...............................................................................................................................71
19. Auto-ack and auto-resend...........................................................................................................................................74
19.1 Basic FIFO plus auto-ack auto-resend................................................................................................................74
19.2 Advanced FIFO plus auto-ack and auto-resend...................................................................................................74
19.3 WTR Behavior during auto-ack and auto-resend.................................................................................................76
19.6 Examples of auto-ack and auto-resend...............................................................................................................77
26. Top Marking Information..............................................................................................................................................85
Oct., 2012, Version 0.6 (PRELIMINARY) 4AMICCOM Electronics Corporation
Page 5
LBA7130
1. General Description
A7130 is a high performance and low cost 2.4GHz ISM band wireless transceiver. This device integrates both high sensitivity
receiver (- 88dBm @4Mbps) and programmable power amplifier 5dBm. Based on Data Rate Register (39h), user can
configure on-air data rates to 4Mbps.
A7130 supports fast settling time (90 us) for frequency hopping system. For packet handling, A7130 has b uilt-in separated
64-bytes TX/ RX FIFO (could be logically extended t o 4K b ytes) for da ta buffering and bu rst trans mission, aut o-ack a nd
auto-resend, CRC for error packet filtering, FEC for 1-bit data correction per code word, RSSI for clear channel assessment,
therm al sensor for monitoring relative temperature, WOR (Wake on R X) function to support periodically wake up from sleep
mode to RX mode and listen for incoming packets without MCU interaction, data whitening for data encryption / decryption. In
addition, A7130 ha s bu ilt-in AES128 co -processor (Adva nced Encr yption St andard) for advan ced dat a e ncryption and
decryption which consists of the transformation of a 128-bit block into an encrypted 128-bit block. Those functions are very
easy to use while developing a wireless system. All features are integrated in a small QFN 4X4 20 pins package.
A7130’s control registers ar e a ccessed via 3- wire o r 4-wire S PI interface s uch as TX/RF FIFO, ID r egister, RSSI value,
frequency hopping to chip calibration procedures. Another one, via SPI as well, is the unique Strobe command, A7130 can
be cont rolled f rom power sav ing mode (deep s leep, sleep, idle , standby ), PLL mode, TX mode and R X mode. The o ther
connections between A7130 and MCU are GIO1 and GIO2 (multi-function GPIO) to output A7130’s status so that MCU could
use either polling or int errupt scheme for radio cont rol. Ove rall, this de vice is very easy-to-use for de veloping a w ireless
application with a MCU.
2. Typical Applications
n 2.4GHz video baby monitor
n 2.4GHz PC peripherals
n HiFi quality wireless audio streaming
n 2408 ~ 2468 MHz ISM system
n Wireless metering and building automation
n Wireless toys and game controllers
3. Feature
n Small size (QFN4 X4, 20 pins).
n Frequency band: 2408 ~ 2468MHz.
n FSK or GFSK modulation
n Low current consumption: RX 27mA (4Mbps), TX 29mA (at 5dBm output power).
n Deep sleep current (0.1 uA).
n Sleep current (2.5 uA).
n On chip regulator, support input voltage 2.0 ~ 3.6 V.
n Data rate 4Mbps.
n Programmable TX power level from 5 dBm.
n Ultra High sensitivity:
u -88dBm at 4Mbps on-air data rate.
n Fast settling time (90 us) synthesizer for frequency hopping system.
n On chip low power RC oscillator for WOR (Wake on RX) function.
n Built-in AES128 co-processor
n AGC (Auto Gain Control) for the wide RSSI dynamic range.
n AFC (Auto Frequency Compensation) for frequency drift due to temperature.
n Support low cost crystal (16 / 18 MHz).
n Low Battery Detector indication.
n Easy to use.
u Support 3-wire or 4-wire SPI.
u Unique Strobe command via SPI.
u ONE register setting for new channel frequency.
u CRC Error Packet Filtering.
u Auto-acknowledgement and auto-resend.
u Dynamic FIFO length.
u 8-bits RSSI measurement for clear channel indication.
u Auto Calibrations.
Oct., 2012, Version 0.6 (PRELIMINARY) 5AMICCOM Electronics Corporation
Page 6
u Auto IF function.
u Auto FEC by (7, 4) Hamming code (1 bit error correction / code word).
u Separated 64 bytes RX and TX FIFO.
u Easy FIFO / Segment FIFO / FIFO Extension (up to 4K bytes).
u Support FIFO mode frame sync to MCU.
u Support direct mode with recovery clock output to MCU.
4. Pin Configurations
VDD_A
REGI
CKO
GIO2
LBA7130
GIO1
19
RSSI
BP_BG
RFI
RFO
RFC
20
1
2
3
4
5
6
7
CP
V_VCO
Fig 4-1. A7130 QFN 4x4 Package Top View
17
18
8
9
XI
V_PLL
16
15
14
13
12
11
10
XO
GND
SDIO
VDD_D
SCK
SCS
Oct., 2012, Version 0.6 (PRELIMINARY) 6AMICCOM Electronics Corporation
2BP_BGO Connected to a bypass capacitor for internal Regulator bias point.
3RFII LNA input. Connected to matching circuit.
4RFOO PA input. Connected to matching circuit.
5RFCI RF Choke input. Connected to matching circuit.
6V_VCOI VCO supply voltage input.
7CPO Charge-pump. Connected to loop filter.
8V_PLLI PLL supply voltage input.
9XII Crystal oscillator input.
10XOO Crystal oscillator output.
11SCSI SPI chip select.
12SCKI SPI clock input pin.
13VDD_DI Connected to a bypass capacitor to supply voltage for digital part.
14SDIOI/O SPI read/write data.
15GNDG Ground
16GIO1I/O Multi-function GIO1 / 4-wire SPI data output.
17GIO2I/O Multi-function GIO2 / 4-wire SPI data output.
18CKOO
19REGII Regulator input (External Power Input)
20VDD_AO
Back side plateG
Multi-function clock output.
Internal Regulator output to supply V_VCO (pin 6), V_PLL (pin 8) and RFC (pin 5).
Ground.
Back side plate shall be well-solder to ground; otherwise, it will impact RF performance.
LBA7130
Oct., 2012, Version 0.6 (PRELIMINARY) 7AMICCOM Electronics Corporation
Page 8
6. Chip Block Diagram
LBA7130
Fig 6-1. A7130 Block Diagram
Oct., 2012, Version 0.6 (PRELIMINARY) 8AMICCOM Electronics Corporation
Page 9
LBA7130
7. Absolute Maximum Ratings
ParameterWith respect toRatingUnit
Supply voltage range (VDD)GND-0.3 ~ 3.6V
Digital IO pins rangeGND-0.3 ~ VDD+0.3V
Voltage on the analog pins rangeGND-0.3 ~ 2.1V
Input RF level10dBm
Storage Temperature range-55 ~ 125
HBM ± 2KVESD Rating
MM ± 100V
*Stresses above those listed unde r “Absolute M aximum Rating” may cause permanent damage to the device. These are
stress ratings only; functional operation of the device at these or any other conditions above those indicated in the operational
sections of this specification is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect
device reliability.
*Device is ESD sensitive. Use appropriate ESD precautions. HBM (Human Body Mode) is tested under MIL-STD-883F
Method 3015.7. MM (Machine Mode) is tested under JEDEC EIA/JESD22-A115-A.
*Device is Moisture Sensitivity Level III (MSL 3).
°C
Oct., 2012, Version 0.6 (PRELIMINARY) 9AMICCOM Electronics Corporation
Page 10
8. Electrical Specification
LBA7130
(Ta=25℃, VDD=3.3V, F
=16MHz, with Match circuit and low pass filter, On Chip Regulator = 1.8V, unless otherwis e noted.)
XTAL
ParameterDescriptionMin.TypeMax.Unit
General
Operating Temperature-4085
Supply Voltage (VDD)with internal regulator2.03.33.6V
High Level Input Voltage (VIH)0.8*VDDVDDV
Low Level Input Voltage (VIL)00.2*VDDV
High Level Output Voltage (VOH)@IOH= -0.5mAVDD-0.4VDDV
Low Level Output Voltage (VOL)@IOL= 0.5mA00.4V
7
4
(Sleep to idle).
Co-Channel (C/I0)11dB
±4MHz Adjacent Channel
±8MHz Adjacent Channel
±12MHz Adjacent Channel
±16MHz Adjacent Channel
Image (C/IIM)- 10dB
30MHz~1GHz-57dBm
1GHz~12.75GHz-47
AGC = 0-95-50dBmRSSI Range
AGC = 1-95-20dBm
0dB
- 10dB
- 20dB
- 30dB
0.5ms
ms
Note 1: When digital I/O pins are configured as input, those pins shall NOT be floating but pull either high or low (SCS shall
be pulled high only); otherwise, leakage current will be induced.
Note 2: Xtal settling time is depend on Xtal package type, Xtal ESR and Xtal Cm.
Note 3: Refer to Delay Register I (17h) to set PDL (PLL settling delay).
Note 4: With external RF filter that provides minimum 17dB of attenuation in the band: 30MHz ~ 2GHz and 3GHz ~12.75GHz.
Note 5: Refer to TX Register II (16h) to set FD [7:0].
Note 6: Refer to Delay Register I (17h) to set PDL and TDL.
Note 7: The wanted signal is set above sensitivity level +3dB. The modulation data of wanted signal and interferer
are PN9 and PN15, respectively.
Oct., 2012, Version 0.6 (PRELIMINARY) 11AMICCOM Electronics Corporation
Page 12
LBA7130
9. Control Register
A7130 contains 69 control registers. MCU can access those control registers via 3-wire (SCS, SCK, SDIO) or 4-wire (SCS,
SCK, SDIO, GIO1/GIO2) SPI interface (max. 15 Mbps). Please refer to Chapter 10 for SPI timing. In general, most of control
registers are just need to configure the recommended values based on A7130 reference code.
FEP [11:0]: FIFO End Pointer for TX FIFO and Rx FIFO.
Data Sequence is FEP[7:0] and FEP[15:8].
Please refer to chapter 16 for details.
LENF [11:0]: Received FIFO Length for dynamic FIFO function. (Ready Only)
When EDRL =1, that means dynamic FIFO is enabled, MCU can read LENF [11:0] to know the RX FIFO length of the coming
packet. Please refer to chapter 16 for details.
9.2.5 FIFO Register II (Address: 04h)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
FIFO IIWFPM1FPM0PSA5PSA4PSA3PSA2PSA1PSA0
FPM [1:0]: FIFO Pointer Margin
PSA [5:0]: Used for Segment FIFO.
Refer to chapter 16 for details.
9.2.6 FIFO DATA Register (Address: 05h)
BitR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Name
FIFO [7:0]: TX FIFO / RX FIFO
TX FIFO and RX FIFO share the same address (05h).
TX FIFO and RX FIFO are separated physical 64 Bytes.
Refer to chapter 16 for details.
WTX-FIFO[7:0]
R/WRX-FIFO[7:0]
9.2.7 ID DATA Register (Address: 06h)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
ID DATAR/WID7ID6ID5ID4ID3ID2ID1ID0
ID [7:0]: ID data.
When this address is accessed, ID Data is input or output sequential (ID Byte 0,1, 2 and 3) corresponding to Write or Read.
Oct., 2012, Version 0.6 (PRELIMINARY) 16AMICCOM Electronics Corporation
Page 17
Recommend to set ID Byte 0 = 5xh or Axh.
Refer to section 10.6 for details.
9.2.8 RC OSC Register I (Address: 07h)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
RCOC7RCOC6RCOC5RCOC4RCOC3RCOC2RCOC1RCOC0
RC OSC I
RCOC [7:0]: Reserved for internal usage (read only).
R
WOR_SL7 WOR_SL6 WOR_SL5 WOR_SL4 WOR_SL3 WOR_SL2 WOR_SL1 W OR_SL0
W
9.2.9 RC OSC Register II (Address: 08h)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
RC OSC IIW
WOR_AC [5:0]: 6-bits WOR Active Timer for WOR and TWOR Function
WOR_SL [9:0]: 10-bits WOR Sleep Timer for WOR and TWOR Function.
WOR_SL [9:0] are from address (07h) and (08h),
Active period = (WOR_AC+1) x (1/4092).
Sleep period = (WOR_SL+1) x (1/32) x (1/4092).
Oct., 2012, Version 0.6 (PRELIMINARY) 17AMICCOM Electronics Corporation
Page 18
[0000]: DCK (TX data clock) in TX mode, RCK (RX recovery clock) in RX mode.
[0001]: DCK (TX data clock) in TX mode, RCK (RX recovery clock) in RX mode.
GIO1 Pin Control IWVKMVPMGIO1S3GIO1S2GIO1S1GIO1S0GIO1I GIO1OE
VKM: Valid packet mode select.
[0]: by event. [1]: by pulse.
VPM: Valid Pulse width select.
[0]: 20u. [1]: 40u.
TX Mode (disable auto-resend, EAR=0).
Oct., 2012, Version 0.6 (PRELIMINARY) 18AMICCOM Electronics Corporation
Page 19
RX Mode (disable Auto-ack, EAK =0).
LBA7130
Note1, If auto-resend is enabled (EAR = 1), WTR behavior is different while it is output to GIO1 and GIO2.
Note2, If auto-ack is enabled (EAK = 1), WTR behavior is different while it is output to GIO1 and GIO2.
Note3, VPOAK’s behavior is controlled by VPM (0Bh) and VPW (0Bh).
Refer to chapter 19 for details
GIO1S [3:0]: GIO1 pin function select.
GIO1S [3:0]TX stateRX state
[0000]WTR (Wait until TX or RX finished)
[0001]EOAC (end of access code)FSYNC (frame sync)
If GIO1S = [0100] and RCOSC_E = 0, CWTR is an internal signal to monitor TX/RX cycles of auto-ack and auto-resend.If
GIO1S = [1011] and direct mode is selected, the internal frame sync function will be disabled. In such case, A7130 supports
to accept an external frame sync signal from MCU to feed to GIO1 pi n to determine the timing of fixing DC estimation voltage
of demodulator.
Oct., 2012, Version 0.6 (PRELIMINARY) 21AMICCOM Electronics Corporation
RDBLRRC1RRC0CHR3CHR2CHR1CHR0IP8
WDBLRRC1RRC0CHR3CHR2CHR1CHR0BIP8
= F
.
XTAL
=2 * F
XTAL
.
PFD
= F
*(DBL+1) / (RRC+1).
CRYSTAL
Page 22
CHR [3:0]: PLL channel step setting.
In FIFO mode, recommend to set CHR [3:0] = [0111].
In Direct mode, recommend to set CHR [3:0] = [1111].
Please refer to chapter 14 and A7130 reference code for details.
9.2.17 PLL Register III (Address: 10h)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
PLL III
BIP [8:0]: LO base frequency integer part setting. (0Fh and 10h)
In FIFO mode, recommend to set BIP [8:0] = [0x096].
In Direct mode, recommend to set BIP [8:0] = [0x04B].
Please refer to chapter 14 and A7130 reference code for details.
IP [8:0]: LO frequency integer part value.
IP [8:0] are from address (0Fh) and (10h),
Refer to chapter 14 for details.
RIP7IP6IP5IP4IP3IP2IP1IP0
WBIP7BIP6BIP5BIP4BIP3BIP2BIP1BIP0
9.2.18 PLL Register IV (Address: 11h)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
PLL IV
RRAC15RAC14RAC13RAC12RAC11RAC10RAC9RAC8
WBFP15 BFP14BFP13BFP12 BFP11BFP10BFP9BFP8
LBA7130
9.2.19 PLL Register V (Address: 12h)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
PLL V
BFP [15:0]: LO base frequency fractional part setting. (11h and 12h)
In FIFO mode, recommend to set BFP [15:0] = [0x0004].
In Direct mode, recommend to set BFP [15:0] = [0x0002].
Please refer to chapter 14 and A7130 reference code for details.
RAC [15:0]: Auto Frequency compensation value if AFC (19h) =1.
RAC [15:0]Note
AFC = 1 PLLFF [15:0]LO Freq. compensation value
AFC = 0 {SYNCF, AC [14:0]}
RRAC7RAC6RAC5RAC4RAC3RAC2RAC1RAC0
WBFP7BFP6BFP5BFP4BFP3BFP2BFP1BFP0
9.2.20 Channel Group Register I (Address: 13h)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
CHGIR/W
CHGL [7:0]: PLL channel group low boundary setting for auto-calibration. Recommed CHGL[7:0] = 0x3C.
Refer to A7130 reference code for details.
CHGL7CHGL6CHGL5CHGL4CHGL3CHGL2CHGL1CHGL0
9.2.21 Channel Group Register II (Address: 14h)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
CHGIIR/W
CHGH [7:0]: PLL channel group high boundary setting for auto-calibration. Recommed CHGH[7:0] = 0x78.
Refer to A7130 reference code for details.
CHGH7CHGH6CHGH5CHGH4CHGH3CHGH2CHGH1CHGH0
PLL calibration frequency is divided into 3 groups by CHGL and CHGH:
Channel
Group10 ~ CHGL-1
Group2CHGL ~ CHGH-1
Oct., 2012, Version 0.6 (PRELIMINARY) 22AMICCOM Electronics Corporation
FDP [2:0]: Frequency deviation power setting. Recommend FDP = [110].
In FIFO mode, recommend to set FDP [2:0] = [111].
In Direct mode, recommend to set FDP [2:0] = [110].
Please refer to chapter 14 and A7130 reference code for details.
AVSEL [1:0]: ADC average times (for Carrier / temeperature sensor / external ADC). Recommend AVSEL = [11].
[00]: No average. [01]: Average 2 times. [10]: Average 4 times. [11]: Average 8 times.
MVSEL [1:0]: ADC average times (for VCO calibration and RSSI ). Recommend MVSEL = [11].
[00]: Average 8 times. [01]: Average 16 times. [10]: Average 32 times. [11]: Average 64 times.
RADC: ADC Read Out Average Mode. Recommend RADC = [0].
[0]: by AVSEL.
[1]: by MVSEL.
DEVC [7:0]: VCO Deviation Auto Calibration Value (read only).
R
MVDS DEVM6DEVM5DEVM4DEVM3DEVM2DEVM1DEVM0
W
Oct., 2012, Version 0.6 (PRELIMINARY) 29AMICCOM Electronics Corporation
Page 30
LBA7130
9.2.43 DASP0 (Address: 2Ah, Page 0 by AGT [3:0]=0)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
DASP0WQLIMRFSP
QLIM: quick charge select for IF limiter amp. Recommend QLIM = [0].
[0]: disable. [1]: enable. (QLIM fall down delay 10 us).
RFSP: RF single port Select. Recommend RFSP = [0].
[0]: LNA (RFI) and PA (RFO) are combined internally to RFI pin.
[1]: LNA (RFI) and PA (RFO) are separated to RFI pin and RFO pin.
RF BandTypical power (dBm)PWORS (24h)TBGTXCSPACTypical current (mA)
2.4GHz
Refer to A7130 App. Note for more settings.
5171229
0101020
-5041018
-17001016
9.2.47 Rx DEM test Register I (Address: 2Eh)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Rx DEM test IWDMTDCM1DCM0MLP1MLP0SLF2SLF1SLF0
DMT: Reserved for internal usage only. Shall be set to [0].
DCM [1:0]: Demodulator DC estimation mode. Recommend DCM = [10].
(The average length before hold is selected by DCL in RX DEM Test Register II.)
[00]: Fix mode (For testing only). DC level is set by DCV [7:0].
Oct., 2012, Version 0.6 (PRELIMINARY) 32AMICCOM Electronics Corporation
Page 33
LBA7130
[01]: Preamble hold mode. DC level is preamble average value.
[10]: ID hold mode. DC level is the average value hold about 8 bit data rate later if preamble is detected.
[11]: Payload average mode (For internal usage). DC level is payload data average.
MLP1: Reserved for internal usage. Shall set MLP1 = [0].
MLP0: Reserved for internal usage. Shall set MLP0 = [0].
SLF [2:0]: Symbol Recovery Loop Filter Setting. Shall be SLF[2:0] = [111].
9.2.48 Rx DEM test Register II (Address: 2Fh)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Rx DEM test IIWDCH1DCH0DCL2DCL1DCL0RAWCDTM1CDTM0
DCH [1:0]: DC Estimation of AGC hold mode. Recommend DCH = [11].
[00]: hold when PMDO. [01]: hold when Fsync. [10]: no hold. [11]: no hold.
DCL [2]: DC Estimation Average Length After ID Detected. Recommend DCL[2] = [1].
[0]: 128 bits. [1]: 256 bits.
DCL [1:0]: DC Estimation Average Length Before ID Detected. Recommend DCL[1:0] = [10].
2. SID is auto incremental for every new packet if FCB0 is enabled.
3. FCB0 ~ FCB3 is controlled by FCL[1:0] (3Ah)
4. User can attach wanted ACK information to FCB1 ~ FCB3 if auto-ack is enabled (EAK =1).
Please refer to chapter 16 and 19 for details.
LBA7130
4 bytes
au to
ack/resend
ID codePreamblePayload(CRC)
4 bytes
FCB
1~4 bytes
M A C H e ader (self-generated )PH Y H ead er (self-generated)
dynamic
FIFO
FEP
12 bits
9.2.63 KEYC Register (Address: 3Eh)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
KEYCWKEYOSAFIDSART MSMIDSAESS--AKFSEDCRS
KEYOS: AES128 Key source read select.
[0]: If AKFS=1, from RX received encrypted AES128 key data.
If AKFS=0, from SPI write AES128 key data.
[1]: From encrypted/decrypted AES128 key data.
Please refer to chapter 21 for details.
AFIDS: FIFO ID appendixes Select.
[0]: Disable. [1]: Enable.
ARTMS: auto-resend Interval Mode Select.
[0]: random interval. [1]: fixed interval.
Please refer to chapter 16 and 19 for details.
MIDS: FIFO control byte address mapping for FIFO ID select.
[0]: Received device ID. [1]: internal FIFO control byte ID.
AESS: encryption format selection.
[1]: Standard AES 128 bit. [0]: proprietary 32 bit.
Please refer to chapter 21 for details.
AKFS: Data packet with decrypted key appendixes select.
[0]: Disable. [1]: Enable.
EDRCS: Data encrypt or decrypt select.
[0]: Disable. [1]: Enable.
2 bytesPhy. 64 bytes
9.2.64 USID Register (Address: 3Fh)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
USIDWRND7RND6RND5RND4RND3RND2RND1RND0
RND [7:0]: Random seed for auto-resend interval.
Please refer to chapter 16 and 19 for details.
Oct., 2012, Version 0.6 (PRELIMINARY) 38AMICCOM Electronics Corporation
Page 39
LBA7130
10. SPI
A7130 only supports one SPI interface with maximum data rate up to 15Mbps. MCU should assert SCS pin low (SPI chip
select) to active accessing of A7130. Via SPI interface, user can access control registers and issue Strobe command.
Figure 10.1 gives an overview of SPI access manners.
3-wire SPI (SCS, SCK and SDIO) or 4-wire SPI (SCS, SCK, SDIO and GIO1/GIO2) configuration is provided. For 3-wire SPI,
SDIO pin is configured as bi-direction to be data input and output. For 4-wire SPI, SDIO pin is data input and GIO1 (or GIO2)
pin is data output. In such case, GIO1S (0bh) or GIO2S (0ch) should be set to [0110].
For SPI write operation, SDIO pin is latched into A7130 at the rising edge of SCK. For SPI read operation, if input address is
latched by A7130, data output is aligned at falling edge of SCK. Therefore, MCU can latch data output at the rising edge of
SCK.
To control A7130’s internal state machine, it is very easy to send Strobe command via SPI interface. The Strobe command is
a unique command set with total 8 commands. See section 10.3, 10.4 and 10.5 for details.
SPI chip selectData InData Out
3-Wire SPISCS pin = 0SDIO pin SDIO pin
4-Wire SPISCS pin = 0SDIO pin GIO1 (GIO1S=0110) /
GIO2 (GIO2S=0110)
SCS
Read/Wr ite register
Read/Writ e RF
FIFO
Read/Write ID
register
Sleep Mode
Idle Mode
STBY Mode
PLL Mode
RX Mode
TX Mode
FIFO Write Reset
FIFO Read Reset
ADDR
reg
ADDR
FIFO
ADDR
ID
Strobe
Command
Strobe
Command
Strobe
Command
Strobe
Command
Strobe
Command
Strobe
Command
Strobe
Command
Strobe
Command
Data Byte
DataByte
Data Byte
Sleep Mod e
Idle Mode
STBY Mode
PLL Mode
RX Mode
TX Mode
FIFO Write Reset
FIFO Read Reset
ADDR
0
DataByte1DataByte2Data Byte
0
DataByte
Data ByteDataByte
reg
1
Data Byte
3
ADDR
2
reg
DataByte
3
DataByte
n
Figure 10.1 SPI Access Manners
Oct., 2012, Version 0.6 (PRELIMINARY) 39AMICCOM Electronics Corporation
Page 40
LBA7130
10.1 SPI Format
The first bit (A7) is critical to indicate A7130 the following instruction is “Strobe command” or “control register”. See Table 10.1
for SPI format. Based on Table 10.1, To access control registers, just set A7=0, then A6 bit is used to indicate read (A6=1) or
write operation (A6=0). See Figure 10.2 (3-wire SPI) and Figure 10.3 (4-wire SPI) for details.
[0]: Write data to control register.
[1]: Read data from control register.
Bit [5:0]: Address of control register
Data Byte:
Bit [7:0]: SPI input or output data, see Figure 10.2 and Figure 10.3 for details.
10.2 SPI Timing Characteristic
No matter 3-wire or 4-wire SPI interface is configured, the maximum SPI data rate is 10 Mbps. To active SPI interface, SCS
pin must be set to low. For correct data latching, user has to take care hold time and setup time between SCK and SDIO. See
Table 10.2 for SPI timing characteristic.
ParameterDescriptionMin.Max.Unit
F
C
T
SE
T
HE
T
SW
T
HW
T
DR
FIFO clock frequency.10MHz
Enable setup tim e.50ns
Enable hold time.50ns
TX Data setup time.50ns
TX Data hold time.50ns
RX Data delay time.050ns
Table 10.2 SPI Timing Characteristic
Oct., 2012, Version 0.6 (PRELIMINARY) 40AMICCOM Electronics Corporation
Page 41
10.3 SPI Timing Chart
In this section, 3-wire and 4-wire SPI interface read / write timing are described.
10.3.1 Timing Chart of 3-wire SPI
SCS
SCK
LBA7130
SDIO
SCS
SCK
SDIO
A7DW7A0A1A2A3A4A5A6DW0DW5DW6DW1
RF IC will latch address bit at
rising edge of SCK
A7DR7A0A1A2A3A4A5A6DR0DR5DR6DR1
RF IC will latch address bit at
rising edge of SCK
Figure 10.2 Read/Write Timing Chart of 3-Wire SPI
10.3.2 Timing Chart of 4-wire SPI
SCS
SCK
SDIO
A7DW7A0A1A2A3A4A5A6DW0DW5DW6DW1
RF IC will latch address bit at
rising edge of SCK
RF IC will latch data bit at
the rising edge of SCK
3-Wire serial interface - Write operation
RF IC will change the data
when falling ed ge of SCK
3-Wire serial interface - Read operation
RF IC will latch data bit at rising
edge of SCK
4-Wire serial interface - Writ e operation
MCU can latch data at rising
edge of SCK
SCS
SCK
SDI
GIOx
A7A0A1A2A3A4A5A6
RF IC will latch address bit at
rising edge of SCK
x
RF IC will change the data
when falling edge of SCK
4-Wire serial interface - Read operation
DR7DR1DR0DR5DR6DR2
x
MCU can latch data at the
rising edge of SCK
Figure 10.3 Read/Write Timing Chart of 4-Wire SPI
Oct., 2012, Version 0.6 (PRELIMINARY) 41AMICCOM Electronics Corporation
Page 42
LBA7130
10.4 Strobe Commands
A7130 supports 8 Strobe commands to control internal state machine for chip’s operations. Table 10.3 is the summary of
Strobe commands.
Be notice, Strobe command could be defined by 4-bits (A7~A4) or 8-bits (A7~A0). If 8-bits Strobe command is selected, A3
~ A0 are don’t care conditions. In such case, SCS pin can be remaining low for asserting next commands.
Strobe Command when AFIDS =0 (3Eh) and MIDS =0 (3Eh)
Strobe Command
A7A6A5A4A3A2A1A0
10001000 Deep Sleep mode (I/Os are in tri-state)
10001011 Deep Sleep mode (I/Os are pulled high)
1000xxxx Sleep mode
1001xxxx Idle mode
1010xxxx Standby mode
1011xxxx PLL mode
1100xxxx RX mode
1101xxxx TX mode
1110xxxx FIFO write pointer reset
1111xxxx FIFO read pointer reset
Remark: x means “ don’t care”
Description
Table 10.3 Strobe Commands by SPI interface
10.4.1 Strobe Command - Sleep Mode
Refer to Table 10.3 user can issue 4 bits (1000) Strobe command directly to set A7130 into Sleep mode. Below are the
Strobe command table and timing chart.
Strobe Command
Strobe Command
A7A6A5A4A3A2A1A0
1000xXxx Sleep mode
Figure 10.4 Sleep mode Command Timing Chart
Description
10.4.2 Strobe Command - ldle Mode
Refer to Table 10.3, user can issue 4 bits (1001) Strobe command directly to set A7130 into Idle mode. Below is the Strobe
command table and timing chart.
Oct., 2012, Version 0.6 (PRELIMINARY) 42AMICCOM Electronics Corporation
Page 43
Strobe Command
Strobe Command
A7A6A5A4A3A2A1A0
Description
1001xXxx Idle mode
LBA7130
SCS
SCK
SDIO
A7A4A5A6
Idle mode
SCS
SCK
SDIO
A7A4A5A6
A3A0A1A2
Idle mode
Figure 10.5 Idle mode Command Timing Chart
10.4.3 Strobe Command - Standby Mode
Refer to Table 10.3, user can issue 4 bits (1010) Strobe command directly to set A7130 into Standby mode. Below is the
Strobe command table and timing chart.
Strobe Command
Strobe Command
A7A6A5A4A3A2A1A0
1010xXxx Standby mode
Description
Figure 10.6 Standby mode Command Timing Chart
10.4.4 Strobe Command - PLL Mode
Refer to Table 10.3, user can issue 4 bits (1011) Strobe command directly to set A7130 into PLL mode. Below are the
Strobe command table and timing chart.
Strobe Command
Strobe Command
A7A6A5A4A3A2A1A0
1011xXxx PLL mode
Oct., 2012, Version 0.6 (PRELIMINARY) 43AMICCOM Electronics Corporation
Description
Page 44
LBA7130
Figure 10.7 PLL mode Command Timing Chart
10.4.5 Strobe Command - RX Mode
Refer to Table 10.3, user can issue 4 bits (1100) Strobe command directly to set A7130 into RX mode. Below are the Strobe
command table and timing chart.
Strobe Command
Strobe Command
A7A6A5A4A3A2A1A0
1100xXxx RX mode
Description
Figure 10.8 RX mode Command Timing Chart
10.4.6 Strobe Command - TX Mode
Refer to Table 10.3, user can issue 4 bits (1101) Strobe command directly to set A7130 into TX mode. Below are the Strobe
command table and timing chart.
Strobe Command
Strobe Command
A7A6A5A4A3A2A1A0
1101xxxx TX mode
Figure 10.9 TX mode Command Timing Chart
Description
10.4.7 Strobe Command – FIFO Write Pointer Reset
Oct., 2012, Version 0.6 (PRELIMINARY) 44AMICCOM Electronics Corporation
Page 45
LBA7130
Refer to Table 10.3, user can issue 4 bits (1110) Strobe command directly to reset A7130 FIFO write pointer. Below is the
Refer to Table 10.3, user can issue (8 bits) deep sleep Strobe command directly to switch off power supply to A7130.In this
mode, A7130 is staying minimum current consumption. All registers are no data retention and re-calibration flow is
necessary. Below are the Strobe command table and timing chart.
Strobe Command
Strobe Command
A7A6A5A4A3A2A1A0
10001000 Tri-state of GIO1 / GIO2 (no register retention)
10001011 Internal Pull-High of GIO1 / GIO2 (no register retention)
Oct., 2012, Version 0.6 (PRELIMINARY) 45AMICCOM Electronics Corporation
Description
Page 46
Figure 10.12 Deep Sleep Mode Timing Chart
LBA7130
10.5 Reset Command
In addition to power on reset (POR), MCU could issue software reset to A7130 by setting Mode Register (00h) through SPI
interface as shown below. As long as 8-bits address (A7~A0) are delivered zero and data (D7~D0) are delivered zero, A7130
is informed to generate internal signal “RESETN” to initial itself. After reset command, A7130 is in standby mode and
calibration procedure shall be issued again.
SCS
SCK
SDIO
RESETN
A7DW7A0A1A2A3A4A5A6DW0DW5DW6DW1
Reset RF ch ip
Figure 10.14 Reset Command Timing Chart
10.6 ID Accessing Command
A7130 has built-in 32-bits ID Registers for customized identification code. It is accessed via SPI interface. ID length is
recommended to be 32 bits by setting IDL (1Fh). Therefore, user can toggle SCS pin to high to terminate ID accessing
command when ID data is output completely.
Figure 10.13 and 10.14 are timing charts of 32-bits ID accessing via 3-wire SPI.
10.6.1 ID Write Command
User can refer to Figure 10.2 for SPI write timing chart in details. Below is the procedure of ID write command.
Step1: Deliver A7~A0 = 00000110 (A6=0 for write, A5~A0 = 000110 for ID addr, 06h).
Step2: By SDIO pin, deliver 32-bits ID into A7130 in sequence by Data Byte 0 (recommend 5xh or Axh), 1, 2 and 3.
Step3: Toggle SCS pin to high when step2 is completed.
Oct., 2012, Version 0.6 (PRELIMINARY) 46AMICCOM Electronics Corporation
Page 47
Figure 10.15 ID Write Command Timing Chart
10.6.2 ID Read Command
User can refer to Figure 10.2 for SPI read timing chart in details. Below is the procedure of ID read command.
Step1: Deliver A7~A0 = 01000110 (A6=1 for read, A5~A0 = 000110 for ID addr, 06h).
Step2: SDIO pin outputs 32-bits ID in sequence by Data Byte 0, 1, 2 and 3.
Step3: Toggle SCS pin to high when step2 is completed.
LBA7130
Figure 10.16 ID Read Command Timing Chart
10.7 FIFO Accessing Command
To use A7130’s FIFO mode, enable FMS (01h) =1 via SPI interface. Before TX delivery, just write wanted data into TX FIFO
(05h) then issue TX Strobe command. Similarly, user can read RX FIFO (05h) once payload data is received.
MCU can use polling or interrupt scheme to do FIFO accessing. FIFO status can output to GIO1 (or GIO2) pin by setting
GIO1S (0Bh) or GIO2S (0Ch).
Figure 10.15 and 10.16 are timing charts of FIFO accessing via 3-wire SPI.
10.7.1 TX FIFO Write Command
User can refer to Figure 10.2 for SPI write timing chart in details. Below is the procedure of TX FIFO write command.
Step1: Deliver A7~A0 = 00000101 (A6=0 for write control register and issue FIFO A [5:0] = 05h).
Step2: By SDIO pin, deliver (n+1) bytes TX data into TX FIFO in sequence by Data Byte 0, 1, 2 to n.
Step3: Toggle SCS pin to high when step2 is completed.
Step4: Send Strobe command of TX mode (Figure 10.9) to do TX delivery.
Oct., 2012, Version 0.6 (PRELIMINARY) 47AMICCOM Electronics Corporation
Page 48
LBA7130
Figure 10.17 TX FIFO Write Command Timing Chart
10.7.2 Rx FIFO Read Command
User can refer to Figure 10.2 for SPI read timing chart in details. Below is the procedure of RX FIFO read command.
Step1: Deliver A7~A0 = 01000101 (A6=1 for read control register and issue FIFO at address 05h).
Step2: SDIO pin outputs RX data from RX FIFO in sequence by Data Byte 0, 1, 2 to n.
Step3: Toggle SCS pin to high when RX FIFO is read completely.
Figure 10.18 RX FIFO Read Command Timing Chart
Oct., 2012, Version 0.6 (PRELIMINARY) 48AMICCOM Electronics Corporation
Page 49
11. State machine
SPI
From accessing data point of view, if FMS=1, FIFO mode is enabled, otherwise, A7130 is in direct mode.
SPI
chip select
3-Wire SPI
4-Wire SPI
SCSSCKSDIOSDIOFIFO (FMS=1)
SCSSCKSDIOGIO1 or GIO2FIFO (FMS=1)
From current consumption point of view, A7130 has below 8 operation modes.
After power on reset or software reset or deep sleep m ode, user has to do c alibration process because all control registers
are in initial values. The calibration process of A7130 is very easy, user only needs to issue Strobe commands and enable
calibration registers. And then, the calibrations are automatically completed by A7130’s internal state machine. Table 11.1
shows a summary of key circuitry among those strobe commands.
Strobe Command when AFIDS =0 (3Eh) and MIDS =0 (3Eh)
Strobe Command
A7A6A5A4A3A2A1A0
10001000 Deep Sleep mode (I/Os are in tri-state)
10001011 Deep Sleep mode (I/Os are pulled high)
1000xxxx Sleep mode
1001xxxx Idle mode
1010xxxx Standby mode
1011xxxx PLL mode
1100xxxx RX mode
1101xxxx TX mode
1110xxxx FIFO write pointer reset
1111xxxx FIFO read pointer reset
Mode
Deep Sleep
(Tri-state)
Deep Sleep
(pull-high)
SleepYesONOFFOFFOFFOFFOFF(1000-xxxx)b
IdleYesONOFFOFFOFFOFFOFF(1001-xxxx)b
StandbyYesONONOFFOFFOFFOFF(1010-xxxx)b
PLLYesONONONONOFFOFF(1011-xxxx)b
TXYesONONONONOFFON(1101-xxxx)b
RXYesONONONONONOFF(1100-xxxx)b
Register
retention
No
No
Regulator Xtal Osc.VCOPLLRXTXStrobe Command
OFFOFFOFFOFFOFFOFF(10 00-1000)b
OFFOFFOFFOFFOFFOFF(10 00-1011)b
Remark: x means “don’t care”
Table 11.1. Operation mode and strobe command
Description
Oct., 2012, Version 0.6 (PRELIMINARY) 49AMICCOM Electronics Corporation
Page 50
LBA7130
11.2 FIFO mode
This mode is suitable for the requirements of general purpose applications and can be chosen by setting FMS = 1. After
calibration, user can issue Strobe command to enter standby mode where write TX FIFO or read RX FIFO. From standby
mode to packet data transmission, only one Strobe command is needed. Once transmission is done, A7130 is auto back to
standby mode. Figure 11.1 and Figure 11.2 are TX and RX timing diagram respectively. Figure 11.3 illustrates state diagram
of FIFO mode.
Strobe CMD
(SCS,SCK,SDIO)
RFO Pin
GIO1 Pin - WTR
(GIO1S[3:0]=0000)
(SCS,SCK,SDIO)
GIO1 Pin - WTR
(GIO1S[3:0]=0000)
Strobe CMD
RFI Pin
TX
Strobe
10us +(PDL+TDL)
T0
RX
strobe
RF settling
Preamble + ID Code + Payload
T1
Figure 11.1 TX timing of FIFO Mode
RX set tling
T0
Wait
Packet
T1
T2
Transmitting Time
Preamble + ID Code + Payload
Receiving Time
Next Instruction
T2
Auto Back
Standby Mode
Next Instruction
Auto Back
Standby Mode
T3
Figure 11.2 RX timing of FIFO Mode
Oct., 2012, Version 0.6 (PRELIMINARY) 50AMICCOM Electronics Corporation
Page 51
LBA7130
Figure 11.3 State diagram of FIFO Mode
11.3 Direct mode
This mode is suitable to let MCU to drive customized packet to A7130 directly by setting FMS = 0. In TX mode, MCU shall
send customized packet in bit sequence (simply called raw TXD) to GIO1 or GIO2 pin. In RX mode, the receiving raw bit
streams (simply called RXD) can be configured output to GIO1 or GIO2 pin. Be aware that a customized packet shall be
preceded by a 32 bits preamble to let A7130 get a suitable DC estimation voltage. After calibration flow, for every state
transition, user has to issue Strobe command to A7130 for fully manual control. This mode is also suitable for the requirement
of versatile packet format.
Figure 11.4 and Figure 11.5 are TX and RX timing diagram in direct mode respectively. Figure 14.6 illustr ates state diagram
of direct mode.
Oct., 2012, Version 0.6 (PRELIMINARY) 51AMICCOM Electronics Corporation
Page 52
LBA7130
Strobe CMD
(SCS,SCK,SDIO)
RFO Pin
GIO1 Pin - WTR
(GIO1S[3:0]=0000)
GIO1 Pin - TMEO
(GIO1S[3:0]=0010)
GIO2 Pin - TXD
(GIO2S[3:0]=1001)
Strobe CMD
(SCS,SCK,SDIO)
RFO Pin
GIO1 Pin - WTR
(GIO1S[3:0]=0000)
GIO1 Pin - PMDO
(GIO1S[3:0]=0011)
GIO2 Pin - RXD
(GIO2S[3:0]=1000)
TX
Strobe
RX
Strobe
RF settling
10us+(PDL+TDL)
T0
Carr ier
only
Modulation auto enable
T3
Figure 11.4 TX timing of Direct Mode
RX settling
Wait
packet
Modulated signals
Preamble + customized raw TXD
32-bits
preamble
Coming packet
Preamble + customized raw TXD
Preamble detect output
STB strobe
Manually back
to STB
T4T1
STB strobe
Manually back
to STB
T0
T3
T4T1
Figure 11.5 RX timing of Direct Mode
Oct., 2012, Version 0.6 (PRELIMINARY) 52AMICCOM Electronics Corporation
Page 53
LBA7130
Figure 11.6 State diagram of Direct Mode
Oct., 2012, Version 0.6 (PRELIMINARY) 53AMICCOM Electronics Corporation
Page 54
LBA7130
12. Crystal Oscillator
A7130 needs external crystal or external clock that is either 16 MHz (or 18MHz) to generate internal wanted clock.
Relative Control Register
Clock Register (Address: 0Dh)
NameR/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
ClockW
12.1 Use External Crystal
Figure 12.1 shows the connection of crystal network between XI and XO pins. C1 and C2 capacitance built inside A7130 are
used to adjust different crystal loading. User can set INTXC [4:0] to meet crystal loading requirement. A7130 supports low
cost crystal within ± 50 ppm accuracy. Be aware that crystal accuracy requirement includes initial tolerance, temperature drift,
aging and crystal loading.
CGC1CGC0GRC3GRC2GRC1GRC0
IFS1IFS0GRC3GRC2GRC1GRC0
R
Crystal AccuracyCrystal ESR
±50 ppm≦80 ohm
CGSXS
----
Fig12.1 Crystal oscillator circuit, set INTXC[4:0] for the internal C1 and C2 values.
12.2 Use External Clock
A7130 has built-in AC couple capacitor to support external clock input. Figure 12.2 shows how to connect. In such case, XI pin
is left opened. XS shall be low to select external clock. The frequency accuracy of external clock shall be controlled within ± 50
ppm, and the amplitude of external clock shall be within 1.2 ~ 1.8 V peak-to-peak.
Fig12.2 External clock source. R is used to tune Vpp = 1.2~1.8V
Oct., 2012, Version 0.6 (PRELIMINARY) 54AMICCOM Electronics Corporation
Page 55
LBA7130
13. System Clock
A7130 supports different crystal frequency by programmable “Clock Register”. Based on this, three important internal clocks
F
, FDR and F
CGR
are generated.
SYCK
(1) F
(2) F
(3) F
(4) F
: Crystal frequency.
XTAL
: Crystal Ref. Clock = F
XREF
: Clock Generation Reference = 2MHz = F
CGR
: System Clock is related to FIF and F
SYCK
* (DBL+1).
XREF
(6) FDR: Data Rate Clock = FIF / (SDR+1).
Data RateDBL (0Fh)F
CGR
4Mbps0 (FIFO mode)2MHzF
4Mbps1 (Direct mode)2MHzF
Table 13.1 System clock and related clock sources
XI
XS
CE
CE
DBL
F
XREF
0
X 2
1
XO
F
XTAL
/ (GRC+1).
XREF
DR.
CLK Gen.F
X 3264MHz4MHz4MHz
CGR
X 64128MHz4MHz4MHz
CGR
GRC
÷
(GRC+1)
RDU/CGC
PLL
x64/x32
F
= 2MHz
CGR
Clock Generator
F
PFD
/ (RRC+1)VCO
SYCK
F
IF
1
F
SYCK
CGS
F
CE
auto
scaler
DR
F
IF
/ (SDR+1)
F
DR
0
auto
scaler
/ 2
4MHz
8MHz
0
1
FSARS
F
ADC
Fig13.1 System clock block diagram
13.2 Data Rate Setting
User has to choose 16MHz Xtal (or 18M Hz) for 4Mbps applications. For more data rate options, p lease contact AMICCOM
FAE team.
Data rate 4Mbps
XtalDBL
(0Fh)
16MHz001110100101110x00 FIFO mode
16MHz111110100101110x00 Direct mode
Oct., 2012, Version 0.6 (PRELIMINARY) 55AMICCOM Electronics Corporation
GRC
(0Dh)
RDU
(1Ch)
CGS
(0Dh)
RRC
(0Fh)
CGC
(0Dh)
CGS
(0Dh)
IFS
(1Ch)
SDR [7:0]
(39h)
Note
Page 56
LBA7130
F
F
F
14. Transceiver LO Frequency
A7130 is a half-duplex transceiver with embedded PA and LNA. For TX or RX frequency setting, user just needs to set up LO
(Local Oscillator) frequency for two ways radio transmission.
To target full range of 2.4GHz ISM band (2408 MHz to 2468 MHz), A7130 applies offset concept by LO frequency FLO =
F
setting, PLL Register I (CHN [7:0]).
Below is the LO frequency block di agram.
LO_BASE
+ F
Therefore, this device is easy to implement frequency hopping and multi-channels by just ONE register
OFFSET.
F
XTAL
BIP[8:0] +
BFP [15 :0]/ 2
CHN / [4*(CHR+1)]
/ (RRC[1:0]+1)X (DBL+1)PFD
AC[14:0 ]/ 2
16
F
16
0
LO_BASE
+
F
OFFSET
F
PFD
AFC
1
0
F
LO
+
Divider
Fig14.1 Frequency synthesizer block diagram
14.1 LO Frequency Setting
From Figure 14.1, FLO is not only for TX radio frequency but also to be RX LO frequency. To set up F
steps.
1. Set F
2. Set F
3. Set F
4. The LO frequency, FLO = F
~ 2400.001MHz.
LO_BASE
= 500 KHz.
CHSP
= CHN [7:0] x F
OFFSET
CHSP
LO_BASE
+ F
OFFSET
F
LO
VCO
it is easy by below 4
LO,
LO
LO_BASE
OFFSET
F
LO_BASE
BIPFF
PFDLO_BASE
BFP
]0:8[(
2
]0:15[
DBL
)1()
×+=+×=
RRC
F
XTAL
BFP
BIP
+
1]0:1[
+×
]0:8[(
2
]0:15[
)
1616
Base on the above formula, i.e. 16 MHz, please refer to Table 14.1 and 14.2 as a calculation example to get LO frequency.
DBL = 0 for FIFO mode
STEPITEMSVALUENOTE
1F
XTAL
16 MHzCrystal Frequency
2DBL0Disable double function
Oct., 2012, Version 0.6 (PRELIMINARY) 56AMICCOM Electronics Corporation
Page 57
LBA7130
3RRC0If so, F
4BIP[8:0]0x096To get F
5BFP[15:0]0x0004To get F
6F
LO_BASE
2400.001 MHzLO Base frequency
DBL = 1 for Direct mode
STEPITEMSVALUENOTE
1F
XTAL
16 MHzCrystal Frequency
2DBL1Enable double function
3RRC0If so, F
4BIP[8:0]0x04BTo get F
5BFP[15:0]0x0002To get F
6F
LO_BASE
2400.001 MHzLO Base frequency
Table 14.1 How to set F
How to set F
TXRF
= FLO= F
LO_BA SE
+ F
~ 2405.001 MHz
OFFSET
STEPITEMSVALUENOTE
1F
LO_BASE
2400.001 MHzAfter set up BIP and BFP
[0111]To get F
[1111]To get F
4CHN[7:0]0x0AF
6F
7F
LO
TXRF
2405.001 MHzGet FLO= F
2405.001 MHzF
Table 14.2 How to set F
LO_BASE
OFFSET
TXRF
TXRF
= 16MHz
PFD
=2400 MHz
LO_BASE
~ 2400.001 MHz
LO_BASE
= 16MHz
PFD
=2400 MHz
LO_BASE
~ 2400.001 MHz
LO_BASE
= 500 KHz if DBL =0 for FIFO mode.2CHR[3:0]
CHSP
= 500 KHz if DBL =1 for Direct mode.
CHSP
= 500 KHz * (CHN) = 5MHz
+ F
= F
LO_BASE
LO
OFFSET
For 16MHz crystal, below is the calculation detail for F
F
F
F
CHSP
XTAL
=
(MHz)
PFD
[]
()
CHR
10:34+×
DBL
(0Fh)
(0Fh)
RRC
F
PFD
and F
FPD
CHSP.
(MHz)CHR [3:0]F
(KHz)Note
CHSP
16000160111500Recommend
16100321111500Recommend
14.2 IF Side Band Select
Since A7130 is a low-IF TRX, in RX mode, the F
F
. Therefore, A7130 offers two methods to set up FLO while A7130 is exchanging from TX mode to RX mode.
TXRF
AIF register is used to enable Auto IF function for Auto IF exchange mode. And ULS registers is used for fast exchange mode
because of reduction of PLL settling time.
(1) Auto IF exchange mode
AIF (01h)ULS (19h)
10F
11F
F
RXLO
RXLO
RXLO
(2) Fast exchange mode
AIF (01h)ULS (19h)
00F
01F
F
RXLO
RXLO
RXLO
shall be set to shift a FIF (i.e. FIF = 4MHz @ 4Mbps) regarding to coming
RXLO
FormulaNote
= FLO- F
= FLO+ F
IF
IF
Auto-minus a FIF because ULS = 0
Auto-plus a FIF because ULS = 1
FormulaNote
= F
= F
LO
LO
The coming F
The coming F
TXRF
TXRF
shall be (F
shall be (F
RXLO
RXLO
+ FIF)
- FIF)
Oct., 2012, Version 0.6 (PRELIMINARY) 57AMICCOM Electronics Corporation
Page 58
14.2.1 Auto IF Exchange
F
F
F
F
= FLO=
F
F
F
F
= FLO=
F
F
LBA7130
A7130 supports Auto IF offset function by setting AIF = 1. In such case, F
there is only one carrier frequency (Fcarrier) during communications. Meanwhile, F
between master and slave is the same so that
TXRF
during TRX exchanging is auto shifted
RXLO
FIF. See below Figures and Table 14.3 for details.
Table 14.3 Auto IF exchange mode while TRX exchanging
(MHz)
Oct., 2012, Version 0.6 (PRELIMINARY) 58AMICCOM Electronics Corporation
Page 59
14.2.2 Fast Exchange
F
F
F
F
F
=
FLO=
F
F
=
FLO=
F
LBA7130
Fast exchange can reduce the PLL settling time during TRX exchanging because F
either master or slave side. However, there are two on-air frequency ( F
Carrier (master),FCarrier (slave)
RXLO
and F
are kept to the same FLOin
TXRF
) during communications. In such
case, user has to control ULS =0 in master side and ULS = 1 in slave side for two ways radio. See below Figures and Table 14.4
for details.
Master
AIF=0 and ULS=0, Master is set to up side band.
LO_BASE
F
=5MHz
OFFSET
Slave
AIF=0 and ULS=1, Slave is set to low side band.
Table 14.4 Fast exchange mode while TRX exchanging
(MHz)
(MHz)
Oct., 2012, Version 0.6 (PRELIMINARY) 59AMICCOM Electronics Corporation
Page 60
LBA7130
14.3 Auto Frequency Compensation
The AFC function (Auto Frequency Compensation) supports to use low accuracy crystal (±50 ppm) on A7130 without sensitivity
degradation. The AFC concept is automatically fine tune RX LO frequency (F
compensation value of F
RXLO
.
). User can read AC [14:0] to know the
RXLO
F
XTAL
BIP[8:0] +
BFP [15 :0]/ 2
CHN / [4*(CHR+1)]
F
/ (RRC[1:0]+1)X (DBL+1)PFD
LO_BASE
16
0
AFC
AC[14:0 ]/ 2
16
F
+
F
OFFSET
PFD
1
0
F
LO
+
Divider
VCO
F
LO
Figure 14.3 Block Diagram of enabling AFC function
For AFC procedure, please refer to A7130’s reference code and contact AMICCOM FAE team for details.
15. Calibration
A7130 needs calibration process after deep sleep mode or power on reset or software reset. Below are six calibration items
inside the device.
1. VCO Current Calibration.
2. VCO Bank Calibration.
3. VCO Deviation Calibration.
4. IF Filter Bank Calibration.
5. RSSI Calibration.
6. RC Oscillator Calibration.
15.1 Calibration Procedure
The purpose to execute the above calibration items is to deal with Foundry process deviation. After calibrations, A7130 will be
set to the best working conditions without concerning Foundry process deviation to impact A7130’s RF performance.
In general, user can use A7130’s auto calibration function by just enabling calibration items and checking its calibration flag. For
detailed calibration procedures, please refer to A7130 reference code of initRF() subroutine and A7130_Cal() subroutine.
1. Initialize A7130 by calling the subroutine of initRF().
n Initialize all control registers by calling the subroutine of A7130_Config().
n Execute all calibration items by calling the subroutine of A7130_Cal().
Oct., 2012, Version 0.6 (PRELIMINARY) 60AMICCOM Electronics Corporation
Page 61
LBA7130
16. FIFO (First In First Out)
A7130 has the separated physical 64-bytes TX and RX FIFO inside the device. To use A7130’s FIFO mode, user just needs to
enable FMS =1. For FIFO accessing, TX FIFO (write-only) and RX FIFO (read-only) share the same register address 05h. TX
FIFO represents transmitted payload. On the other hand, RX circuitry synchronizes ID Code and stores received payload into
RX FIFO.
16.1 TX Packet Format in FIFO mode
16.1.1 Basic FIFO mode
If FCL[1:0] = 00 and ENRL = 0, A7130 is formed a Basic FIFO mode which can also support Auto-ack/ Auto-resend function.
There is no MAC header in TX packet format. ID code is a PHY header used to be the frame sync to enable RX FIFO receiving.
Data whitening(optional)
FEC encoded/decoded(optional)
CRC -16 calculation(optional)
ID codePreamblePayload(CRC)
4 bytes
Preamble:
The packet is led by a self-generated preamble which is composed of alternate 0 and 1. If the first bit of ID code is 0, preamble
shall be 0101…0101. In the contrast, if the first bit of ID code is 1, preamble shall be 1010…1010.
Pream ble length is recomm ended to set 4 bytes by PML [1:0] (20h).
ID code:
ID code is recommended to set 4 bytes by IDL[1:0] = [01] and ID Code is stored into ID Data register by sequence ID Byte 0, 1,
2 and 3. If RX circuitry check ID code is correct, payload will be written into RX FIFO. In addition, user can set ID code error
tolerance (0~ 7bit error) by setting ETH [2:0] during ID synchronization check.
Payload:
Payload length is programmable by FEP [11:0]. The physical FIFO depth is 64 bytes. A7130 also supports logical FIFO
extension up to 4K bytes.
4 bytes2 bytesPhy. 64 bytes
ID code
ID Byte 0 ID Byte 1 ID Byte 2 ID Byte 3
Figure 16.1 TX packet format of basic FIFO mode
CRC:
In FIFO mode, if CRC is enabled (CRCS=1), 2-bytes of CRC value is self-generated and attached at the footer of the packet. In
the same way, RX circuitry will check CRC value and show the result to CRC Flag.
16.1.2 Advanced FIFO mode
A7130 supports to self generated MAC header to form an advanced FIFO mode by enabling FCL[1:0], ENRL.. Therefore,
A7130 can support ACK FIFO (FCB1~FCB3) and dynamic FIFO length depending on configurations.
Oct., 2012, Version 0.6 (PRELIMINARY) 61AMICCOM Electronics Corporation
Page 62
LBA7130
4 bytes
au to
ack/resend
ID codePreamblePayload(CRC)
4 bytes
FCB
1~4 bytes
M A C H eade r (self-generated)PH Y H ead er (self-generated)
dynamic
FIFO
FEP
1 2 b its
2 bytesPhy. 64 bytes
Figure 16.2 TX packet format of advanced FIFO mode.
FCB:
If FCL[1:0] ≠00, FCB header is enabled to support ACK FIFO by (FCB1~FCB3). The FCB is frame control byte. FCB0 is NOT
allowed to program but carry a dedicated header (00111b) and SID [2:0] (Serial ID of packet number). FCB1~3 are used for
customized information in FCB field.
FCB
FCB 0FCB 1FCB 2FCB 3
Figure 16.3 FCB (Frame Control Field)
FEP:
If ENRL = 1, A7130 supports dynamic FIFO. FEP [11:0] is self-generated to add into TX packet. In RX side, FEP[11:0] of the
coming TX packet will be detected and stored into LENF [11:0] register.
HEC:
If HECS = 1, A7130 supports to self-generated a HEC byte which is a local CRC-8 of the MAC header. This HEC byte is an
optional feature to calculate CRC result of MAC Header. HEC is located at the end of the MAC header.
Header
CRC
HEC
1 b y te
2 bytesPhy. 64 bytes
4 bytes
MAC
header
ID codePreamblePayload(CRC)
4 bytes
FCB
1~4 bytes
M A C H e ader (self-generated )PH Y H ead er (self-generated)
FEP
12 b its
Figure 16.4 HEC (CRC for MAC Header)
16.2 Bit Stream Process in FIFO mode
A7130 supports 3 optional bit stream process for payload in FIFO mode, they are,
(1) CCITT-16 CRC
(2) (7, 4) Hamming FEC
(3) Data Whitening by XOR PN7 (7-bits Pseudo Random Sequence). The initial seed of PN7 is set by WS [6:0]
CRC (Cyclic Redundancy Check):
1. CRC is enabled by CRCS= 1. TX circuitry calculates the CRC value of payload (preamble and ID code are excluded) and
transmits 2-bytes CRC value after payload.
2. RX circuitry checks CRC value and shows the result to CRCF. If CRCF=0, received payload is correct, else error
occurred.
Oct., 2012, Version 0.6 (PRELIMINARY) 62AMICCOM Electronics Corporation
Page 63
LBA7130
FEC (Forward Error Correction):
1. FEC is enabled by FECS= 1. Payload and CRC value (if CRCS=1) are encoded by (7, 4) Hamming code.
2. Each 4-bits (nibble) of payload is encoded into 7-bits code word and delivered out automatically.
(ex., 64 bytes payload will be encoded to 128 code words, each code word is 7 bits.)
3. RX circuitry decodes received code words automatically. Each code word can correct 1-bit error. Once 1-bit error
occurred, FECF=1 (00h).
Data Whitening:
1. Data whitening is enabled by WHTS= 1. Payload and CRC value (if CRCS=1) or their encoded code words (if FECS=1)
are encrypted by bit XOR operation with PN7. The initial seed of PN7 is set by WS [6:0].
2. RX circuitry decrypts received payload and 2-bytes CRC (if CRCS=1) automatically. Please noted that user shall set the
same WS [6:0] (22h) to TX and RX.
16.3 Transmission Time
Based on CRC and FEC options, the transmission time are different. See table 16.1 for details.
Data Rate = 4 Mbps
Data RatePreamble
(bits)
4Mbps
3232512DisableDisable 576 bit X 0.25 us = 144 us
323251216 bitsDisable 592 bit X 0.25 us = 148 us
3232512Disable512 x 7 / 4 960 bit X 0.25 us = 240 us
323251216 x 7 / 4512 x 7 / 4 988 bit X 0.25 us = 247 us
ID Code
(bits)
Payload
(bits)
Table 16.1 Transmission time
CRC
(bits)
FECTransmission
Time / Packet
16.4 Usage of TX and RX FIFO
In application points of view, A7130 supports 2 options of FIFO arrangement.
(1) Easy FIFO
(2) Segment FIFO
(3) FIFO extension
For FIFO operation, A7130 supports Strobe command to reset TX and RX FIFO pointer as shown below. User can refer to
section 10.5 for details.
Oct., 2012, Version 0.6 (PRELIMINARY) 63AMICCOM Electronics Corporation
Page 64
LBA7130
16.4.1 Easy FIFO
In Easy FIFO mode, max FIFO length is 64 bytes. FIFO length is equal to ( FEP [11:0] +1 ) where FEP [11:0] is max 0x003F.
User just needs to control FEP [11:0] (03h) and disable PSA and FPM as shown below.
TX-FIFO
(byte)
110x0000
880x0700
16160x0F00
32320x1F00
64640x3F00
Table 16.2 Control registers of Easy FIFO
Procedures of TX FIFO Transmitting
1. Initialize all control registers (refer A7130 reference code).
3. MCU monitors WTR signal and then read 64-bytes from RX FIFO.
4. Done.
RX-FIFO
(byte)
FEP[11:0]
(03h)
PSA[5:0]
(04h)
FPM[1:0]
(04h)
Figure 16.5 Easy FIFO
Oct., 2012, Version 0.6 (PRELIMINARY) 64AMICCOM Electronics Corporation
Page 65
LBA7130
16.4.2 Segment FIFO
In Segment FIFO, TX FIFO length is equal to (FEP [11:0] - PSA [5:0]+1). FPM [1:0] should be zero. This function is very
useful for button applications. In such case, each button is used to transmit fixed code (data) every time. During initialization,
each fixed code is written into corresponding segment FIFO once and for all. Then, if button is triggered, MCU just assigns
corresponding segment FIFO (PSA [5:0] and FEP [11:0]) and issues TX strobe command. Table 16.4 explains the details if TX
FIFO is arranged into 8 segments, each TX segment and RX FIFO length are 8 bytes.
3. MCU writes fixed code into corresponding segment FIFO once and for all.
4. To consign Segment 1, set PSA = 0x00 and FEP= 0x0007
To consign Segment 2, set PSA = 0x08 and FEP= 0x000F
To consign Segment 3, set PSA = 0x10 and FEP= 0x0017
To consign Segment 4, set PSA = 0x18 and FEP= 0x001F
To consign Segment 5, set PSA = 0x20 and FEP= 0x0027
To consign Segment 6, set PSA = 0x28 and FEP= 0x002F
To consign Segment 7, set PSA = 0x30 and FEP= 0x0037
To consign Segment 8, set PSA = 0x38 and FEP= 0x003F
5. Issue TX Strobe Command and monitor WTR signal.
6. Done.
Procedures of RX FIFO Reading
1. When RX FIFO is full, WTR (or FSYNC) is used to trigger MCU for RX FIFO reading.
3. MCU monitors WTR signal and then read 8-bytes from RX FIFO.
4. Done.
Oct., 2012, Version 0.6 (PRELIMINARY) 65AMICCOM Electronics Corporation
Page 66
LBA7130
Figure 16.6 Segment FIFO Mode
Oct., 2012, Version 0.6 (PRELIMINARY) 66AMICCOM Electronics Corporation
Page 67
LBA7130
16.4.3 FIFO Extension
A7130 supports FIFO extension up to 4K bytes from the 64 bytes physical TX FIFO and RX FIFO. The FIFO extension length is
configured by (FEP [11:0] +1 and PSA [5:0] =0). FPM [1:0] is used to set the FPF threshold which FPF is FIFO Pointer Flag to
inform MCU the timing of reading RX FIFO and refilling TX FIFO.
Please be notice, SPI speed is important to prevent error operati on (over-write) in FIFO extension mode. We recommend the
min. SPI speed shall be equal or greater than (A70 on-air data rate + 500Kbps).Please refer to A7130’s reference code
(FIFO extension) for details.
For example, if A7130 data rate = 4Mbps and FIFO extension = 256 bytes.
10. FPF triggers MCU to read 2nd 48-bytes RX FIFO.
11. Monitor FPF.
12. FPF triggers MCU to read 3rd 48-bytes RX FIFO.
13. Monitor FPF.
14. FPF triggers MCU to read 4th 48-bytes RX FIFO.
15. Monitor FPF.
16. FPF triggers MCU to read 5th 48-bytes RX FIFO.
17. Monitor WTR falling edge or WTR = low, read the rest 16-bytes RX FIFO
18. D one.
LBA7130
Oct., 2012, Version 0.6 (PRELIMINARY) 69AMICCOM Electronics Corporation
Page 70
LBA7130
Figure 16.8 RX FIFO Extension Mode
Oct., 2012, Version 0.6 (PRELIMINARY) 70AMICCOM Electronics Corporation
Page 71
LBA7130
ERSSM
17. ADC (Analog to Digital Converter)
A7130 has built-in 8-bits ADC for RSSI measurement and internal the rmal sensor by enabling ADCM. User can just use the
recommended va lues of ADC from Tab le 17.1. Please noted tha t ADC clock can be selected by s etting FSARS (4MHz or
8MHz). The ADC converting time is 20 x ADC clock periods.
XADS
(1Fh)
RSS
(1Ch)
ARSSI
(01h)
ADCM
(01h)
(1Ch)
FSARS
(1Fh)
CDM
(1Fh)
Standby ModeRX Mode
0111101Thermal sensorRSSI
Table 17.1 Setting of RSSI measurement
17.1 RSSI Measurement
A7130 supports 8-bits digital RSSI to detect RF signal stre ngth. RSSI value is stored in ADC [7:0] (1Eh ). Fig 17.1 shows a
typical plot of RSSI reading as a function of input power. Be aware RSSI accuracy is about ± 6dBm.
Oct., 2012, Version 0.6 (PRELIMINARY) 71AMICCOM Electronics Corporation
Page 72
Auto RSSI measurement for TX Power of the coming packet:
LBA7130
1. Set wanted F
RXLO
.
2. Set recommend values of Table 17.1.
3. Enable ADCM = 1.
4. Send RX Strobe command.
5. Once frame sync (FSYNC) is detected or exiting RX mode, user can read digital RSSI value from ADC [7:0] for TX power
of the coming packet.
St rob e CMD
(SCS,SCK,SDIO)
RF-IN
GIO1 Pin - WTR
(GPIO1S[3:0]=0000)
GIO2 Pi n - FSYNC
(GPIO2S[3:0]=0001)
RX-Strobe
RX Ready Ti me
T0
T0-T1: Settling Time
T2-T3: Receivi ng Packet
T3 : Exit RX mode automatically in FIFO mode
T3-T4: MCU read RSSI value @ ADC [7:0]
RX Mode
Received Packet
T1
T2
MCU Read ADC[ 7:0]
Read 8- bits RSSI val ue
T3
T4
Figure 17.2 RSSI Measurement of TX RSSI of the coming packet.
Auto RSSI measurement for Background Power:
1. Set wanted F
RXLO
.
2. Set recommend values of Table 17.1.
3. Enable ADCM = 1.
4. Send RX Strobe command.
5. Stay in RX mode at least 140 us and then exiting RX mode. User can read digital RSSI value from ADC [7:0] for the
background power.
Strobe CMD
(SCS, SCK,SDI O)
RFI Pin
GIO1 Pin - WTR
(GPIO1S[3:0]=0000)
GIO2 Pin - FSYNC
(GPIO2S[3:0]=0001)
RX-Str obe
No Packet
Min. 140 us
MCU reads 8-bits RSSI value that is refresh every 40 us
T0
T0-T1: MCU Delay Loop from PLL to RX mode for RSSI measurment
T1 : Auto RSSI Measurment is done by 8-times average.
MCU can read RSSI value from ADC [7:0]
T1
MCU Read ADC[7:0]
Figure 17.3 Measurement of Background RSSI.
Oct., 2012, Version 0.6 (PRELIMINARY) 72AMICCOM Electronics Corporation
Page 73
LBA7130
18. Battery Detect
A7130 has a built-in battery detector to check supply voltage (REGI pin). The detecting range is 2.0V ~ 2.7V into 8 levels.
BD_E: Battery Detect Enable.
[0]: Disable. [1]: Enable. It will be clear after battery detection is triggered.
BDF: Battery detection flag.
[0]: Battery voltage less than threshold. [1]: Battery voltage gr eater than threshold.
Below is the procedure to detect low voltage input (ex. below 2.1V):
1. Set A7130 in standby or PLL mode.
2. Set BVT [2:0] = [001] and enable BD_E = 1.
3. After 5 us, BD_E is auto clear.
4. User can read BDF or output BDF to GIO1 pin or CKO pin.
If REGI pin > 2.1V,
BDF = 1 (battery high). Else, BDF = 0 (battery low).
WLVRRGV1RGV0QDSBVT2BVT1BVT0BD_E
R--RGV1RGV0BDFBVT2BVT1BVT0BD_E
Oct., 2012, Version 0.6 (PRELIMINARY) 73AMICCOM Electronics Corporation
Page 74
LBA7130
19. Auto-ack and auto-resend
A7130 supports auto-resend and auto-ack scheme by enable EAK = 1 (auto-ack) and EAR = 1 (auto-resend). In application
points of view, this feature is also ok to enable together with other feature options like FCB and/or EDRL (dynamic FIFO).
19.1 Basic FIFO plus auto-ack auto-resend
Set EAF = 0, EAK = 1 and EAR = 1 to enable auto-ack and auto-resend. Please refer to the below TX and ACK packet format of
the sender and the receiver site respectively.
19.2 Advanced FIFO plus auto-ack and auto-resend
In addition to set EAF = 0, EAK = 1 and EAR = 1 to enable auto-ack and auto-resend. User can also enable an optional MAC
header (FCB field) in the TX packet together with auto-ack and auto resend scheme. Please refer to the below TX and ACK
packet format of the sender and the receiver site.
Oct., 2012, Version 0.6 (PRELIMINARY) 74AMICCOM Electronics Corporation
Page 75
LBA7130
Oct., 2012, Version 0.6 (PRELIMINARY) 75AMICCOM Electronics Corporation
Page 76
LBA7130
19.3 WTR Behavior during auto-ack and auto-resend
If auto-ack and auto-resend are enabled (EAR = EAK = 1), WTR represents a completed transmission period and CWTR is a
debug signal which represents the cyclic TX period and cyclic RX period. Please refer to the below timing diagrams for details.
The sender site (auto-resend)
The receiver site (auto-ack)
Remark: Refer to 3Bh for ARD[7:0] setting (auto resend delay).
Refer to 3Fh for RND[7:0] setting (random seed for resend interval).
Refer to 3Ah for EAK (enable auto-ack).
Refer to 3Ah for EAR (enable auto-resend).
Refer to 0Bh for VKM and VPM.
Oct., 2012, Version 0.6 (PRELIMINARY) 76AMICCOM Electronics Corporation
Page 77
LBA7130
19.6 Examples of auto-ack and auto-resend
Once EAK and EAR are enabled, below case 1 ~ case 3 illustrate the most common cases as a timing reference (assume ARD
= 800 us) in two ways radio communications.
<Case1> Always success
<Case2> Success in second packet
Oct., 2012, Version 0.6 (PRELIMINARY) 77AMICCOM Electronics Corporation
Page 78
<Case3> always resend failure
LBA7130
Oct., 2012, Version 0.6 (PRELIMINARY) 78AMICCOM Electronics Corporation
Page 79
LBA7130
20. RC Oscillator
A7130 has an internal RC oscillator to supports WOR (Wake On RX) and TWOR (Timer Wake On RX) function. RCOSC_E
(09h) is used to enable RC oscillator. WORE (01h) is used to enable WOR function and TWORE (09h) is used to enable TWOR
function. After done calibrations of RC oscillator, WOR and TWOR function can be operated from -40℃ to 85℃.
ParameterMinMaxUnitNote
Calibrated Freq.3.8K4.2KHz
Sleep period7.828007.68ms[( WOR_SL [9:0] ) +1] x 7.8 ms
RX period0.244ms[( WOR_AC [5:0] ) +1] x 244 us
Operation temperature-4085℃After calibration.
20.1 WOR Function
When WOR is e nabled (WORE = 1 and RCOSC_E =1), A7130 pe riodically wakes up f rom sleep and li sten (auto-enter RX
mode) for incoming packets without MCU interaction. Therefore, A7130 will stay in sleep mode based on WOR_SL timer and
RX mode based on WOR_AC timer unless a packet is received.
The internal RC oscillator used for the WOR function varies with temperature and CMOS process deviation. In order to keep the
frequency as accurate as possible, the RC oscillator shall be calibrated (CALWC=1) whenever possible. After done calibrations,
MCU shall set WORE=1 and issue sleep strobe command to start WOR function. After a period (WOR_SL) in sleep mode, the
device goes to RX mode to check coming packets. And then, A7130 is back to sleep mode for the next WOR cycle. To end up
WOR function, MCU just needs to set WORE = 0. Beware, please turn on MSCRC (21h, CRC data filtering) when CRCS = 1
(20h, CRC select) in WOR function.
Strobe CMD
(SCS,SCK,SDIO)
RF In Pin
GIO1 -- WTR
GIO1S[3:0]=0000
sleep
Start WOR
(sleep strobe )
Sleep
WOR_SL[9:0]
No Command Required
RX
WOT_SL[9:0]
Sleep
Coming
packet
RX
End of WOR
(set WORE = 0)
Strobe
cmd
Oct., 2012, Version 0.6 (PRELIMINARY) 79AMICCOM Electronics Corporation
Page 80
LBA7130
20.2 TWOR Function
The RC oscillator inside A7130 can also be used to supports programmable TWOR (Timer Wake-On, TWORE=1) function
which enables A7130 to output a periodic square wave from GIO1 (or GIO2). The duty cycle of this square wave is set by
WOR_AC (08h) or WOR_SL (08h and 07h) regarding to TSEL (09h). User can use this square wave to wake up MCU or other
purposes.
21. AES128 Security Packet
A7130 has a built-in AES128 co-processor to generate a security packet by a general purpose MCU. In addition to support
128-bits key length (AES128), A7130 also support a proprietary 32-bits key length called AES32.
Software procedure to use AES128.
Step1: Write 16-bytes AES128 key to KEYI [127:0] (36h)
Step2: Set AESS=1 (3Eh) to select standard AES128
Step3. Set AKFS=0 (3Eh) to disable attaching AES128 KEYI [127:0] into the TX packet.
Step4: Set EDCRS=1 (3Eh) to enable AES co-processor.
Step5: Write plain text to TX FIFO
Step6: Issue TX strobe command and then A7130 will execute AES128 encryption and deliver the cipher text without latency.
Step7: In RX side with the same configurations, A7130 will execute AES128 decryption and store plain text back to RX FIFO.
Remark
1. The unit size of AES128 encryption packet is 16-bytes.
2. In TX side, if plain text is not dividable by 16-bytes, i.e. 5-bytes only, the TX packet is complement to be 16-bytes.
3. In RX side, the coming cipher text will be decrypted and restore 5-bytes plain text back to RX FIFO.
Software procedure to use AES32.
Step1: Write 4-bytes AES128 key to KEYI [31:0] (36h)
Step2: Set AESS=0 (3Eh) to select proprietary AES32.
Step3. Set AKFS=0 (3Eh) to not attach AES128 KEYI [31:0] to the wanted TX packet.
Step4: Set EDCRS=1 (3Eh) to enable AES co-processor.
Step5: Write plain text to TX FIFO
Step6: Issue TX strobe command and then A7130 will execute AES32 encryption and deliver the cipher text without latency.
Step7: In RX side with the same configurations, A7130 will execute AES32 decryption and store plain text back to RX FIFO.
Remark
1. The unit size of AES32 encryption packet is 4-bytes.
2. In TX side, if plain text is not dividable by 4-bytes, i.e. 5-bytes only, the TX packet is complement to 8-bytes.
3. In RX side, the coming cipher text will be decrypted and restore 5-bytes plain text back to RX FIFO.
Oct., 2012, Version 0.6 (PRELIMINARY) 80AMICCOM Electronics Corporation
Date:1 2-Jan-2 012She et o f
File:C: \Docu ments and Sett in gs\ac 0086 \桌面\MD7130~2.DDBDrawn By:
2012.01.12
Y2 16MHz
4
1
C34
NC
C20
2.2uF
Y1
12
16MHz
12
Y3
GND
GND
SDIO
SCK
SCS
D
C
3
2
C37
NC
B
A
Remark
1. RF matching to 50Ω.
2. RX and TX signal are separated to RFI pin and RFO pin so that RFSP bit = 1 (DASP0 register = 0x74).
3. Recommend 16MHz crystal with 18 pF Cload.
4. Recommend to let C34 and C37 NC because of enabling on-chip Xtal Capacitors by (INTXC = 1 and CSXTAL = [10100]).
Oct., 2012, Version 0.6 (PRELIMINARY) 82AMICCOM Electronics Corporation
Page 83
23. Abbreviations
ADCAnalog to Digital Converter
AIFAuto IF
FCFrequency Compensation
AGCAutomatic Gain Control
BERBit Error Rate
BWBandwidth
CDCarrier Detect
CHSPChannel Step
CRCCyclic Redundancy Check
DCDirect Current
FECForward Error Correction
FIFOFirst in First out
FSKFrequency Shift Keying
IDIdentifier
IFInterm ediate Frequency
ISMIndustrial, Scientific and Medical
LOLocal Oscillator
MCUMicro Controller Unit
PFDPhase Frequency Detector for PLL
PLLPhase Lock Loop
PORPower on Reset
RXReceiver
RXLOReceiver Local Oscillator
RSSIReceived Signal Strength Indicator
SPISerial to Parallel Interface
SYCKSystem Clock for digital circuit
TXTransmitter
TXRFTransmitter Radio Frequency
VCOVoltage Controlled Oscillator
XOSCCrystal Oscillator
XREFCrystal Reference frequency
XTALCrystal
LBA7130
24. Ordering Information
Part No.PackageUnits Per Reel / Tray
A71C30AQFI/Q
A71C30AQFI
A71C30AH
Oct., 2012, Version 0.6 (PRELIMINARY) 83AMICCOM Electronics Corporation
QFN20L, Pb Free, Tape & Reel, -40℃〜85℃
QFN20L, Pb Free, Tray, -40℃〜85℃
Die form, -40℃〜85℃
3K
490EA
100EA
Page 84
25. Package Information
QFN 20L (4 X 4 X 0.8mm) Outline Dimensions
TOP VIEWBOTTOM VIEW
LBA7130
10
6
0.25 C
10
E2
e
6
0.10//C
A
y C
A3
Dimensions in mm
MaxMinNomMax
1115
51
D
15
16
E
20
15
0.25 C
A1
Seating Plane
Symbol
11
C
Dimensions in inches
MinNom
D2
L
16
20
e
b
C0.10MA B
A0.0280.0300.0320.700.750.80
A10.0000.0010.0020.000.020.05
A30.008 REF0.203 REF
b0.0070.0100.0120.180.250.30
D0.1540.1580.1613.904.004.10
D20.0750.0790.0831.902.002.10
E0.1540.1580.1613.904.004.10
E20.0750.0790.0831.902.002.10
e
0.020 BSC0.50 BSC
L0.0120.0160.0200.300.400.50
y0.0030.08
Oct., 2012, Version 0.6 (PRELIMINARY) 84AMICCOM Electronics Corporation
Page 85
26. Top Marking Information
A : 0.55
v
A71C30AQFI
¡ Part No. :A71C30AQFI
¡ Pin Count : 20
¡ Package Type : QFN
¡ Dimension :4*4 mm
¡ Mark Method : Laser Mark
¡ Character Type : Arial
LBA7130
J
K
N
F
CHARACTER SIZE : (Unit in mm)
B : 0.36
C1 : 0.25 C2 : 0.3
C3 : 0.2
D : 0.03
Y
N
D
Y
C1
70
N
N
WXW
B
N
N
A
I
Y
X
N N N N N
N
Y W
N
N
W
C2
C3
N
L
G
:DATECODE
: PKG HOUSE
N
N N
: LOT NO.
(max. 9 characters)
F=G
I=J
K=L
0.8
0.6
Oct., 2012, Version 0.6 (PRELIMINARY) 85AMICCOM Electronics Corporation
0.6
5
70
1.6
0
Page 86
27. Reflow Profile
LBA7130
Actual Measurement Graph
Oct., 2012, Version 0.6 (PRELIMINARY) 86AMICCOM Electronics Corporation
Oct., 2012, Version 0.6 (PRELIMINARY) 87AMICCOM Electronics Corporation
Page 88
REEL DIMENSIONS
UNIT IN mm
TYPEGNTMDKLR
20 QFN(4X4)
24 QFN(4X4)
32 QFN(5X5)
DFN-10
12.8+0.6/-0.4
100
REF
18.2(MAX) 1.75±0.25 13.0+0.5/-0.2 2.0±0.5
330+
0.00/-1.0
LBA7130
20.2
48 QFN(7X7)
28 SSOP (150mil)
20 SSOP
24 SSOP
LR
16.8+0.6/-0.4
20.4+0.6/-0.4
16.4+2.0/-0.0
100
REF
100
REF
100
REF
22.2(MAX) 1.75±0.25 13.0+0.5/-0.2 2.0±0.5
25(MAX) 1.75±0.25 13.0+0.5/-0.2 2.0±0.5
22.4(MAX)
1.75±0.25 13.0+0.2/-0.2 1.9±0.4
D
330+
0.00/-1.0
330+
0.00/-1.0
330+
0.00/-1.0
T
20.2
20.2
20.2
N
M
K
Oct., 2012, Version 0.6 (PRELIMINARY) 88AMICCOM Electronics Corporation
G
Page 89
RF ICs
AMICCOM
29. Product Status
Data Sheet IdentificationProduct StatusDefinition
ObjectivePlanned or Under DevelopmentThis data sheet contains the design specifications
for product development. Specifications may
change in any manner without notice.
LBA7130
PreliminaryEngineering Samples
and First Production
No IdentificationNoted Full ProductionThis data sheet contains the final specifications.
ObsoleteNot In ProductionThis data sheet contains specifications on a
This data sheet contains preliminary data, and
supplementary data will be published at a later
date. AMICCOM reserves the right to make
changes at any time without notice in order to
improve design and supply the best possible
product.
AMICCOM reserves the right to make changes at
any time without notice in order to improve design
and supply the best possible product.
product that has been discontinued by AMICCOM.
The data sheet is printed for reference inform ation
only.
Oct., 2012, Version 0.6 (PRELIMINARY) 89AMICCOM Electronics Corporation
Rm., 2003, DongFeng Building, No. 2010,
Shennan Zhonglu Rd., Futian Dist., Shenzhen, China
Post code: 518031
Web Site
http://www.amiccom.com.tw
Page 90
Modular Approal:
The LBA 7130RF module is designed to comply with the FCC statement. FCC ID is OIE51402TR.
The host system using LBA 7130RF, should have label indicated FCC ID: OIE51402TR.
This radio module must not installed to co-locate and operating
Simultaneously with other radios in host system, additional testing
and equipment authorization may be required to operating simultaneously with other radio
FCC Statement:
1. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two
conditions:
(1)This device may not cause harmful interference, and
(2)This device must accept any interference received, including interference that may cause
undesired operation.
2. Changes or modifications not expressly approved by the party responsible for compliance
could void the user’s authority to operate the equipment.
Loading...
+ 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.