Changes between Version 16 and Version 17 of expansion/gw16130


Ignore:
Timestamp:
04/29/2019 07:49:18 PM (5 years ago)
Author:
Ryan Erbstoesser
Comment:

update example and clarify CBUS

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16130

    v16 v17  
    5353An FTDI FT231XQ USB to UART Chip is used to communicate with the Iridium Satcom modem via its serial UART.
    5454
     55
    5556The FTDI GPIO pins control the modem:
    5657 * CBUS0: SAT_ON (input to modem; 10k pull-down)
     
    5960 * CBUS3: not connected
    6061
    61 Configure GPIO:
     62'''Important''' Run the following to configure GPIO & enable the modem (only works with 4.20 kernel or newer. Note that Newport is on 4.14) :
    6263{{{
    6364base=$(for i in $(ls -1d /sys/class/gpio/gpiochip*); do [ "ftdi-cbus" = "$(cat $i/label)" ] && cat $i/base; done)
     
    7677
    7778In a Linux system the UART mapping is dynamic. See the following for examples on determining the correct port mapping. Note these commands only work if there is a single FTDI device in the system.
     79
     80If there is only a single FTDI device in the system, it typically will enumerate as /dev/ttyUSB0
    7881
    7982AT Commands via picocom: (only works if there is one ftdi device being used in the system)
     
    99102 * Send message on Modem (to destination configured in modem admin where modem is registered)
    100103{{{
    101 AT&K0
    102 AT+SBDWT=Hello World
    103 AT+SBDIX
     104AT&K0 # Prepare
     105AT+SBDWT=Hello World #enter message as string
     106AT+SBDIX # Send message
     107+SBDIX: 0, 4, 0, 0, 0, 0 #Response saying it was successful
    104108}}}
     109  * To read more about the SBDIX response, read through one of the [https://www.google.com/search?q=iridium+9603+at+commands AT Command Documents]
     110Troubleshooting:
     111 * If no AT commands are working, verify the modem is enabled using the FTDI CBUS GPIOs.
     112
    105113
    106114== Mechanicals ==