Module Descriptions
MOTOROLA
Bluetooth Accelerator (BTA)
16-15
The BTA supports 16-bit SPI reads from and writes to the radio. The MC13180 radio registers are
accessed via register addresses. The BTA uses “burst” writes to the MC13180 radio by requiring that only
the first of up to four consecutive register addresses be specified.
Data is written to the MC13180 radio as follows:
1. Write up to four 16-bit words to the SPI_WORD0 through SPI_WORD3 registers. The data
is automatically buffered by the BTA and is not written to the radio until the address is
specified in step 2.
2. Write the address of the first register to the SPI_WRITE_ADDR register. Once the address
has been written, the BTA writes the buffered data word(s) to the MC13180 radio one word
at a time. The radio increments the address of the radio register by one after each write.
The mapping of the data written to the SPI_WORD0 through SPI_WORD3 registers in the programming
sequence illustrated in Figure 16-5.
Figure 16-5. Programming Interfaces for the MC13180 Radio
Data is read from the MC13180 radio as follows:
1. Write the address of the first MC13180 register to be read to the SPI_READ_ADDR register.
Once the address has been written, the BTA retrieves data words from the MC13180 radio.
2. Read a 16 bit words from the SPI_WORD0 register.
The software must poll for the
DONE
flag in the SPI_STATUS register before reading or writing new data
from or to the SPI.
Writing to the SPI_READ_ADDR or SPI_WRITE_ADDR register overrides any previous SPI address
maintained in that register by the Bluetooth core.
The timing of the MC13180 radio is shown in Figure 16-6 on page 16-16.
WRITE
SPI_W_Addr
don’t care
7
r/w
Address (Bits 6-0)
SPI_0
Word 0 (Bits 15-0)
SPI_1
Word 1 (Bits 15-0)
READ
SPI_R_Addr
don’t care
7
r/w
Address (Bits 6-0)
SPI_0
Word 0 (Bits 15-0)
Low indicates write
Address
Word 0
Word 1
SPI_Data
_In
SPI_Clk
SPI_EN
High indicates read
Address
Tri-Stated
SPI_Data
_In
SPI_Clk
SPI_EN
SPI_Data
_Out
Tri-
Stated
Tri-
Stated
Word 0
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...