English
Language : 

ATR2732N3 Datasheet, PDF (9/14 Pages) ATMEL Corporation – Integrated DAB One-chip Front End
ATR2732N3
3.14 SPI Bus
The bus interface can be adapted to the signal voltage as a result of the supply voltage of the
external baseband processing unit connected to the bus. This is done with the help of a sensing
pin, VDI, which checks the supply voltage of the processor. The interface adapts itself to any
voltage between 1.65V and 3.5V.
3.14.1
Programming via SPI
Some things need to be taken into account when programming the ATR2732N3 via the SPI
interface: the data packet needs to be properly configured to write into the 14 different registers.
There are 16 registers. Fourteen of them are used to control the ATR2732N3. The two others,
registers 15 and 16, are Test Mode Registers. All these registers need to be reset by writing “0”
to every bit of each register one time, before starting the configuration of the ATR2732N3.
There are 4 address bits (bit 12 is address bit 0; bit 15 is address bit 3) which are used to select
the correct register. These are followed by 12 data bits (LSB is bit 0; MSB is bit 11). There is a
definite transmit order which needs to be considered: the MSB must be transmitted first (bit 15,
address bit 3), and LSB (data bit 0) last.
Unused and test mode register bits may not be documented in the datasheet and have to be set
to “0” in customer applications. Information about the status of the device is available by reading
one word (16 bits) out of the part.
Figure 3-2. Timing Diagram of the SPI Interface (16 Bits per Transfer)
SCK
NSS
MOSI
MISO
MSB
MSB
A3
A2
A1
A0
Adress
LSB
LSB
*
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
Data
SCK
NSS
MOSI
tsud t hda
t cet
t per
t ch
t cl
tcet: Clock enable time
tsud: Data setup time
thda: Hold time of MOSI
tper: Clock period
tch: Clock high time
tcl: Clock low time
Note: It is absolutely necessary to set the NSS signal back to high after every SPI access.
9
9129AS–DAB–04/08