background image

September 2007

LMX9838
Bluetooth

®

 Serial Port Module

1.0 General Description

The National Semiconductor LMX9838 Bluetooth Serial Port
module is a fully integrated Bluetooth 2.0 baseband controller,
2.4 GHz radio, crystal, antenna, LDO and discreets; com-
bined to form a complete small form factor (10 mm x 17 mm
x 2.0 mm) Bluetooth node.
All hardware and firmware is included to provide a complete
solution from antenna through the complete lower and upper
layers of the Bluetooth stack, up to the application including
the Generic Access Profile (GAP), the Service Discovery Ap-
plication Profile (SDAP), and the Serial Port Profile (SPP).
The module includes a configurable service database to fulfil
service requests for additional profiles on the host. Moreover,
the LMX9838 is qualified as a Bluetooth endproduct, ready to
be used in the end application without additional testing and
license cost.
Based on National’s CompactRISC

®

 16-bit processor archi-

tecture and Digital Smart Radio technology, the LMX9838 is
optimized to handle the data and link management process-
ing requirements of a Bluetooth node.
The firmware supplied in the on-chip ROM memory offers a
complete Bluetooth (v2.0) stack including profiles and com-
mand interface. This firmware features point-to-point and
point-to-multipoint link management supporting data rates up
to the theoretical maximum over RFComm of 704 kbps. The
internal memory supports up to 7 active Bluetooth data links
and one active SCO link.

The on-chip Patch RAM provided for lowest cost and risk, al-
lows the flexibility of firmware upgrade.
The module is lead free and RoHS (Restriction of Hazardous
Substances) compliant. For more information on those quality
standards, please visit our green compliance website at
http://www.national.com/quality/green/

2.0 Features

Complete Bluetooth 2.0 Stack including

Baseband and Link Manager

Protocols: L2CAP, RFCOMM, SDP

Profiles: GAP, SDAP, SPP

High Integration: Includes Antenna, crystal, EEPROM,
LDO

Supporting up to 7 active Bluetooth data links and 1 active
SCO link

Class 2 operation

UART Command/Data port speed up to 921.6kbits/s

Advanced Audio Interface for external PCM codec

Better than -80dBm input sensitivity

FCC certified: FCC ID: ED9LMX9838

IC certified: IC-1520A-LMX9838

CE Self certified

Bluetooth SIG QD ID: B012394

Compact Size: 10mm x 17mm x 2.0mm

3.0 Functional Block Diagram

30027913

Bluetooth

®

 is a registered trademark of Bluetooth SIG, Inc. and is used under license by National Semiconductor Corporation.

CompactRISC

®

 is a registered trademark of National Semiconductor Corporation.

© 2007 National Semiconductor Corporation

300279

www.national.com

LMX9838 Bluetooth Serial Port Module

Summary of Contents for LMX9838

Page 1: ... firmware features point to point and point to multipoint link management supporting data rates up to the theoretical maximum over RFComm of 704 kbps The internal memory supports up to 7 active Bluetooth data links and one active SCO link The on chip Patch RAM provided for lowest cost and risk al lows the flexibility of firmware upgrade The module is lead free and RoHS Restriction of Hazardous Sub...

Page 2: ...tion Profile SYNC Headset HSP Handsfree Profile HFP Basic Imaging Profile BIP Basic Printing Profile BPP On chip application including Default connections Command Interface Link setup and configuration also Multipoint Configuration of the module Service database modifications UART Transparent mode Optimized cable replacement Automatic transparent mode Event filter 5 3 COMPLIANCE FCC compliance The...

Page 3: ...ault Layout Description RXD 12 I Host Serial Port Receive Data TXD 13 O Host Serial Port Transmit Data RTS Note 2 14 O NC if not used Host Serial Port Request To Send active low CTS Note 3 15 I GND if not used Host Serial Port Clear To Send active low Note 2 Treat As No Connect If RTS is not used Pad required for mechanical stability Note 3 Connect to GND if CTS is not use TABLE 3 Auxiliary Ports ...

Page 4: ...ype Default Layout Description MVCC 6 I Module internal Voltage Regulator Input VCC_CORE 9 I O Voltage Regulator Input Output VCC 10 I Voltage Regulator Input Baseband VCC_IO 11 I Power Supply I O GND 3 4 17 18 24 29 30 31 32 I GND Must be connected to ground plane NC 1 5 33 34 35 36 37 38 39 40 NC Place Pads for stability See Section 21 0 Physical Dimensions NC 41 42 43 44 45 46 47 48 49 50 51 52...

Page 5: ...reduce power consumption while waiting for the incoming link Figure 2 shows an example for the connection to a host con troller which can include a simple application to control the LMX9838 The figure also includes the connection to a PCM codec in case the host controller application includes an au dio profile Reset OP4 and OP5 are controlled by the host for full control of the LMX9838 status Plea...

