beautypg.com

2 spi bus, 3 gpio port, 4 pcm codec interface – Rainbow Electronics DAB-WLS-C21 (BlueTooth) User Manual

Page 10: 1 compatible codec chips

background image

www.EZURiO.com

DSH_BTM402_0v9 BISM2 PA Data Sheet.DOC

© 2007 EZURiO Ltd

10

The module communicates with the customer application using the following signals:

Port /TXD of the application sends data to the module’s UART_RX signal line

Port /RXD of the application receives data from the module’s UART_TX signal line

Serial Module

UART Interface

UART_TX

UART_RX

UART_CTS

UART_RTS

UART_DSR

UART_DTR

UART_RI

UART_DCD

/RXD

/TXD

/RTS

/CTS

/DTR

/DSR

/RING

/DCD

RS232 I

n

te

rfac

e

Note that the serial module output is at 3.3V CMOS logic levels. Level conversion must be added to

interface with an RS-232 level compliant interface.

6.1.2

SPI bus

The Module is a slave device that uses terminals SPI_MOSI, SPI_MISO, SPI_CLK and SPI_CSB. This

interface is used for program firmware updates at the factory.

EZURiO supply a PC based utility to allow firmware upgrade over the UART port. It is highly

recommended that customers should use this method for updating firmware.

Note: The designer should be aware that no security protection is built into the hardware or firmware

associated with this port, so the terminals should not be permanently connected in a PC application.

6.1.3

GPIO Port

Seven lines of programmable bi-directional input/outputs (I/O) are provided that can be accessed

either via the UART port, or Over The Air (OTA) from a second Bluetooth unit. These can be used as

data inputs or to control external equipment. By using these in OTA mode, a BISM module can be

used for control and data acquisition without the need for any additional host processor.

Each of the GPIO[3:9] ports can be independently configured to be either an Input or Output. A

selection of ports can be accessed synchronously.

The ports are powered from V

CC

. The mode of these lines can be configured and the lines are

accessed via S Registers 623 to 629.

Low latency I/O can be accessed by using EZURiO’s I/O via an enhanced inquiry process.

6.1.4

PCM CODEC Interface

PCM_OUT, PCM_IN, PCM_CLK and PCM_SYNC carry up to three bi-directional channels of voice data,

each at 8ksamples/s. The format of the PCM samples can be 8-bit A-law, 8-bit μ-law, 13-bit linear or

16-bit linear. The PCM_CLK and PCM_SYNC terminals can be configured as inputs or outputs,

depending on whether the module is the Master or Slave of the PCM interface. Please contact an

EZURiO FAE for further details.

The Module is compatible with the Motorola SSI TM interface and interfaces directly to PCM audio

devices including the following:

6.1.4.1

Compatible Codec Chips

OKI 7702 single channel A-law and μ-law CODEC

Application