Oki BISM2 manual SPI bus, Gpio Port, PCM Codec Interface, 5 ADC, 6 LED

Page 12

www.ezurio.com

6.1.2SPI 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.3GPIO Port

Eight 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[1:8] ports can be independently configured to be either an Input or Output. A selection of ports can be accessed synchronously.

GPIO 1 and 2 can be configured as event counters.

The ports are powered from VCC. The mode of these lines can be configured and the lines are accessed via S Registers 621 to 628.

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

6.1.4PCM 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.1Compatible Codec Chips

Winbond W61360 13-bit linear CODEC (Motorola MC145483 compatible)

OKI MSM7702 single channel A-law and µ-law CODEC

OKI MSM7705 four channel A-law and µ-law CODEC

The default codec support is for the Winbond W61360

Codec development boards that mate with the EZURiO Wireless Developers Kit are available for each of the three codecs listed above.

6.1.5ADC

The BISM2 provides access to two 8-bit ADCs. These provide an input range of 0mV to 1,800mV, which can be read using the S registers 701 and 702.

Suitable external scaling and over-voltage protection should be incorporated in your design. The module provides 5 samples per second at the UART with a baud rate of 115200 or above.

Low latency access of the upper 6 bits of the ADCs can be obtained by using Ezurio’s I/O via an enhanced inquiry process.

6.1.6LED

A single LED provides information on the status of the module. It is controlled by a S register to display the status of various parameters and is useful for debug and test.

Image 12
Contents General Description ApplicationsFeatures GpioFunctional Block Diagram Connection DiagramPin Descriptions Electrical Specifications Power SupplyAbsolute Maximum ratings Recommended Operating ParametersSPI Bus UartdtrSpimosi SpimisoPCM Interface General Purpose I/O and ADCMiscellaneous USB DO Characteristics Power ConsumptionTypical Current Consumption in mA AT+BTPDC Characteristics RF PerformanceRange Temperature Performance Data Transfer Rate / DistanceFunctional Description InterfacesUart interface SPI bus Gpio PortPCM Codec Interface 5 ADCIntegrated Firmware GeneralProfiles AT OverviewAT features at a glance GeneralAudio UartOTA Over the Air Configuration Boot modesBluetooth Power ManagementLow Power Modes Low Power Modes using SniffHigh Power Consumption RS232 Modem Signals Application ExamplesModem signalling over Bluetooth Pure Cable Replacement ModeAT&F AT&WAudio Cable voice Modem Control and Status Signals Oscillator OutputApplication Information Antenna PositionPower Supply Considerations Power-On-Reset Power Cycling and Brown Out considerationsRF Shield Mounting the Module onto the application platformFixing Pillars Board to Board Connector Hirose Connector general specificationStacking Height Bluetooth Qualification Process Safety InformationQualification QualificationsSafety and Regulatory Statements Europe EU Declaration of ConformityOperating temperatures Storage temperatureEnvironmental ReliabilityPhysical Dimensions Mechanical DimensionsStandard Module BISM2 Module without antenna special order External AntennaeBISM1 Compatible Module special order Labelling Ordering InformationRelated Documents Differences from previous modulesDisclaimers Data Sheet Status Warranty