Page 6: ...00V Human Body ESD rating Note 7 All pins meet 200V Macine Model ESD rating except pins RXD TXD CTS RTS PG4 OP5 PG6 PG7 SCL SDA MDOD1 MWCS SFS STD SRD RATED AT 150v Note 8 All pins meet 1000V Charge Discharge Model ESD rating except pin 69 rated at 250V Recommended Operating Conditions Symbol Parameter Min Typ Max Unit MVCC Module internal Voltage Regulator input 3 0 3 3 3 6 V VCC Digital Voltage ...

Page 7: ...IOL Logical 0 Output Current VOH 0 4V VCC_IO 3 0V 10 mA Note 14 Guaranteed by design 10 2 RF PERFORMANCE CHARACTERISTICS In the performance characteristics tables the following applies All tests performed are based on Bluetooth Test Specification revision 2 0 All tests are measured at antenna port unless otherwise specified TA 40 C to 85 C VDD_RF 2 8V unless otherwise specified RF system performan...

Page 8: ...F 27 dBm 2498 MHz FCWI 3000 MHz BER 0 001 27 dBm PinRF 10 dBm 3000 MHz FCWI 12 75 GHz BER 0 001 10 dBm Note 15 Typical operating conditions are at 2 75V operating voltage and 25 C ambient temperature Note 16 The f0 64 dBm Bluetooth modulated signal f1 39dbm sine wave f2 39 dBm Bluetooth modulated signal f0 2f1 f2 and f2 f1 n 1MHz where n is 3 4 or 5 For the typical case n 3 www national com 8 LMX9...

Page 9: ... for at least 99 9 of all Δf2max Note 19 Modulation index set between 0 28 and 0 35 Note 20 Out of Band spurs only exist at 2nd and 3rd harmonics of the CW frequency for each channel Note 21 Not tested in production Synthesizer Performance Characteristics Symbol Parameter Condition Min Typ Max Unit fVCO VCO Frequency Range 2402 2480 MHz tLOCK Lock Time f0 20 kHz 120 µs Δf0offset Note 22 Initial Ca...

Page 10: ...to seven slaves Default Link Policy set tings and a specific master mode allow optimized configura tion for the application specific requirements See Sec tion 14 0 Integrated Firmware 11 1 5 Memory The LMX9838 introduces 16 kB of combined system and Patch RAM memory that can be used for data and or code upgrades of the ROM based firmware Due to the flexible startup used for the LMX9838 operating p...

Page 11: ...gth OKI MSM7717 Advanced audio interface 8 bit log PCM a law only 520 kHz 8 kHz 14 Bits Winbond W681310 Advanced audio interface 8 bit log PCM A law and u law 520 kHz 8 kHz 14 Bits Winbond W681360 Advanced audio interface 13 bit linear 520 kHz 8 kHz 13 Bits PCM slave Note 26 Advanced audio interface 8 16 bits 128 1024 kHz 8 kHz 8 16 Bits Note 26 In PCM slave mode parameters are stored in NVS Bit c...

Page 12: ...on Issue a Hardware Reset The EEPROM initialization phase will be interrupted and the EEPROM will not be recognized which leaves the device in a lockup situation Once the initialization phase is completed the module sends the SimplyBlue Ready Event refer to the LMX9838 Soft ware User s Guide AN 1699 to declare its fully functional state It is therefore recommended to wait for the SimplyBlue Ready ...

Page 13: ...wo frequency discrimina tors The I frequency discriminator uses the 90 phase shift ed signal from the Q path while the Q discriminator uses the 90 phase shifted signal from the I path A poly phase band pass filter performs the required phase shifting The output signals of the I and Q discriminator are substracted and fil tered by a low pass filter An equalizer is added to improve the eye pattern f...

Page 14: ...xers mix the balanced I and Q signals up to 2 4 2 5 GHz The output signals of the I and Q mixers are summed 13 7 32 kHz Oscillator An oscillator is provided see Figure 4 that is tuned to provide optimum performance and low power consumption while op erating with a 32 768 kHz crystal An external crystal clock network is required between the 32k clock input pad 27 and the 32k clock output pad 28 sig...

Page 15: ... as de scribed in Table 13 Instead all data are directly passed through the firmware to the active bluetooth link and the re mote device Transparent mode can only be supported on a point to point connection To leave Transparent mode the host must send a UART_BREAK signal to the module Force Master Mode In Force Master mode tries to act like an access point for multiple connections For this it will...

Page 16: ...Link keys for paired devices Security Mode 2 Security mode Page Scan Mode Connectable Connectable Not connectable for other devices Inquiry Scan Mode Discoverable Discoverable Not Discoverable Limited Discoverable for other devices Default Link Policy All modes allowed Configures modes allowed for incoming or outgoing connections Role switch Hold mode Sniff mode Default Link Timeout 20 seconds The...

