BBGW+RN52 Integration Stuff

RS232 signal

 
D-Sub 1


 
RS-232 cable wire  color* D-Sub 2 RS232 signal
Receive Data (RxD) 2 brown 3 Transmit Data
Transmit Data (TxD) 3 red 2 Receive Data
Data Terminal Ready (DTR) 4 orange 6+1 Data Set Ready + Carrier Detect
System Ground (Ground) 5 yellow 5 System Ground
Data Set Ready + Carrier Detect (DSR+CD) 6+1 green+black 4 Data Terminal Ready
Request to Send (RTS) 7 blue 8 Clear to Send
Clear to Send (CTS) 8 purple 7 Request to Send
Ring Indicator (RI) 9 white n/c  


Signals

(needs work...)

BeagleBone Signal

 
BB Pin


 
Color
RN Pin
RN-52 Signal
Receive Data (RxD) 2 brown 3 Transmit Data
Transmit Data (TxD) 3 red 2 Receive Data
Data Terminal Ready (DTR) 4 orange 6+1 Data Set Ready + Carrier Detect
System Ground (Ground) 5 yellow 5 System Ground
Data Set Ready + Carrier Detect (DSR+CD) 6+1 green+black 4 Data Terminal Ready
Request to Send (RTS) 7 blue 8 Clear to Send
Clear to Send (CTS) 8 purple 7 Request to Send
Ring Indicator (RI) 9 white n/c  

RN52 Stuff

  • gpio:
    •   gpio 7 low configures for 9600b instead of 115200b...
    •   gpio 9 low configures cmd mode rather than data mode
  • audio
    •   can drive 16 ohm speakers/headsets...
    •   also has mic in...
    •   TODO: buy audio jack for headset
  • digital data:
    •   pcm via i2s...
    •   TODO: study i2s ...
  • wiring
    •   solder straight male headers to export pins !!!
  • positioning
    •   position antenna away from the board!
  • power:
    •   test bb's 3.3v quality and capacity
    •   bring 3.3v to both pwr_en and 3.3v pins
  • cmd vs data mode:
    •   default is data mode
    •   pull gpio 9 low for cmd mode
  • first time:
    •   leave in data mode (gpio 9 NOT shorted to ground)
    •   connect 3.3v line and pwr_en line
    •   open terminal window @ 115200b
    •   enter cmd mode by shorting gpio 9 to ground
    •   result should be "CMD" on terminal
      •     use terminal settings to just CR not CRLF
      •     "D": dump settings

Comments