
module bluetooth LM400 interfacing with LPC2129
i don't found in net an example of interface this module with any microcontroller.
please can you help and you give me an example of interfacing between LM400 and LPC2129 or LM400 and any microcontroller.
thank you
> i have a problem to interface module bluetooth LM400 of LM-technologies with LPC2129.
>
> i don't found in net an example of interface this module with any microcontroller.
>
> please can you help and you give me an example of interfacing between LM400 and LPC2129 or LM400 and any microcontroller.
>
> thank you
Hello unknown (you did not write your name),
The datasheet from www.lm-technologies.com states you can
use UART, SPI or USB for example. If you want to use UART
connect the lpc2129 to pins 26, 27, 28 and 30 of the lm400.
Then read the AT command reference manual found on their
website on how operate the module, this is assuming you
already have UART communications fully functional between
the lpc2129 and minicom.
Commands you might want to use are (not limited to) :
AT+FIND
AT+PIN
AT+CONN
AT+ACON
AT+AUTO
roelof
> connect the lpc2129 to pins 26, 27, 28 and 30 of the lm400.
> Then read the AT command reference manual found on their
> website on how operate the module, this is assuming you
> already have UART communications fully functional between
> the lpc2129 and minicom.
thank you for your helpfulness,
this is the datasheet of LPC2129 :
http://www.nxp.com/acrobat_download2/expired_datasheets/LPC2119_2129_4.pdf
yes i want to connect them with UART
i have J1 Pins to interface them with LPC2129
can you please help me for more information to interface
J1 Pins of LM400 with LPC2129 ?
J1 LM400 PIN ==> LPC2129 PIN
Pin 1 GND
Pin 2 TXD ==> Pin 33 TXD1
Pin 3 RXD ==> Pin 34 RXD1
Pin 4 RTS ==> (it's necessary ?) Pin 35 RTS1
Pin 5 CTS ==> (it's necessary ?) Pin 37 CTS1
Pin 6 VDD
Pin 7 Pairing ==> (it's necessary ?) Pin ?
Pin 8 Status ==> (it's necessary ?) Pin ?
Pin 9 DSR ==> (it's necessary ?) Pin ?
Pin10 DTR ==> (it's necessary ?) Pin ?
Pin11 RST ==> (it's necessary ?) Pin ?
Pin12 GND
> i have 11 Pins to interface them with LPC2129
>
> can you please help me for more information to interface
> 11 Pins of LM400 with LPC2129 ?
>
> 11 LM400 PIN ==> LPC2129 PIN
>
> Pin 1 GND
Power supply 0V
> Pin 2 TXD ==> Pin 33 TXD1
> Pin 3 RXD ==> Pin 34 RXD1
connect those.
> Pin 4 RTS ==> (it's necessary ?) Pin 35 RTS1
> Pin 5 CTS ==> (it's necessary ?) Pin 37 CTS1
I would connect the rts and cts to the lpc2129.
UART1 has all the signals you want/need :-)
> Pin 6 VDD
Power supply +3V3, use 100nF capacitor and maybe
a choke.
The schematic of the lm400 shows 100nF + 10uF caps
and no population for the choke.
> Pin 7 Pairing ==> (it's necessary ?) Pin ?
According to the datasheet, you did read that did you ?,
pin7 pairing (pio5) has changed to a LED output.
> Pin 8 Status ==> (it's necessary ?) Pin ?
According to the datasheet pin8 connects to pio6 which
has no function.
> Pin 9 DSR ==> (it's necessary ?) Pin ?
> Pin10 DTR ==> (it's necessary ?) Pin ?
According to the datasheet these pins have no function.
> Pin11 RST ==> (it's necessary ?) Pin ?
Connect to an io pin on lpc2129.
Maybe a pullup resistor should be used.
> Pin12 GND
Power supply 0V
If in doubt, contact the manufacturer, they should be
able to answer your questions in more detail.
roelof
>
> On Thu, 2010-11-18 at 11:05 +0000, zied130187 wrote:
>
> > i have 11 Pins to interface them with LPC2129
> >
> > can you please help me for more information to interface
> > 11 Pins of LM400 with LPC2129 ?
> >
> > 11 LM400 PIN ==> LPC2129 PIN
> >
> > Pin 1 GND
>
> Power supply 0V
> > Pin 2 TXD ==> Pin 33 TXD1
> > Pin 3 RXD ==> Pin 34 RXD1
>
> connect those.
> > Pin 4 RTS ==> (it's necessary ?) Pin 35 RTS1
> > Pin 5 CTS ==> (it's necessary ?) Pin 37 CTS1
>
> I would connect the rts and cts to the lpc2129.
> UART1 has all the signals you want/need :-)
> > Pin 6 VDD
>
> Power supply +3V3, use 100nF capacitor and maybe
> a choke.
> The schematic of the lm400 shows 100nF + 10uF caps
> and no population for the choke.
> > Pin 7 Pairing ==> (it's necessary ?) Pin ?
>
> According to the datasheet, you did read that did you ?,
> pin7 pairing (pio5) has changed to a LED output.
> > Pin 8 Status ==> (it's necessary ?) Pin ?
>
> According to the datasheet pin8 connects to pio6 which
> has no function.
> > Pin 9 DSR ==> (it's necessary ?) Pin ?
> > Pin10 DTR ==> (it's necessary ?) Pin ?
>
> According to the datasheet these pins have no function.
> > Pin11 RST ==> (it's necessary ?) Pin ?
>
> Connect to an io pin on lpc2129.
> Maybe a pullup resistor should be used.
> > Pin12 GND
>
> Power supply 0V
> If in doubt, contact the manufacturer, they should be
> able to answer your questions in more detail.
>
> roelof
>
thank you roelof
and i give you the solution that TM-technologies send to me :
Please find below the inter-connections between the LM400 module and your microcontroller.
LM400 Interfacing processor Remarks
TXD (Pin2) RXD
RXD (Pin3) TXD
GND(Pin12) GND Ground
RTS (Pin4) <--> CTS(Pin5) -- No Flow Control (3 wire operation)
RTS (Pin4) CTS Flow Control Enabled
CTS (Pin5) RTS
Vdd (Pin6) Vdd +3.3 V supply
Note: If you don't use RTS/CTS flow control in your microcontroller, then you need to loopback the RTS/CTS lines of LM400 module.