Page 17: ...e can disable the transport layer Enabling the transport layer is controlled by the HW Wakeup signalling This can be done from either the Host or the LMX9838 See also LMX9838 Software User s Guide for detailed informa tion on timing and implementation requirements TABLE 12 Power Mode Activity Power Mode UART Activity Radio Activity Reference Clock PM0 OFF OFF none PM1 ON OFF Main Clock PM2 OFF Sca...

Page 18: ...s ready to receive commands 16 0 Command Interface The LMX9838 offers Bluetooth functionality in either a self contained slave functionality or over a simple command in terface The interface is listening on the UART interface The following sections describe the protocol transported on the UART interface between the LMX9838 and the host in command mode see Figure 8 In Transparent mode no data frami...

Page 19: ...ect Confirm Create an SDP connection to remote device SDAP Disconnect SDAP Disconnect Confirm Disconnect an active SDAP link Connection Lost Notification for lost SDAP link SDAP Service Browse Service Browse Confirm Get the services of the remote device SDAP Service Search SDAP Service Search Confirm Search a specific service on a remote device SDAP Attribute Request SDAP Attribute Request Confirm...

Page 20: ...Settings Confirm Get Audio Settings for existing Link Set Volume Set Volume Confirm Configure the volume Get Volume Get Volume Confirm Get current volume setting Mute Mute Confirm Mutes the microphone input TABLE 21 Wake Up Functionality Command Event Description Disable Transport Layer Transport Layer Enabled Disabling the UART Transport Layer and activates the Hardware Wakeup function TABLE 22 S...

Page 21: ...nfirm Create a new service record within the service database Enable SDP Record Enable SDP Record Confirm Enable or disable SDP records Delete All SDP Records Delete All SDP Records Confirm Ports to Open Ports to Open Confirmed Specify the RFComm Ports to open on startup TABLE 25 Local Hardware Commends Command Event Description Set Default Audio Settings Set Default Audio Settings Confirm Configu...

Page 22: ... Clock and Baudrate Set Clock and Baudrate Confirm Write Baseband frequency and Baudrate used TABLE 27 GPIO Control Commands Command Event Description Set GPIO WPU Set GPIO WPU Confirm Enable Disable weak pull up resistor on GPIOs Get GPIO Input State Get GPIO Input States Confirm Read the status of the GPIOs Set GPIO Direction Set GPIO Direction Confirm Set the GPIOs direction Input Ouput Set GPI...

Page 23: ...8 using a 1 8V IO interface 17 1 FILTERED POWER SUPPLY It is important to provide the LMX9838 with adequate ground planes and a filtered power supply It is highly recommended that a 2 2 μF and a 100 nF bypass capacitor be placed as close as possible to the power supply pins VCC MVCC and VCC_IO 17 2 FREQUENCY AND BAUDRATE SELECTION OP3 OP4 OP5 can be strapped to the host logic 0 and 1 levels to set...

Page 24: ...mended Operating Conditions FIGURE 10 2 5V to 3 0V Example Functional System Schematic 30027910 Notes Capacitor values C1 and C2 may vary depending on design and crystal manufacturer specification MVCC can be connected to 3 0V and above in this configuration Please see Recommended Operating Conditions FIGURE 11 1 8V to 2 5V Example Functional System Schematic www national com 24 LMX9838 ...

Page 25: ...vary depending on design and crystal manufacturer specification MVCC can be connected to 3 0V and above in this configuration Please see Recommended Operating Conditions FIGURE 12 1 8V Example Functional System Schematic 25 www national com LMX9838 ...

Page 26: ...18 0 Evaluation Design 30027915 FIGURE 13 www national com 26 LMX9838 ...

Page 27: ... Aperture 17 mil Stencil Thickness 5 mil Solder Paste Used Defined by customer or manufacturing facility Flux Cleaning Process Defined by customer or manufacturing facility Reflow Profiles See Figure 14 TABLE 29 Classification Reflow Profiles Note 27 Note 28 Profile Feature NOPB Assembly Average Ramp Up Rate TsMAX to Tp 3 C second maximum Preheat Temperature Min TsMIN Temperature Max TsMAX Time ts...

Page 28: ...ntial installa tion This equipment generates uses and can radiate radio frequency energy If not installed and used in accordance with the instructions it may cause harmful interference to radio communications However there is no guarantee that inter ference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be de...

Page 29: ...21 0 Physical Dimensions inches millimeters unless otherwise noted NS Package Number SB70A 29 www national com LMX9838 ...

Page 30: ...IGHT LIFE SUPPORT POLICY NATIONAL S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE CHIEF EXECUTIVE OFFICER AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION As used herein Life support devices or systems are devices which a are intended for surgical implant into the body or b support or sustain...

Reviews: