Home
LMX9838 Bluetooth Serial Port Module
Contents
1. none Configures the settings for the external codec and the air format Codecs Winbond W681360 OKI MSM7717 Winbond W681310 PCM Slave Air Format CVSD p Law A Law 13 www national com 8 86XNW1 LMX9838 14 0 Low Power Modes The LMX9838 supports different Low Power Modes to reduce power in different operating situations The modular structure of the LMX9838 allows the firmware to power down unused modules The Low power modes have influence on e UART transport layer enabling or disabling the interface Bluetooth Baseband activity firmware disables LLC and Radio if possible 14 1 POWER MODES The following LMX9838 power modes which depend on the activity level of the UART transport layer and the radio activity are defined The radio activity level mainly depends on application re quirements and is defined by standard bluetooth operations like inquiry page scanning or an active link A remote device establishing or disconnecting a link may also indirectly change the radio activity level No radio activity UART Disabled Wake up Enabled Disable TL TL Enabled UART Enabled Wake up Disabled Page Inquiry Scanning All Links Released Incoming Link 4 All Links released TL Enabled Scanning Enabled Scanning Disabled Link Established The UART transport layer by default is enabled on device po
2. Modulation Characteristics Data 00001111 kHz Data 10101010 10101010 5 kHz po r SL 2402 MHz Ed nmn 171 Pout 4804 MHz Pour 2 5 GHz Q Impedance of RF Port RF_inout Note 15 Typical operating conditions are at 2 75V operating voltage and 25 C ambient temperature Note 16 AF2max 2 115 kHz for at least 99 9 of all Af2max Note 17 Modulation index set between 0 28 and 0 35 Note 18 Out of Band spurs only exist at 2nd and 3rd harmonics of the CW frequency for each channel Note 19 Not tested in production Synthesizer Performance Characteristics Symbol Initial Carrier Frequency Drift weme 3m Dite 20 o 20 Transmitter Delay Time From Tx data to antenna b a x us Note 20 Frequency accuracy is dependent on crystal oscillator chosen The crystal must have a cumulative accuracy of 20ppm to meet Bluetooth specifications Note All RF parameters are tested prior to the antenna 11 0 Functional Description 11 1 BASEBAND AND LINK MANAGEMENT PROCESSORS Baseband and Lower Link control functions are implemented using a combination of National Semiconductors Com pactRISC 16 bit processor and the Bluetooth Lower Link Controller These processors operate from integrated ROM memory and RAM and execute on board firmware imple menting all Bluetooth functions 11 1 1 Bluetooth Lower Link Controller The integrated Bluetooth Lowe
3. National Semiconductor LMX9838 PRELIMINARY July 2007 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 inter
4. and Data Length The BCC checksum is calculated as low byte of the sum of all bytes e g if the sum of all bytes is 0x3724 the checksum is 0x24 Existing device without Bluetooth capabilities 30027907 FIGURE 7 Bluetooth Functionality TABLE 16 Package Framing Start Packet Obcode Data Check Packet End Delimiter Type ID P Length sum Data Delimiter Data Length 1 Byte 1 Byte 1 Byte 2 Bytes 1 Byte Did 1 Byte 15 www national com 8 86XW1 LMX9838 0x52 REQUEST R REQ 0x43 Confirm C CFM 0x69 Indication IND 0x72 Response t RES e Configure the device Hardware settings Service database Command Inquiry Remote Device Name Command SDAP Connect SDAP Disconnect SDAP Service Browse SDAP Service Search SDAP Attribute Request Command Establish SPP Link Set Link Timeout Get Link Timeout Release SPP Link SPP Send Data Transparent Mode Command Connect Default Connection Store Default Connection Get list of Default Connections Delete Default Connections 15 2 COMMAND SET OVERVIEW The LMX9838 has a well defined command set to Local Bluetooth parameters TABLE 17 Packet Type Identification Description A request sent to the Bluetooth module All requests are answered by exactly one confirm The Bluetooth modules confirm to a request All requests are answered by exactly one confirm Information sent from the Bluetooth mod
5. Audio Control Commands Event Establish SCO Link Confirm SCO Link Established Indicator Description Establish SCO Link on existing RFComm Link A remote device has established a SCO link to the local device Release SCO Link Confirm Release SCO Link Audio Control SCO Link Released Indicator SCO Link has been released Changes Packet Type for existing SCO link SCO Packet Type has been changed Set Audio Settings for existing Link Get Audio Settings for existing Link Configure the volume Get current volume setting Mute Confirm Mutes the microphone input TABLE 24 Wake Up Functionality Description Disabling the UART Transport Layer and activates the Hardware Wakeup function Transport Layer Enabled TABLE 25 SPP Port Configuration and Status Description Set port setting for the virtual serial port link over the air Read the actual port settings for a virtual serial port Notification if port settings were changed from remote device Returns status of DTR RTS for the active RFComm link Sets the DTR bit on the specified link Sets the RTS bit on the specified link Indicates that the host has detected a break SPP Port Overrun Error Confirm Used to indicate that the host has detected an overrun error Host has detected a parity error Host has detected a framing error SPP Port Status Changed Indicates that remote device has changed one of the port status bits 17 www national com 8 86XIN 1 LMX9838 TABL
6. Connect the equipment into an outlet of a circuit different from that to which the receiver is connected e Consult the dealer or an experienced radio TV technician for assistance Changes or modification not expressly approved by the party responsible for Compliance could void the user s authority to operate the equipment Connecting of peripherals requires the use of grounded shielded signal cables 19 2 2 FCC Compliance Information This device complies with Part 15 of FCC Rules Operation is subject to the following two conditions 1 This device may not cause harmful interference and 2 This device must accept any interference received including interference that may cause undesired operation 20 0 Top Marking 2VT63ES LMX9838SB l FCC ID ED9LMX9838 QD ID B012394 IC 1520A LMX9838 30027922 FIGURE 14 www national com 24 21 0 Physical Dimensions inches millimeters unless otherwise noted RECOMMENDED LAND PATTERN NO TRACES VIAS GND PLANE OR SILKSCREEN SHOULD BE LOCATED WITHIN THE DASHED AREA 10 X 17 441 7 xd ue aab annd i due eet I 0 940 025 TYP 3 5 2X 7 240 4 Hes 8 MAX 4 450 025 1020 1 4 TYP 0 940 025 1740 4 30X 0 6 0 05 0 025 TYP 2 3 TYP 2 5 140 025 NS Package Number SB70A 9 DIMENSIONS ARE IN MILLIMETER DIMENSIONS IN FOR REFERENCE ONLY CLES TY P3 1 0 025
7. Information The device complies with Part 15 of FCC Rules Operation is subject to the following two conditions This device may not cause harmful interference This device must accept any interference received including interference that may cause undesired operation 5 4 PACKAGE Complete system interface provided in Lead Grid Array on underside for surface mount assembly TABLE 1 Ordering Information Order Number Spec O Shipment Method LMX9838SB NOPB Note 1 135 pcs Tray LMX9838SBX NOPB Note 1 500 pcs Tape amp Reel Note 1 NOPB No Pb No Lead www national com 2 7 0 Connection Diagram T 98 99 99 e a 52 m bese X ray View 30027914 8 0 Pad Description TABLE 2 System Interface Signals Pad Pad Name Default Layout Description OP3 1 OP3 Pin checked during Startup Sequence for configuration option OP4 PG4 26 OP4 OP4 Pin checked during Startup Sequence for configuration option PG4 I O PG4 GPIO OP5 eee O1 2 OP5 Pin checked during Startup Sequence for configuration option 32K O Ncf fnotused 32 768 kHz Crystal Oscillator 32K 27 1 GND fnotused 32 768 kHz Crystal Oscillator TABLE 3 UART Interface Signals Pad A Pad Name Default Layout Description RXD wp cEm 1 Host Serial Port Receive Data TXD is 48a 12201 4 0254 Host Serial Port Transmit Data RTS No
8. PURPOSE MERCHANTABILITY OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT 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 life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness National Semiconductor and the National Semiconductor logo are registered trademarks of National Semiconductor Corporation All other brand or product names may be trademarks or registered trademarks of their respective holders CopyrightO 2007 National Semiconductor Corporation For the most current product information visit us at www national com National Semiconductor National Semiconductor Europe National Semiconductor Asia National Semiconductor Japan Americas Customer Customer Support Center Pacific Customer Support Center Customer Su
9. allows the support one codec or interface The firmware selects the desired audio path and interface config uration by a parameter that is located in RAM imported from Function UART speed read from NVS UART speed 9 6 kbps UART speed 115 2 kbps UART speed 921 6 kbps non volatile storage or programmed during boot up The au dio path options include the OKI MSM7717 codec the Win bond W681360 W681310 codecs and the PCM slave through the AAI In case an external codec or DSP is used the LMX9838 audio interface generates the necessary bit and frame clock driving the interface Table 11 summarizes the audio path selection and the con figuration of the audio interface at the specific modes The LMX9838 supports one SCO link www national com 8 86XIN 1 LMX9838 TABLE 11 Audio Path Configuration ais o mete 22 Pulse Length OKI OKI Winbond Advanced audio interface 8 bit log PCM 480 kHz 8 kHz 14 Bits MSM7717 a law only Advanced audio interface 8 bit log PCM 520 kHz 8 kHz 14 Bits MSM7717 a law only Advanced audio interface 8 bit log PCM 520 kHz 8 kHz 14 Bits W681310 A law and u law Advanced audio interface 13 bit linear 520 kHz 8 kHz 13 Bits W681360 PCM slave Note 24 Advanced audio interface 8 16 bits 128 1024 kHz 8 16 Bits Note 24 In PCM slave mode parameters are stored in NVS Bit clock and frame clock must be generated by the host
10. amplifier LNA followed by two mixers The intermediate frequency signal processing blocks consist of a poly phase bandpass filter BPF two hard limiters LIM a frequency discriminator DET and a post detection filter PDF The received signal level is detected by a received signal strength indicator RSSI The received frequency equals the local oscillator frequency fLO plus the intermediate frequency fLO supradyne The radio includes a synthesizer consisting of a phase de tector a charge pump an off chip loop filter an RF fre quency divider and a voltage controlled oscillator VCO The transmitter utilizes IQ modulation with bit stream data that is gaussian filtered Other blocks included in the trans mitter are a VCO buffer and a power amplifier PA 12 2 RECEIVER FRONT END The receiver front end consists of a low noise amplifier LNA followed by two mixers and two low pass filters for the l and Q channels The intermediate frequency IF part of the receiver front end consists of two IF amplifiers that receive input signals from the mixers delivering balanced 1 and Q signals to the poly phase bandpass filter The poly phase bandpass filter is di rectly followed by two hard limiters that together generate an AD converted RSSI signal 12 2 1 Poly Phase Bandpass Filter The purpose of the IF bandpass filter is to reject noise and spurious mainly adjacent channel interferen
11. CORE Supply Voltage Output Note 8 V Note 7 must be gt Vcc IO 0 5V to avoid backdrive supply Note 8 Should not be used for external supplies Power Supply Requirements Notes 9 10 Typ SR Parmeter in Note 11 owe Power supply current for continuous transmit ni in i j mA lRxsL laxm Isc rLbis Note 9 Power supply requirements based on Class II output power Note 10 Based on UART Baudrate 115 2kbit s Note 11 Voc 3 3V Ambient Temperature 25 C 65 f 5 m mA mA mA mA www national com 6 10 1 DC CHARACTERISTICS Parameter Condon J Wim Units Logical 1 Input Voltage high except oscillator I O Logical 0 Input Voltage low except oscillator I O Hysteresis Loop Width Note 12 Logical 1 Output Current Logical 0 Output Current Epod Voc 3 0V Note 12 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 to 85 C Vpp RF 2 8V unless otherwise specified RF system performance specifications are guaranteed on National Semiconductor Flagstaff board rev 2 1 evaluation platform 2 mari Mx Receive Sensitivity sense PinR
12. E 26 Local Bluetooth Settings Command Description Read Local Name Read Local Name Confirm Read actual friendly name of the device Write Local Name Write Local Name Confirm Set the friendly name of the device Read Local BDADDR Read Local BDADDR Confirm Change Local BDADDR Change Local BDADDR Confirm Note The BDADDR is programmed by NSC It can not be retrieved if erased Store Class of Device Set Scan Mode Change mode for discoverability and connectability Reports end of Automatic limited discoverable mode Get Fixed Pin Reads current PinCode stored within the device Set Fixed Pin Set Fixed Pin Confirm Set the local PinCode PIN request a PIN code is requested during authentication of an ACL link Get Security Mode Get actual Security mode Set Security Mode Configure Security mode for local device default 2 Remove Pairing Remove pairing with a remote device List Paired Devices Get list of paired devices stored in the LMX9838 data memory Set Default Link Timeout Store default link supervision timeout Get Default Link Timeout Get stored default link supervision timeout Force Master Role Force Master Role Confirm Enables Disables the request for master role at incoming connections TABLE 27 Local Service Database Configuration Command Even Description Store generic SDP Record Store SDP Record Confirm Create a new service record within the service database Enable SDP Record Enable or disable SDP records Delete All SDP Records Po
13. F Maximum Input Level hom crc dBm IMP Intermodulation Performance Note 14 RSSI OOB Out Of Band Blocking Note 14 Performance Note 13 Typical operating conditions are at 2 75V operating voltage and 25 C ambient temperature Note 14 The f 64 dBm Bluetooth modulated signal f 39dbm sine wave f 39 dBm Bluetooth modulated signal fy 2f f gt and If 1 n 1MHz where n is 3 4 or 5 For the typical case n 3 Digital DC Characteristics 3 0V Voc lt 3 6V V 3 0V Voc lt 3 6V V Von 2 4V mA Von 0 4V mA Voc 3 0V Receiver Performance Characteristics BER lt 0 001 2 402 GHz dBm 2 441 GHz dBm 2 480 GHz dBm F 3 MHz dBm F 6 MHz P RF 64 dBm dBm PRF 10 dBm dBm 30 MHz lt Foy lt 2 GHz BER 0 001 P RF 27 dBm dBm 2000 MHz lt Fey lt 2399 MHz BER lt 0 001 PRF 27 dBm dBm 2498 MHz lt Foy lt 3000 MHz BER lt 0 001 PRF 10 dBm dBm 3000 MHz lt Fow lt 12 75 GHz BER lt 0 001 7 www national com 8 86XIN 1 LMX9838 PourRF MOD AF 1 MOD AF2yax Note 16 Modulation Characteristics Modulation Modulation Characteristics AF2aye DF1 Note 17 20 dB Bandwidth 2 1 Note 18 Zgrour Note 19 lock Afgoffset Note 20 Afodrift Note 20 tp Tx Transmitter Performance Characteristics Symbol Transmit Output Power PA 2nd Harmonic RF Output Impedance Input
14. TYP SB70A Rev B 25 www national com 8E86XIN1 LMX9838 Bluetooth Serial Port Module Notes THE CONTENTS OF THIS DOCUMENT ARE PROVIDED IN CONNECTION WITH NATIONAL SEMICONDUCTOR CORPORATION NATIONAL PRODUCTS NATIONAL MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS PUBLICATION AND RESERVES THE RIGHT TO MAKE CHANGES TO SPECIFICATIONS AND PRODUCT DESCRIPTIONS AT ANY TIME WITHOUT NOTICE NO LICENSE WHETHER EXPRESS IMPLIED ARISING BY ESTOPPEL OR OTHERWISE TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT TESTING AND OTHER QUALITY CONTROLS ARE USED TO THE EXTENT NATIONAL DEEMS NECESSARY TO SUPPORT NATIONAL S PRODUCT WARRANTY EXCEPT WHERE MANDATED BY GOVERNMENT REQUIREMENTS TESTING OF ALL PARAMETERS OF EACH PRODUCT IS NOT NECESSARILY PERFORMED NATIONAL ASSUMES NO LIABILITY FOR APPLICATIONS ASSISTANCE OR BUYER PRODUCT DESIGN BUYERS ARE RESPONSIBLE FOR THEIR PRODUCTS AND APPLICATIONS USING NATIONAL COMPONENTS PRIOR TO USING OR DISTRIBUTING ANY PRODUCTS THAT INCLUDE NATIONAL COMPONENTS BUYERS SHOULD PROVIDE ADEQUATE DESIGN TESTING AND OPERATING SAFEGUARDS EXCEPT AS PROVIDED IN NATIONAL S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS NATIONAL ASSUMES NO LIABILITY WHATSOEVER AND NATIONAL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO THE SALE AND OR USE OF NATIONAL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR
15. able 6 Table 6 For other frequencies reference Datasheet NC 30027911 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 Table 8 FIGURE 11 1 8V Example Functional System Schematic 21 www national com 8 86XNW1 81628006 Fo vaso rao ar SONILLAS Alva anva WN 1 rly 1 JIN er 1848 0 00 9r 7 W3qTOoHLLivg a 17 0 Evaluation Design 3 8 86XIN 1 T T any EU 9 49 SLO DOA eL IHANIA ZN c ae 99 0 03 11035 s SCZEXVW avy EU en elo vo Wa z 294 z ama za aose aose EN VH 99 241 JVW VWS er 9I eoi wl zl e e 81288 6588 80 85885 8 304 ZH suce gt lt T e 0 09 sd zz do gt tao gt 5v sdo Le Te 994d Sp 19d C gt Sp 2 99d dO ia ED a 22 www national com 18 0 Soldering The LMX9838 bumps are designed to melt as part of the Sur face Mount Assembly SMA process In order to ensure reflow of all solder bumps and maximum solder joint reliability while minimizing damage to the package recommended re flow profiles should be used tion TABLE 31 Soldering Details Parameter PCB Land Pad Diameter PCB So
16. ce that would otherwise enter the hard limiting stage In addition it takes care of the image rejection The bandpass filter uses both the I and Q signals from the mixers The out of band suppression should be higher than 40 dB f lt 1 MHz MHz The bandpass filter is tuned over process spread and temperature variations by the autotuner circuitry A 5th order Butterworth filter is used 12 2 2 Hard Limiter and RSSI The l and Q outputs of the bandpass filter are each followed by a hard limiter The hard limiter has its own reference cur rent The RSSI Received Signal Strength Indicator mea sures the level of the RF input signal The RSSI is generated by piece wise linear approximation of the level of the RF signal The RSSI has a mV dB scale and an analog to digital converter for processing by the baseband circuit The input RF power is converted to a 5 bit value The RSSI value is then proportional to the input power in dBm The digital output from the ADC is sampled on the BPKTCTL signal low to high transition www national com 10 12 3 RECEIVER BACK END The hard limiters are followed by a two frequency discrimina tors The I frequency discriminator uses the 90x phase shift ed signal from the Q path while the Q discriminator uses the 90x 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 a
17. cies reference Datasheet NC 30027909 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 Table 8 FIGURE 9 2 5V to 3 0V Example Functional System Schematic 1 8V 1 8V 2 5V 100 nF T Optional 32 kHz If not used 32k GND 32k NC UART System Bus Connected to Host 32 768 kHz C2 12 1 9838 Reset line connected to host Advanced Audioo Interface Connect to PCM codec or leave open Frequency Baud rcm H dad GROUND 1 For No t Ref Settings shown fpr ap 921600 BPS Reference Table 6 Table 6 For other frequencies reference Datasheet NC 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 Table 8 FIGURE 10 1 8V to 2 5V Example Functional System Schematic www national com 20 1 8 1 8V 3 0V 2 2 uF 100 nF 100 nF T VCC CORE VCC 10 Optional 32 kHz If not used 32k GND 32k NC UART System Bus Connected to Host 32 768 kHz C2 C1 LMX9838 Reset line connected to host Advanced Audioo Interface Connect to PCM codec or leave open Frequency Baud All Common Rate selector GROUND For No C t Ref Settings shown fpr or No Connects eference 921600 BPS Reference T
18. d ing on the setting for automatic or command mode Additional links will only be possible if the device is not in transparent mode 13 1 2 Default Connections The LMX9838 supports the storage of up to 3 devices within its NVS Those connections can either be connected after re set or on demand using a specific command 13 1 3 Event Filter The LMX9838 uses events or indicators to notify the host about successful commands or changes at the bluetooth in terface Depending on the application the LMX9838 can be configured The following levels are defined No Events The LMX9838 is not reporting any events Optimized for passive cable replacement solutions Standard LMX9838 events Only necessary events will be reported All events Additional to the standard all changes at the physical layer will be reported 13 1 4 Default Link Policy Each Bluetooth Link can be configured to support M S role switch Hold Mode Sniff Mode and Park Mode The default link policy defines the standard setting for incoming and out going connections 13 1 5 Audio Support The LMX9838 offers commands to establish and release syn chronous connections SCO to support Headset or Hands free applications The firmware supports one active link with all available package types HV1 HV2 HV3 routing the au dio data between the bluetooth link and the advanced audio interface In order to provide the analog data interface an ex te
19. defined as described in Figure 6 www national com 14 30027906 FIGURE 6 UART NULL Modem Connection 14 2 2 Disabling the UART transport layer The Host can disable the UART transport layer by sending the Disable Transport Layer Command The LMX9838 will empty its buffers send the confirmation event and disable its UART interface Afterwards the UART interface will be re configured to wake up on a falling edge of the CTS pin 14 2 3 LMX9838 enabling the UART interface As the Transport Layer can be disabled in any situation the LMX9838 must first make sure the transport layer is enabled before sending data to the host Possible scenarios can be incoming data or incoming link indicators If the UART is not enabled the LMX9838 assumes that the Host is sleeping and waking it up by activating RTS To be able to react on that Wake up the host has to monitor the CTS pin As soon as the host activates its RTS pin the LMX9838 will first send a confirmation event and then start to transmit the events 14 2 4 Enabling the UART transport layer from the host If the host needs to send data or commands to the LMX9838 while the UART Transport Layer is disabled it must first as sume that the LMX9838 is sleeping and wake it up using its RTS signal When the LMX9838 detects the Wake Up signal it activates the UART HW and acknowledges the Wake Up signal by settings its RTS Additionally the Wake up will be confirmed by a con
20. ecific SPP port Incoming data from remote device Switch to Transparent mode on the UART TABLE 21 Storing Default Connections Connect Default Connection Confirm Store Default Connection Confirm List of Default Devices Delete Default Connections Confirm Description Description Connects to either one or all stored default connections Store device as default connection www national com 16 Command Set Default Link Policy Get Default Link Policy Set Link Policy Get Link Policy Enter Sniff Mode Exit Sniff Mode Enter Hold Mode Command Establish SCO Link Release SCO Link Change SCO Packet Type Set Audio Settings Get Audio Settings Set Volume Get Volume Mute Command Disable Transport Layer Command Set Port Config Get Port Config SPP Get Port Status SPP Port Set DTR SPP Port Set RTS SPP Port BREAK SPP Port Overrun Error SPP Port Parity Error SPP Port Framing Error TABLE 22 Bluetooth Low Power Modes Description Defines the link policy used for any incoming or outgoing link Returns the stored default link policy Defines the modes allowed for a specific link Returns the actual link policy for the link Set Default Link Policy Confirm Get Default Link Policy Confirm Set Link Policy Confirm Get Link Policy Confirm Enter Sniff Mode Confirm Exit Sniff Mode Confirm Enter Hold Mode Confirm Power Save Mode Changed Remote device changed power save mode on the link TABLE 23
21. firmation event When the Host has re ceived this Transport Layer Enabled event the LMX9838 is ready to receive commands LMX9838 UAR 15 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 7 In Transparent mode no data framing is necessary and the device does not listen for com mands 15 1 FRAMING The connection is considered Error free But for packet recognition and synchronization some framing is used All packets sent in both directions are constructed per the model shown in Table 16 15 1 1 Start and End Delimiter The STX char is used as start delimiter STX 0x02 ETX 0x03 is used as end delimiter 15 1 2 Packet Type ID This byte identifies the type of packet See Table 17 for de tails 15 1 3 Opcode The opcode identifies the command to execute The opcode values can be found within the LMX9838 Software User s Guide included within the LMX9838 Evaluation Board 15 1 4 Data Length Number of bytes in the Packet Data field The maximum size is defined with 333 data bytes per packet 15 1 5 Checksum This is a simple Block Check Character BCC checksum of the bytes Packet type Opcode
22. g Contains TX FCC ID ED9LMX9838 19 1 3 End Product Manual Information The user manual for end users must include the following in formation in a prominent location IMPORTANT NOTE To comply with FCC RF exposure compliance requirements the antenna used for this transmitter must be installed to pro vide a separation distance of at least 20 cm from all persons and must not be co located or operating in conjunction with any other antenna or transmitter 19 2 RADIO FREQUENCY INTERFERENCE STATEMENT 19 2 1 Information To The User NOTE This equipment has been tested and found to comply with the limits for a Class B digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful Interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if Not installed and used in accordance with the instructions may cause harmful Interference to radio com munications However there is no guarantee that interfer ence will not occur in a particular Installation If this equipment does cause harmful interference to radio or television recep tion which can be determined by turning the equipment off and on the user is encouraged to try to correct the interfer ence by one or more of the following measures e Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver
23. interface Winbond PCM slave configuration example PCM slave uses the slot 0 1 slot per frame 16 bit linear mode long frame sync normal frame sync In this case should be stored in NVS See LMX9838 Software Users Guide for more details 11 4 AUXILIARY PORTS 11 4 1 RESET The RESET is active low and will put radio and baseband into reset 11 4 2 General Purpose I Os The 838 offers 3 pins which either can be used as indi cation and configuration pins or can be used for General Purpose functionality The selection is made out of settings derived out of the power up sequence In General Purpose configuration the pins are controlled hard ware specific commands giving the ability to set the direction set them to high or low or enable a weak pull up In alternate function the pins have pre defined indication func tionality Please see Table 12 for a description on the alter nate indication functionality TABLE 12 Alternate GPIO Pin Configuration Pim OP4 PG4 Operation Mode pin to configure Transport Layer settings during boot up PG6 GPIO Link Status indication PG7 RF Traffic indication 12 0 Digital Smart Radio 12 1 FUNCTIONAL DESCRIPTION The integrated Digital Smart Radio utilizes a heterodyne re ceiver architecture with a low intermediate frequency 2 MHz such that the intermediate frequency filters can be integrated on chip The receiver consists of a low noise
24. interface boot up configuration Alterna tively all OP4 OP5 be hardwired over 1k Ohm Figure 11 represents an example of system functional schematic for the LMX9838 using a 1 8V IO interface pullup pulidowntesistors eee Tae 12 MVCC MVCC 3 0V 3 3V 100 nF T 2 2 uF T VCC VCC CORE VCC IO Optional 32 kHz If not used 32k GND UART System Bus 32k NC Connected to Host 32 768 kHz C2 LMX9838 Reset line connected to host Advanced Audioo Interface Connect to PCM codec or leave open ik Frequency Baud All Common Rate selector GROUND For No C t Refi Settings shown fpr or No Connects eference 5 000 858 Reference Table 6 Table 6 For other frequencies reference Datasheet NC 30027908 Notes Capacitor values C1 and C2 may vary depending on design and crystal manufacturer specification FIGURE 8 3 0V to 3 3V Example Functional System Schematic 19 www national com 8 86XW1 LMX9838 IO 2 5V 3 0V 3 0V 100 nF T 22 uF VCC VCC CORE VCC IO Optional 32 kHz If not used 32k GND 32k NC UART System Bus Connected to Host 32 768 kHz C2 17 LMX9838 Reset line connected to host Advanced Audioo Interface Connect to PCM codec or leave open Frequency Baud All Common 3 Y Rate selector GROUND For No t Ref Settings shown fpr or No Connects eference 921600 BPS Reference Table 6 Table 6 For other frequen
25. ion In Non Automatic Opera tion the LMX9838 does not check the default connections section within the Data RAM If connected by another device it will NOT switch to transparent mode and continue to inter pret data sent on the UART Non Automatic Operation In Non Automatic Operation the LMX9838 does not check the default connections section within the Data RAM If con nected by another device it will NOT switch to transparent mode and continue to interpret data sent on the UART Transparent Mode The LMX9838 supports transparent data communication from the UART interface to a bluetooth link If activated the module does not interpret the commands on the UART which normally are used to configure and control the module The packages don t need to be formatted as de scribed in Table 16 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 only accept the link if a Master slave role switch is accepted by the connecting de vice After successful link establishment the LMX9838 will be Master and available for additional incoming links On the first incoming link the LMX9838 will switch to transparent depen
26. lder Mask Opening PCB Finish HASL details Stencil Aperture Stencil Thickness Solder Paste Used Flux Cleaning Process Reflow Profiles TABLE 32 Classification Reflow Profiles Note 25 Profile Feature Average Ramp Up Rate Tsmax to Tp Preheat Temperature Min TSyin Temperature Max Time tSm n to tSmax Time maintained above Temperature T Time 4 Peak Classification Temperature Tp Time within 5 C of actual Peak Temperature tp Ramp Down Rate Time 25 C to Peak Temperature Reflow Profiles Note 25 See IPC JEDEC J STD 020C July 2004 Note 26 All temperatures refer to the top side of the package measured on the package body surface Table 31 Table 32and Figure 13 provide the soldering details required to properly solder the LMX9838 to standard PCBs The illustration serves only as a guide and National is not li able if a selected profile does not work See IPC JEDEC J STD 020C July 2004 for more informa Value 13 mil 19 mil Defined by customer or manufacturing facility 17 mil 5 mil Defined by customer or manufacturing facility Defined by customer or manufacturing facility See Figure 13 Note 26 NOPB Assembly 3 C second maximum 150 C 200 C 60 180 seconds 217 C 60 150 seconds 250 0 C 20 40 seconds 6 C second maximum 8 minutes maximum See Figure 13 Critical Zone T to Tp Temperature Ra
27. lute Maximum Ratings see Table 7 indicate limits be yond which damage to the device may occur Operating Ratings see Table 8 indicate conditions for which the device is in tended to be functional This device is a high performance RF integrated circuit and is ESD sensitive Handling and assembly of this device should be performed at ESD free workstations The following conditions are true unless otherwise stated in the tables below TA 40 to 85 C Voc 3 3V e RF system performance specifications are guaranteed on National Semiconductor FlagStaff board rev 2 1 evaluation platform TABLE 7 Absolute Maximum Ratings Symb Peaamee m Me m Voc Digital Voltage Regulator input V Vi Voltage on pad with GND OV Ts Storage Temperature Range TLNOPB Lead Temperature NOPB Note 4 Note 5 solder 40 sec 0 0 0 Note 4 Reference IPC JDEC J STD 20C spec Note 5 NOPB No Pb No Leag Note 6 A 200V ESD rating applies to all pins except Antenna Pins y c HE SECUN X xmas v 1 TABLE 8 Recommended Operating Conditions Symbol Paamee Mm Tw Me Uni Module internal Voltage Regulator input V Voc Digital Voltage Regulator input V Tg Digital Voltage Regulator Rise Time D as 10 us Ambient Operating Temperature Range 40 25 85 C Fully Functional Bluetooth Node 1 Note 7 Supply Voltage Digital V
28. mically set Acting as master the application offers a simple but versatile command interface for standard Bluetooth operation like in quiry service discovery or serial port connection The firmware supports up 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 13 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 parameters like the Bluetooth Device Address BD ADDR are defined during boot time This allows reading out the parameters of an inter nal EEPROM or programming them directly over UART 11 2 TRANSPORT PORT UART The LMX9838 provides one Universal Asynchronous Receiv er Transmitter UART The UART interface consists out of Receive RX Transmit TX Ready to Send RTS and Clear to Send signals RTS and CTS are used for hardware handshaking between the host and the LMX9838 Since the LMX9838 acts as gateway between the bluetooth and the UART interface National Semiconductor recommends to use the handshaking signals especially for transparent operation In case two signals are used CTS needs to be pulled to GND Please refer also to LMX9838 Software User s Guide for detailed information on 2 wire operation The UART inte
29. mp down Preheat amp t 25 C to Peak FIGURE 13 Typical Reflow Profiles 30027912 23 www national com 8 86XIN 1 LMX9838 19 0 FCC Instructions 19 1 SAFETY INFORMATION FOR RF EXPOSURE 19 1 1 FCC Radiation Exposure Statement This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment End users must fol low the specific operating instructions for satisfying RF expo sure compliance This device is intended only form OEM integrators under the following conditions 1 The antenna must be installed such that 20 cm is maintained between the antenna and users and 2 The transmitter module may not be co located with any other transmitter or antenna IMPORTANT NOTE In the event that these conditions can not be met for example certain laptop configurations or co location with another transmitter then the FCC authorization is no longer considered valid and the FCC ID can not be used on the final product In these circumstances the OEM inte grator will be responsible for re evaluating the end product including the transmitter and obtaining a separate FCC au thorization 19 1 2 End Product Labeling This transmitter module is authorized only for use in devices where the antenna may be installed such that 20 cm may be maintained between the antenna and users The final end product must be labeled in visible area with the followin
30. nal memory supports up to 7 active Bluetooth data links and one active SCO link 3 0 Functional Block Diagram BLUEtooth Core 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 m High Integration Includes Antenna crystal EEPROM LDO m 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 PG6 PG TXD RXD RTS CTS RESET Compact RISC Processor Combined System and Patch RAM Confi E om E OPS SCLK SF STD SRD 30027913 ujoojenig 8 86XIN 1 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 C
31. nd fil tered by a low pass filter An equalizer is added to improve the eye pattern for 101010 patterns After equalization a dynamic AFC automatic frequency off set compensation circuit and slicer extract the RX DATA from the analog data pattern It is expected that the Eb No of the demodulator is approximately 17 dB 12 3 1 Frequency Discriminator The frequency discriminator gets its input signals from the limiter A defined signal level independent of the power sup ply voltage is needed to obtain the input signal Both inputs of the frequency discriminator have limiting circuits to opti mize performance The bandpass filter in the frequency dis criminator is tuned by the autotuning circuitry 12 3 2 Post Detection Filter and Equalizer The output signals of the FM discriminator first go through a post detection filter and then through an equalizer Both the post detection filter and equalizer are tuned to the proper fre quency by the autotuning circuitry The post detection filter is a low pass filter intended to suppress all remaining spurious signals such as the second harmonic 4 MHz from the FM detector and noise generated after the limiter The post detection filter also helps for attenuating the first adjacent channel signal The equalizer improves the eye opening for 101010 patterns The post detection filter is a third order Butterworth filter 12 4 AUTOTUNING CIRCUITRY The autotuning circuitry is used for tuni
32. nfirm Write Baseband frequency and Baudrate used Enter Bluetooth Mode Enter Bluetooth Mode Confirm Request SimplyBlue module to enter BT mode Set Clock and Baudrate Set Clock and Baudrate Confirm Write Baseband frequency and Baudrate used TABLE 30 GPIO Control Commands Command Even Description Set GPIO WPU Enable Disable weak pull up resistor on GPIOs Get GPIO Input State Read the status of the GPIOs Set GPIO Direction Set GPIO Direction Confirm Set the GPIOs direction Input Ouput Set GPIO Output High Set GPIOs Output to logical High Set GPIO Output Low Set GPIOs Output to logical Low 16 0 Application Notes 16 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 uF and a 100 nF bypass capacitor be placed as The different possibilities to power supply the LMX9838 de pend on the IO interface logic level Figure 8 represents an example of system functional close as possible to the power supply pins Voc and schematic for the LMX9838 using a 3 0V to 3 3V IO interface Voc 10 Figure 9 represents an example of system functional schematic for the LMX9838 using a 2 5V to 3 0V IO interface 16 2 FREQUENCY AND BAUDRATE SELECTION Figure 10 represents an example of system functional OP4 OPS can be strapped to the host logic 0 and 1 schematic for the LMX9838 using a 1 8V to 2 5V IO interface levels to set the host
33. ng the bandpass filter the detector the post detection filter the equalizer and the transmit filters for process and temperature variations The circuit also includes an offset compensation for the FM de tector 12 5 SYNTHESIZER The synthesizer consists of a phase frequency detector a charge pump a low pass loop filter a programmable fre quency divider a voltage controlled oscillator VCO a delta sigma modulator and a lookup table The frequency divider consists of a divide by 2 circuit divides the 5 GHz signal from the VCO down to 2 5 GHz a divide by 8 or 9 divider and a digital modulus control The delta sigma modulator controls the division ratio and also gener ates an input channel value to the lookup table 12 5 1 Phase Frequency Detector The phase frequency detector is a 5 state phase detector It responds only to transitions hence phase error is indepen dent of input waveform duty cycle or amplitude variations Loop lockup occurs when all the negative transitions on the inputs F REF and F_MOD coincide Both outputs i e Up and Down then remain high This is equal to the zero error mode The phase frequency detector input frequency range operates at 12 MHz 12 6 TRANSMITTER CIRCUITRY The transmitter consists of ROM tables two Digital to Analog DA converters two low pass filters IQ mixers and a power amplifier PA The ROM tables generate a digital IQ signal based on the transmit data The outpu
34. orporation 2007 National Semiconductor Corporation 300279 www national com LMX9838 4 0 Applications Telemedicine Medical Industrial and Scientific Personal Digital Assistants POS Terminals Data Logging Systems e Audio Gateway applications 5 0 Device Details 5 1 HARDWARE Baseband and Link Management processors based on Nationals CompactRISC Core Embedded ROM and Patch RAM memory Auxiliary Host Interface Ports Link Status Transceiver Status Tx or Rx e Advanced Power Management APM features Supports low power mode with optional 32 768 kHz oscillator Full Radio path integrated including antenna e On chip reference crystal for Bluetooth operation Single supply voltage 5 2 FRMWARE Additional Profile support on Host e g Dial Up Networking DUN Facsimile Profile FAX File Transfer Protocol FTP 6 0 Ordering Information Object Push Profile OPP Synchronization Profile SYNC Headset HSP Handsfree Profile HFP Basic Imaging Profile BIP Basic Printing Profile BPP On chip application including Default connections Command Interface e Link setup and configuration also Multipoint Configuration of the module Service database modifications UART Transparent mode Optimized cable replacement Automatic transparent mode e Event filter 5 3 COMPLIANCE e FCC compliance see Section 19 2 2 FCC Compliance
35. owing profiles GAP Generic Access Profile SDAP Service Discovery Application Profile SPP Serial Port Profile Figure 4 shows the Bluetooth protocol stack with command interpreter interface The command interpreter offers a num ber of different commands to support the functionality given by the different profiles Execution and interface timing is han dled by the control application The chip has an internal data area in RAM that includes the parameters shown in Table 14 Command Interpreter Control Application 30027920 FIGURE 4 LMX9838 Software Implementation 13 1 FEATURES 13 1 1 Operation Modes On boot up the application configures the module following the parameters in the data area Automatic Operation No Default Connections Stored In Automatic Operation the module is connectable and dis coverable and automatically answers to service requests The command interpreter listens to commands and links can be set up The full command list is supported If connected by another device the module sends an event back to the host where the RFComm port has been connect ed and switches to transparent mode Default Connections Stored If default connections were stored on a previous session once the LMX9838 is reset it will attempt to connect each device stored within the data RAM three times The host will be notified about the success of the link setup via a link status event Non Automatic Operat
36. pport Center Support Center Fax 49 0 180 530 85 86 Email ap support 9 nsc com Fax 81 3 5639 7507 Email Email europe support 9 nsc com Email jpn feedback 9 nsc com new feedback 9 nsc com Deutsch Tel 49 0 69 9508 6208 Tel 81 3 5639 7560 Tel 1 800 272 9959 English Tel 49 0 870 24 0 2171 Francais Tel 33 0 1 41 91 8790 www national com
37. r Link Controller LLC com plies with the Bluetooth Specification version 2 0 and imple ments the following functions Adaptive Frequency Hopping Interlaced Scanning Fast Connect e Support for 1 3 and 5 slot packet types 79 Channel hop frequency generation circuitry e Fast frequency hopping at 1600 hops per second Power management control e Access code correlation and slot timing recovery 11 1 2 Bluetooth Upper Layer Stack The integrated upper layer stack is prequalified and includes the following protocol layers L2CAP e RFComm SDP 11 1 3 Profile Support The on chip application of the LMX9838 allows full stand alone operation without any Bluetooth protocol layer neces sary outside the module It supports the Generic Access Profile GAP the Service Discovery Application Profile SDAP and the Serial Port Profile SPP www national com The on chip profiles can be used as interfaces to additional profiles executed on the host The LMX9838 includes a con figurable service database to answer requests with the pro files supported 11 1 4 Application With Command Interface The module supports automatic slave operation eliminating the need for an external control unit The implemented trans parent option enables the chip to handle incoming data raw without the need for packaging in a special format The device uses a pin to block unallowed connections This pincode can be fixed or dyna
38. rface supports formats of 8 bit data with or without parity with one or two stop bits It can operate at standard baud rates from 2400bits s up to a maximum baud rate of 921 6kbits s DMA transfers are supported to allow for fast processor independent receive and transmit operation The UART baudrate is configured during startup by checking option pins OP3 OP4 and OP5 Table 10 gives the corre spondence between the OP pins settings and the UART speed The UART offers wakeup from the power save modes via the multi input wakeup module When the LMX9838 is in low power mode RTS and CTS can function as Host WakeUp and Bluetooth WakeUp respectively Table 9 represents the operational modes supported by the firmware for implement ing the transport via the UART TABLE 9 UART Operation Modes Item Default at Power Up Baud Rate Either configured by option pins NVS Flow Control RTS CTS Stop Bis 121110 TABLE 10 UART Frequency Settings OP3 Note 21 OPS Note 23 Lr 20 Note 21 If OP3 is 1 must use 1K pull up Note 22 If OP4 is 1 must use 1K pull up Note 23 If OP5 is 1 must use 1K pull up 11 3 AUDIO PORT 11 3 1 Advanced Audio Interface The Advanced Audio Interface AAI is an advanced version of the Synchronous Serial Interface SSI that provides a full duplex communications port to a variety of industry standard 13 14 15 16 bit linear or 8 bit log PCM codecs DSPs and other serial audio devices The interface
39. rnal audio codec is required The LMX9838 includes a list of codecs which can be used www national com 12 Parameter BDADDR Local Name PinCode Operation Mode Default Connections SDP Database UART Speed UART Settings Ports to Open Link Keys Security Mode Page Scan Mode Inquiry Scan Mode Default Link Policy Default Link Timeout Event Filter Default Audio Settings TABLE 14 Operation Parameters Stored in LMX9838 Bluetooth device address Bluetooth PinCode Automatic mode ON or OFF lO Up to seven default devices to connect to 1 SPP entry Service discovery database control for supported profiles Name COM1 Description Authentication and encryption enabled Sets the speed of the physical UART interface to the host Parity and stop bits on the hardware UART interface Defines the RFComm ports to open Link keys for paired devices Security mode Connectable Connectable Not connectable for other devices Discoverable Discoverable Not Discoverable Limited Discoverable for other devices All modes allowed Configures modes allowed for incoming or outgoing connections o RR Role switch Hold mode Sniff mode 20 seconds The Default Link Timeout configures the timeout after which the link is assumed lost if no packages have been received from the Standard LMX9838 events reported Defines the level of reporting on the UART no events standard events standard including ACL link events
40. rts to Open Specify the RFComm Ports to open on startup TABLE 28 Local Hardware Commends Command Description Set Default Audio Settings Set Default Audio Settings Confirm Configure Default Settings for Audio Codec and Air Format stored in NVS Get Default Audio Settings Get stored Default Audio Settings Set Event Filter Configures the reporting level of the command interface Get Event Filter Get the status of the reporting level Read RSSI Returns an indicator for the incoming signal strength Change UART Speed Set specific UART speed needs proper ISEL pin setting Change UART Settings Change configuration for parity and stop bits Test Mode Enable Bluetooth EMI test or local loopback Restore Factory Settings Reset Dongle Ready Soft reset Firmware Upgrade i o Stops the bluetooth firmware and executes the In system programming code Set Clock Frequency Write Clock Frequency setting in the NVS Get Clock Frequency Read Clock Frequency setting from the NVS Set PCM Slave Configuration Write the PCM Slave Configuration in the NVS Write ROM Patch Store ROM Patch in the Simply Blue module Read Memory Read from the internal RAM Write Memory Write to the internal RAM www national com 18 Command Description Read NVS Read NVS Confirm Read from the NVS EEPROM Write NVS Write NVS Confirm Write to the NVS EEPROM TABLE 29 Initialization Commands Command Description Set Clock and Baudrate Set Clock and Baudrate Co
41. t of the ROM tables is inserted into IQ DA converters and filtered through two low pass filters The two signal components are mixed up to 2 5 GHz by the TX mixers and added together before being inserted into the transmit PA 12 6 1 IQ DA Converters and TX Mixers The ROM output signals drive an l and a Q DA converter Two Butterworth low pass filters filter the DA output signals The 6 MHz clock for the DA converters and the logic circuitry around the ROM tables are derived from the autotuner The TX mixers mix the balanced I and Q signals up to 2 4 2 5 GHz The output signals of the l and Q mixers are summed 12 7 32 kHz Oscillator An oscillator is provided see Figure 3 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 signals The oscillator is built in a Pierce configuration and uses two external capacitors Ta ble 13 provides the oscillator s specifications In case the 32kHz is not used it is recommended to leave 32k open and connect 32k to GND 32k 32 768kHz HA C1 C2 30027903 FIGURE 3 32 768 kHz Oscillator TABLE 13 32 768 kHz Oscillator Specifications 11 www national com 8 86XW1 LMX9838 13 0 Integrated Firmware The LMX9838 includes the full Bluetooth stack up to RF Comm to support the foll
42. te 2 1 O NC ifnotused Host Serial Port Request To Send active low CTS Note 3 15 GND fnotused 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 4 Auxiliary Ports Interface Signals Pad Name Pad Location Type Default Layout Description RESET Ee Module Reset active low connect to host XOSCEN EARS Host main Clock Request Toggles with Main crystal X1 enable disable PG6 7 VO X GPIO Defaul setup LINK STATUS indication PG7 19 VO A GPIO Default setup RF traffic LED indication 3 www national com 8 86XNW1 LMX9838 TABLE 5 Audio Interface Signals SCLK 20 wo Audi POM Interface Clock SFS 22 1 wo Audio PCM Interface Frame Synchronization STD o z o o O Audio PCM Interface Transmit Data Output SRD 200001 Audio PCM Interface Receive Data Input TABLE 6 Power Ground and No Connect Signals Pad Name Pad Location Default Layout Description MVoc 6 Module internal Voltage Regulator Input Voc CORE 09 yo te ofl Voltage Regulator Input Output Voc 10 Voltage Regulator Input Baseband GND Must be connected to ground plane GND 3 4 17 18 24 29 30 31 32 10 NC 1 5 33 34 35 NC Place Pads for stability See Section 21 0 Physical 36 37 38 39 40 Dimensions NC 41 42 43 44 45 NC DO NOT PLACE ANY PADS See Sec
43. tion 21 0 Physical 46 47 48 49 50 Dimensions 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 www national com 4 9 0 Application Diagrams The following diagrams show two application examples for LMX9838 implementations Figure 1 illustrates a cable replacement application requiring the physical UART interface to a data device like a sensor The LMX9838 just waits for an incoming link and forwards data between the data device and the bluetooth link PG6 acts as active link indicator and is used to enable the data transfer from the sensor A 32 768khz crystal may be is used to reduce power consumption while waiting for the incoming link OP3 LMX9838 OP4 5 RESET 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 Please refer to Section 16 0 Application Notes for more de tailed descriptions for LMX9838 designs Data device with Sensor 32 768 KHZ OPTIONAL LMX9838 Audio Codec 30027901 Host Controller 30027916 FIGURE 2 Example For Host Controller Based Application With Audio Support www national com 8 86XW1 LMX9838 10 0 General Specifications Abso
44. ule that is not a direct confirm to a request Indicating status changes incoming links or unrequested events An optional response to an indication This is used to respond to some type of indication message Setup and handle links Table 18through Table 28 show the actual command set and the events coming back from the device A full documented description of the commands can be found in the LMX9838 Software User s Guide Note For standard Bluetooth operation only commands from Table 18 through Table 20 will be used Most of the remaining commands are for configuration purposes only TABLE 18 Device Discovery Inquiry Complete Description Search for devices Lists BDADDR and class of device Remote Device Name Confirm Get name of remote device TABLE 19 SDAP Client Commands Evnt O SDAP Connect Confirm Create an SDP connection to remote device Disconnect an active SDAP link Notification for lost SDAP link Get the services of the remote device SDAP Service Search Confirm Search a specific service on a remote device SDAP Attribute Request Confirm Searches for services with specific attributes TABLE 20 SPP Link Establishment Initiates link establishment to a remote device Link successfully established A remote device established a link to the local device Confirms the Supervision Timeout for the existing Link Get the Supervision Timeout for the existing Link Initiate release of SPP link Send data to sp
45. wer up In order to disable the transport layer the command Disable Transport Layer is used Thus only the Host side command interface 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 15 Power Mode Activity Power UART Radio Mode Activity Activity Main Clock Scanning Main Clock 32 768 kHz Reference Clock Main Clock Scanning SPP Link Main Clock SPP Link Main Clock Bluetooth Radio Activity Active Link s Disable TL Disable TL TL Enabled Link Established All Links released All Links released 30027921 FIGURE 5 Transition between different Hardware Power Modes 14 2 ENABLING AND DISABLING UART TRANSPORT 14 2 1 Hardware Wakeup Functionality In certain usage scenarios the host is able to switch off the transport layer of the LMX9838 in order to reduce power con sumption Afterwards both devices host and LMX9838 are able to shut down their UART interfaces In order to save system connections the UART interface is reconfigured to hardware wakeup functionality For a detailed timing and command functionality please see also the LMX9838 Software User s Guide The interface between host and LMX9838 is
Download Pdf Manuals
Related Search
Related Contents
conception et validation d`un ergomètre, incluant un fauteuil Boss Audio Systems Universal Headrest Ardes AR5C35B fan PonenciaDirectivaMaquinas.Trallero.02.06.09 www.hbtorletti.com.ar EPX300 user manual 313916B - Supply Units, Repair, French Engine Builder Magazine Severin WK 3648 Copyright © All rights reserved.
Failed to retrieve file